Function at 0x100c1c20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov edx, dword [ebp + 8]
fld qword [0x10188a78]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x80], eax
mov dword [esp + 0x28], ecx
xor ecx, ecx
push ebx
push esi
mov esi, dword [edx + 8]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x28], eax
lea eax, [edx + 0x38]
mov dword [esp + 0x84], eax
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
fstp qword [edx + 0x50]
mov dword [esp + 0x98], 0xffffffff
mov al, byte [esi + 0x20]
not al
movzx ecx, al
mov eax, dword [esi + 0x44]
and ecx, 8
shl ecx, 4
or ecx, 3
test eax, eax
push edi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], ecx
mov ebx, 1
je 0x100c1cce
mov esi, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x90], 0xffffcfff
mov dword [esp + 0x7c], ecx
jmp 0x100c1d59
xor eax, eax
mov ecx, 0xc
lea edi, [esp + 0xb0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb8], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ebx
test byte [esi + 0x24], 1
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xdc], 5
jne 0x100c1d37
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 8]
mov dword [esp + 0xc4], ecx
lea esi, [esp + 0xb0]
mov dword [esp + 0x90], 0xfff0ffff
mov dword [esp + 0x7c], 3
mov dword [esp + 0x1c], 0
mov eax, dword [edx + 0x20]
test eax, eax
mov dword [esp + 0x64], esi
je 0x100c1d68
mov ecx, dword [eax]
jmp 0x100c1d6a
xor ecx, ecx
mov eax, dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x80], ecx
je 0x100c1d98
mov edx, dword [edx + 0x34]
imul eax, eax, 0x58
movzx eax, word [eax + edx - 0x52]
cmp eax, ecx
mov dword [esp + 0x84], eax
setl byte [esp + 0x13]
mov byte [esp + 0x12], 0
jmp 0x100c1db4
mov eax, dword [edx + 0x24]
test ecx, ecx
setg byte [esp + 0x13]
test eax, eax
mov dword [esp + 0x84], 0
setne byte [esp + 0x12]
test esi, esi
je 0x100c264d
lea esp, [esp]
mov cl, byte [esp + 0x13]
fld qword [0x10187460]
mov ebx, dword [esp + 0x64]
fstp qword [esp + 0x70]
mov eax, dword [ebx + 8]
mov dl, byte [esp + 0x12]
xor esi, esi
mov byte [esp + 0x22], cl
mov cx, word [esp + 0x84]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x6c], eax
xor eax, eax
mov word [esp + 0x3e], cx
mov ecx, dword [ebx + 0x24]
xor di, di
cmp ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
mov byte [esp + 0x1b], dl
mov byte [esp + 0x23], al
mov dword [esp + 0x5c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov word [esp + 0x3c], di
jle 0x100c1f04
mov edx, dword [ebx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
push edx
mov edx, dword [esp + 0x38]
push ecx
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
call fcn.100c13b0
add esp, 0x1c
test eax, eax
je 0x100c1f04
or dword [esp + 0x38], 0x11000
mov cx, word [eax + 0x10]
test cl, 1
je 0x100c1ecf
mov edx, dword [esp + 0x38]
mov ecx, dword [eax]
or edx, 0x40000
test byte [ecx + 3], 8
mov dword [esp + 0x38], edx
je 0x100c1eb7
mov ecx, dword [esp + 0x24]
imul ecx, ecx, 0x19
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], 1
jmp 0x100c1edb
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x100c1edb
mov ecx, dword [ecx]
test ecx, ecx
je 0x100c1edb
imul ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
jmp 0x100c1edb
test cl, cl
jns 0x100c1edb
or dword [esp + 0x38], 0x80000
mov edx, dword [eax + 0x18]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x1c]
or ecx, edx
or esi, eax
inc di
movzx eax, di
mov dword [esp + 0x58], ecx
cmp eax, dword [ebx + 0x24]
mov dword [esp + 0x5c], esi
mov word [esp + 0x3c], di
jl 0x100c1e45
mov ecx, dword [ebx + 0x24]
movzx eax, di
cmp eax, ecx
mov dword [esp + 0x30], eax
jne 0x100c1f60
mov dl, byte [ebx + 0x2c]
test dl, dl
je 0x100c1f60
mov eax, dword [esp + 0x38]
test eax, 0xc0000
jne 0x100c2088
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [ecx + 0x2c]
or esi, 0x2000000
test eax, eax
mov dword [esp + 0x38], esi
je 0x100c1f52
mov ecx, dword [ecx + 0x34]
imul eax, eax, 0x58
test dword [eax + ecx - 0x58], 0x4000000
je 0x100c2088
mov eax, dword [esp + 0x38]
or eax, 0x4000000
jmp 0x100c2084
mov dl, byte [ebx + 0x2e]
test dl, dl
jne 0x100c2088
cmp eax, ecx
jne 0x100c1f74
or edi, 0xffffffff
jmp 0x100c1f7a
mov edx, dword [ebx + 4]
mov edi, dword [edx + eax*4]
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x30]
push 0x3c
push ecx
mov ecx, dword [esp + 0x40]
push edx
push edi
push eax
push ecx
call fcn.100c13b0
add esp, 0x1c
test eax, eax
je 0x100c2088
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x30]
push 0x18
push ecx
mov ecx, dword [esp + 0x40]
push edx
push edi
push eax
push ecx
call fcn.100c13b0
mov edx, dword [esp + 0x38]
push edx
mov ebx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x4c]
push 0x24
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push edi
push eax
push ecx
call fcn.100c13b0
fld qword [0x10187460]
add esp, 0x38
fstp qword [esp + 0x70]
test eax, eax
je 0x100c2008
fld qword [0x101875c8]
fstp qword [esp + 0x70]
test ebx, ebx
je 0x100c2046
mov ecx, dword [esp + 0x38]
fld qword [esp + 0x70]
mov edi, dword [esp + 0x58]
fmul qword [0x101875c8]
mov edx, dword [ebx + 0x18]
or ecx, 0x100000
mov dword [esp + 0x38], ecx
fstp qword [esp + 0x70]
mov ecx, dword [ebx + 0x1c]
or edi, edx
or esi, ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
test eax, eax
je 0x100c2077
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov edx, dword [eax + 0x18]
mov edi, dword [esp + 0x58]
mov eax, dword [eax + 0x1c]
inc ecx
or ebx, 0x200000
or edi, edx
or esi, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x64]
or eax, 0x22000
mov dword [esp + 0x38], eax
mov al, byte [esp + 0x13]
test al, al
je 0x100c210f
mov ecx, dword [esp + 0x94]
test byte [ecx + 0x20], 8
jne 0x100c210f
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x68]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x78], 2
call fcn.100c18a0
mov ecx, dword [esp + 0x94]
mov word [esp + 0x4e], ax
movzx eax, ax
add esp, 0x10
cmp ecx, eax
jl 0x100c20dd
test dword [esp + 0x38], 0x4000000
je 0x100c20e5
or dword [esp + 0x38], 0x800000
cmp dword [esp + 0x80], eax
jne 0x100c2100
mov eax, dword [esp + 0x38]
or eax, 0x22000
mov byte [esp + 0x22], 0
mov dword [esp + 0x38], eax
test byte [esp + 0x68], 1
je 0x100c210f
or dword [esp + 0x38], 0x1000000
mov al, byte [esp + 0x12]
test al, al
je 0x100c215b
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x94]
push edx
push ebx
push eax
push ecx
call fcn.100c15d0
add esp, 0x18
test eax, eax
je 0x100c215b
mov eax, dword [esp + 0x38]
test eax, 0x40000
jne 0x100c215b
or eax, 0x40022000
mov byte [esp + 0x1b], 0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100c21be
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + 0x38]
mov ebx, dword [eax + 0x3c]
mov eax, dword [ecx + 0x24]
test eax, eax
jle 0x100c21ab
mov esi, dword [ecx + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esi]
cmp ecx, 0x3f
jge 0x100c219d
mov eax, 1
xor edx, edx
call fcn.10104990
not eax
not edx
and edi, eax
and ebx, edx
mov eax, dword [esp + 0x68]
add esi, 4
dec eax
mov dword [esp + 0x68], eax
jne 0x100c2182
or edi, ebx
jne 0x100c21b9
or dword [esp + 0x38], 0x400000
jmp 0x100c21be
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x30]
mov ecx, dword [edx + eax*4]
mov edx, ecx
imul edx, dword [esp + 0x24]
test edx, edx
mov dword [esp + 0x68], edx
fild dword [esp + 0x68]
jge 0x100c21e2
fadd qword [0x10187688]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100c2242
mov eax, dword [esp + 0x6c]
fld st(0)
mov edx, dword [eax]
fadd st(1)
test edx, edx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
jge 0x100c2206
fadd qword [0x10187688]
fcompp
fnstsw ax
test ah, 5
jp 0x100c2242
shr edx, 1
fstp st(0)
test edx, edx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
jge 0x100c2225
fadd qword [0x10187688]
test ecx, ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
jge 0x100c2237
fadd qword [0x10187688]
fdivr st(1)
call fcn.10103af4
mov dword [esp + 0x24], eax
fdiv qword [esp + 0x70]
fcom qword [0x10187460]
fst qword [esp + 0x40]
fnstsw ax
test ah, 5
jp 0x100c2263
fstp st(0)
fld qword [0x10187460]
fst qword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov edx, ecx
and edx, 0xfe7fffff
cmp edx, 0x400000
jne 0x100c22d0
mov eax, dword [esp + 0x34]
test byte [eax + 0x16], 4
jne 0x100c22d0
mov eax, dword [0x101b76a0]
test eax, eax
je 0x100c22d0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
test byte [eax + 0x34], 0x40
jne 0x100c22d0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov edx, dword [esp + 0x64]
mov esi, dword [edx + 0x24]
lea eax, [eax + eax*2]
add eax, esi
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x100c22bd
fadd qword [0x10187688]
or ecx, 0x80020000
fstp qword [esp + 0x50]
mov dword [esp + 0x38], ecx
jmp 0x100c2394
test ecx, 0x100f3000
jne 0x100c2326
mov eax, dword [esp + 0x6c]
mov edx, dword [eax]
shl edx, 2
test edx, edx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
jge 0x100c22f3
fadd qword [0x10187688]
mov eax, dword [esp + 0x1c]
fstp qword [esp + 0x50]
and ecx, 0xffbfffff
test eax, eax
mov dword [esp + 0x38], ecx
je 0x100c2394
mov ax, word [esp + 0x84]
and ecx, 0xff7fffff
mov dword [esp + 0x38], ecx
mov word [esp + 0x3e], ax
jmp 0x100c2394
mov ecx, dword [esp + 0x6c]
fld qword [0x10187460]
mov edx, dword [ecx]
fld qword [0x10187458]
test edx, edx
fild dword [ecx]
jge 0x100c2344
fadd qword [0x10187688]
fst qword [esp + 0x70]
fcomp qword [0x10187458]
fnstsw ax
test ah, 0x41
jne 0x100c2372
fxch st(1)
fadd qword [0x10187460]
fxch st(1)
fmul qword [0x10187458]
fld qword [esp + 0x70]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x100c2355
mov eax, dword [esp + 0x1c]
fstp st(0)
test eax, eax
fild dword [esp + 0x24]
je 0x100c238a
mov al, byte [esp + 0x23]
test al, al
je 0x100c238a
fadd st(2)
fmul st(1)
fadd st(2)
fstp qword [esp + 0x50]
fstp st(0)
mov al, byte [esp + 0x22]
test al, al
je 0x100c241d
mov cx, word [esp + 0x3e]
fld qword [0x10187460]
mov edx, dword [esp + 0x80]
fld qword [0x10187458]
movzx eax, cx
sub edx, eax
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul st(3)
fidiv dword [esp + 0x80]
fst qword [esp + 0x70]
fcomp qword [0x10187458]
fnstsw ax
test ah, 0x41
jne 0x100c23fd
nop
fxch st(1)
fadd qword [0x10187460]
fxch st(1)
fmul qword [0x10187458]
fld qword [esp + 0x70]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x100c23e0
neg cx
fstp st(0)
sbb ecx, ecx
add ecx, 3
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul st(1)
fmul st(2)
fadd qword [esp + 0x50]
fstp qword [esp + 0x50]
fstp st(0)
mov al, byte [esp + 0x1b]
test al, al
je 0x100c246d
fld qword [0x10187460]
fld qword [0x10187458]
fld st(2)
fcomp qword [0x10187458]
fnstsw ax
test ah, 0x41
jne 0x100c245b
fxch st(1)
fadd qword [0x10187460]
fxch st(1)
fmul qword [0x10187458]
fld st(2)
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x100c2440
fstp st(0)
fmul st(1)
fmul qword [0x10188a70]
fadd qword [esp + 0x50]
fstp qword [esp + 0x50]
fcom qword [0x10188a68]
fnstsw ax
test ah, 0x41
jne 0x100c25a2
mov eax, dword [ebp + 8]
fld qword [esp + 0x50]
fcomp qword [eax + 0x50]
fnstsw ax
test ah, 0x41
jp 0x100c25a2
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], edx
mov edx, dword [edi + 4]
mov eax, dword [edx]
mov dword [esp + 0x30], ecx
xor ecx, ecx
test eax, eax
jle 0x100c24cc
mov esi, dword [esp + 0x2c]
add edx, 4
lea esp, [esp]
cmp dword [edx], esi
je 0x100c2524
inc ecx
add edx, 4
cmp ecx, eax
jl 0x100c24c0
xor ebx, ebx
mov dword [esp + 0xa4], ebx
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
mov edi, dword [ebp + 8]
add esi, 0x10
test edx, edx
je 0x100c2585
test byte [esi + 2], 2
jne 0x100c2570
mov ecx, dword [esi + 0x10]
mov eax, dword [edi + 0x18]
and eax, ecx
mov ecx, dword [edi + 0x1c]
and ecx, dword [esi + 0x14]
cmp eax, ebx
jne 0x100c2570
cmp ecx, dword [esp + 0xa4]
jne 0x100c2570
mov ax, word [esi]
test al, 0x83
je 0x100c2549
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100c2541
dec eax
mov dword [esp + 0x30], eax
jmp 0x100c2570
mov eax, 1
fstp st(0)
xor edx, edx
call fcn.10104990
fld qword [esp + 0x40]
mov ebx, eax
mov dword [esp + 0xa4], edx
jmp 0x100c24d5
fmul qword [0x101876e8]
jmp 0x100c2570
test al, 0x3c
je 0x100c2564
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100c255c
dec eax
mov dword [esp + 0x28], eax
jmp 0x100c2570
fmul qword [str.UUUUUU]
jmp 0x100c2570
cmp ax, 0x800
je 0x100c2570
fmul qword [0x10187670]
fcom qword [0x10188a68]
dec edx
add esi, 0x28
fnstsw ax
test ah, 0x41
je 0x100c24e1
fcom qword [0x10188a68]
fst qword [esp + 0x40]
fnstsw ax
test ah, 5
jp 0x100c25a2
fstp st(0)
fld qword [0x10188a68]
fst qword [esp + 0x40]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x100c25b2
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100c2610
fld qword [esp + 0x50]
mov edx, dword [esp + 0x88]
fcomp qword [edx + 0x18]
fnstsw ax
test ah, 5
jnp 0x100c25ec
fld qword [esp + 0x50]
fcomp qword [edx + 0x18]
fnstsw ax
test ah, 0x41
je 0x100c2610
mov ax, word [esp + 0x3e]
cmp ax, word [edx + 6]
ja 0x100c25ec
fcomp qword [edx + 8]
fnstsw ax
test ah, 5
jp 0x100c2612
jmp 0x100c25ee
fstp st(0)
mov edi, edx
mov ecx, 0xa
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx]
mov ecx, dword [esp + 0x90]
and eax, ecx
mov dword [edx], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], ebx
jmp 0x100c2612
fstp st(0)
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x100c264d
mov edx, dword [esp + 0x64]
mov eax, dword [edx + 0x14]
test eax, eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x90], 0xffffcfff
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x1c], eax
jne 0x100c1dc0
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x100c2678
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
test dword [ecx + 0x18], 0x10000
je 0x100c2678
mov esi, dword [esp + 0x88]
or dword [esi], 0x1000000
jmp 0x100c267f
mov esi, dword [esp + 0x88]
push edi
call fcn.100c7650
add esp, 4
call fcn.100a5660
mov eax, dword [esi]
mov edx, dword [esp + 0x7c]
or eax, edx
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret