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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdf4
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x100d88ba
mov ecx, dword [ebx + 4]
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
push esi
mov edx, dword [ecx]
push eax
call dword [edx + 0xc8]
test eax, eax
jne 0x100d93a0
jmp 0x100d88bd
mov esi, dword [ebp + 8]
lea ecx, [esp + 0xc0]
lea edx, [esp + 0xc8]
push ecx
lea eax, [esp + 0xbc]
push edx
lea ecx, [esp + 0xb8]
push eax
push ecx
mov ecx, dword [ebx + 0x18]
call fcn.100bdd00
mov edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc4]
fld qword [esi + 0xd0]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
fsub qword [esp + 0x98]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov edi, 1
mov dword [esp + 0x7c], edi
fstp qword [esp + 0x38]
fld qword [esi + 0xd8]
fsub qword [esp + 0x88]
fstp qword [esp + 0x30]
fld qword [esp + 0x38]
fabs
fcomp qword [0x101930e8]
fnstsw ax
test ah, 1
jne 0x100d895f
mov dword [esp + 0x7c], 0
fld qword [esp + 0x30]
fabs
fcomp qword [0x101930e8]
fnstsw ax
test ah, 1
je 0x100d8978
mov dword [esp + 0x64], edi
jmp 0x100d8984
mov dword [esp + 0x64], 0
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x100d89b5
test edi, edi
je 0x100d89b5
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x100d8b09
fld qword [esp + 0x30]
fmul qword [esp + 0x30]
fld qword [esp + 0x38]
fmul qword [esp + 0x38]
faddp st(1)
fdivr qword [0x10191600]
fld qword [esp + 0xb0]
fsub qword [esp + 0x98]
fmul qword [esp + 0x38]
fld qword [esp + 0xb8]
fsub qword [esp + 0x88]
fmul qword [esp + 0x30]
fst qword [esp + 0x68]
fadd st(1)
fmul st(2)
fstp qword [esp + 0x20]
fld qword [esp + 0xc0]
fsub qword [esp + 0x88]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fmul qword [esp + 0x30]
fst qword [esp + 0x70]
faddp st(1)
fmul st(1)
fcom qword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x100d8a38
fstp qword [esp + 0x10]
jmp 0x100d8a4b
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x100d8a49
fstp qword [esp + 0x20]
jmp 0x100d8a4b
fstp st(0)
fld qword [esp + 0xc8]
fsub qword [esp + 0x98]
fmul qword [esp + 0x38]
fld st(0)
fadd qword [esp + 0x68]
fmul st(2)
fcom qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x100d8a76
fstp qword [esp + 0x10]
jmp 0x100d8a89
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x100d8a87
fstp qword [esp + 0x20]
jmp 0x100d8a89
fstp st(0)
fadd qword [esp + 0x70]
fmulp st(1)
fcom qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x100d8aa0
fstp qword [esp + 0x10]
jmp 0x100d8ab3
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x100d8ab1
fstp qword [esp + 0x20]
jmp 0x100d8ab3
fstp st(0)
fld qword [esp + 0x10]
fcomp qword [0x10191610]
fnstsw ax
test ah, 1
je 0x100d8ade
mov eax, dword [esi + 0x174]
test eax, eax
jne 0x100d8ade
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
fld qword [esp + 0x20]
fcomp qword [0x10191600]
fnstsw ax
test ah, 0x41
jne 0x100d8b09
mov eax, dword [esi + 0x178]
test eax, eax
jne 0x100d8b09
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x3ff00000
mov ecx, dword [esi + 0xe8]
mov edx, dword [esi + 0xe0]
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x80], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0xec]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
mov dword [esp + 0x84], edx
call dword [eax + 0x18]
fld qword [esp + 0x20]
fadd qword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
fmul qword [0x101930a0]
mov dword [esp + 0x9f4], eax
mov dword [esp + 0x1f4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1f8], edx
mov dword [esp + 0x9fc], 0x80
mov dword [esp + 0xbfc], 0x100
fstp qword [esp + 0x5f4]
fld qword [esp + 0x10]
fcomp qword [0x10191610]
mov dword [esp + 0x9f8], ecx
fnstsw ax
test ah, 1
je 0x100d8bbd
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jmp 0x100d8bfd
fld qword [esp + 0x10]
fcomp qword [0x10191600]
fnstsw ax
test ah, 0x41
jne 0x100d8be6
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
jmp 0x100d8bfd
fld qword [esp + 0x80]
fsub qword [esp + 0x58]
fmul qword [esp + 0x10]
fadd qword [esp + 0x58]
fstp qword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xf4]
push eax
push ecx
push edx
mov ecx, esi
call fcn.100b8c20
fld qword [esp + 0x10]
fmul qword [esp + 0x38]
mov eax, dword [esp + 0x7c]
test eax, eax
fadd qword [esp + 0x98]
fld qword [esp + 0x10]
fmul qword [esp + 0x30]
fadd qword [esp + 0x88]
fstp qword [esp + 0x28]
je 0x100d8ca5
test edi, edi
je 0x100d8c5f
fld qword [0x10191610]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x100d8dd0
fld qword [esp + 0xb0]
fsub st(1)
fdiv qword [esp + 0x30]
fchs
fld qword [esp + 0xc8]
fsub st(2)
fdiv qword [esp + 0x30]
fchs
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x100d8dd0
fstp qword [esp + 0x18]
fld qword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
jmp 0x100d8dc8
fld qword [esp + 0xb8]
fsub qword [esp + 0x28]
test edi, edi
fdiv qword [esp + 0x38]
je 0x100d8cf7
fld qword [esp + 0xc0]
fsub qword [esp + 0x28]
fdiv qword [esp + 0x38]
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x100d8dd0
fstp qword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
fld qword [esp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jmp 0x100d8dd0
fstp qword [esp + 0xd4]
fld qword [esp + 0xc0]
fsub qword [esp + 0x28]
xor edx, edx
fdiv qword [esp + 0x38]
fstp qword [esp + 0xdc]
fld qword [esp + 0xb0]
fsub st(1)
fdiv qword [esp + 0x30]
fchs
fstp qword [esp + 0xe4]
fld qword [esp + 0xc8]
fsub st(1)
fdiv qword [esp + 0x30]
fchs
fstp qword [esp + 0xec]
lea esi, [edx + 1]
mov dword [esp + 0x48], edx
cmp esi, 4
mov dword [esp + 0x18], esi
mov ecx, esi
jge 0x100d8d87
lea edi, [edx*8]
lea esi, [ecx*8]
fld qword [esp + esi + 0xd4]
fcomp qword [esp + edi + 0xd4]
fnstsw ax
test ah, 1
je 0x100d8d7d
mov dword [esp + 0x48], ecx
mov edi, esi
inc ecx
cmp ecx, 4
jl 0x100d8d5b
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
lea eax, [esp + edx*8 + 0xd4]
mov edx, dword [esp + ecx*8 + 0xd4]
lea ecx, [esp + ecx*8 + 0xd4]
fld qword [eax]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, esi
fstp qword [ecx]
cmp edx, 3
jl 0x100d8d42
fld qword [esp + 0xdc]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fld st(0)
fmul qword [esp + 0x30]
xor esi, esi
fsubr st(2)
fstp qword [esp + 0xa8]
fmul qword [esp + 0x38]
fadd qword [esp + 0x28]
fstp qword [esp + 0xa0]
fld qword [esp + 0x10]
fmul qword [esp + 0x30]
fsubr st(1)
fstp qword [esp + 0x70]
fstp st(0)
fld qword [esp + 0x10]
fmul qword [esp + 0x38]
fadd qword [esp + 0x28]
fstp qword [esp + 0x68]
mov edi, dword [esp + esi*4 + 0x9fc]
lea eax, [esp + esi*4 + 0x9fc]
mov dword [esp + 0x20], eax
lea eax, [esi + 1]
cmp edi, eax
jle 0x100d8f25
fld qword [esp + edi*8 + 0x1f4]
fcomp qword [0x10191610]
fnstsw ax
test ah, 1
je 0x100d8e53
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jmp 0x100d8e99
fld qword [esp + edi*8 + 0x1f4]
fcomp qword [0x10191600]
fnstsw ax
test ah, 0x41
jne 0x100d8e7f
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
jmp 0x100d8e99
fld qword [esp + 0x80]
fsub qword [esp + 0x58]
fmul qword [esp + edi*8 + 0x1f4]
fadd qword [esp + 0x58]
fstp qword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x174]
push eax
push ecx
mov ecx, dword [ebp + 8]
push edx
call fcn.100b8c20
mov eax, dword [esp + 0x54]
xor ecx, ecx
test eax, eax
jle 0x100d8ee2
mov eax, dword [esp + ecx*4 + 0x174]
mov edx, dword [esp + ecx*4 + 0xf4]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jg 0x100d8ee2
mov eax, dword [esp + 0x54]
inc ecx
cmp ecx, eax
jl 0x100d8ebd
cmp ecx, dword [esp + 0x54]
je 0x100d8f25
fld qword [esp + esi*8 + 0x1f4]
fadd qword [esp + edi*8 + 0x1f4]
mov ecx, dword [esp + 0x20]
lea eax, [esi + edi]
cdq
sub eax, edx
sar eax, 1
fmul qword [0x101930a0]
mov dword [ecx], eax
lea ecx, [esi + 1]
mov dword [esp + eax*4 + 0x9fc], edi
cmp eax, ecx
mov edi, eax
fstp qword [esp + eax*8 + 0x1f4]
jg 0x100d8e2d
mov eax, dword [esp + 0x54]
xor ecx, ecx
test eax, eax
jle 0x100d8f54
mov eax, dword [esp + ecx*4 + 0x174]
mov edx, dword [esp + ecx*4 + 0xf4]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + ecx*4 + 0xf4], eax
mov eax, dword [esp + 0x54]
inc ecx
cmp ecx, eax
jl 0x100d8f2f
fld qword [esp + 0x38]
fmul qword [esp + edi*8 + 0x1f4]
lea edi, [esp + edi*8 + 0x1f4]
mov eax, dword [esp + 0x7c]
test eax, eax
fadd qword [esp + 0x98]
fld qword [esp + 0x30]
fmul qword [edi]
mov eax, dword [esp + 0x64]
fadd qword [esp + 0x88]
fstp qword [esp + 0x28]
je 0x100d8ff7
test eax, eax
je 0x100d8fa9
fld qword [0x10191610]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x100d9122
fld qword [esp + 0xb0]
fsub st(1)
fdiv qword [esp + 0x30]
fchs
fld qword [esp + 0xc8]
fsub st(2)
fdiv qword [esp + 0x30]
fchs
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x100d9122
fstp qword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
fld qword [esp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jmp 0x100d9122
fld qword [esp + 0xb8]
fsub qword [esp + 0x28]
test eax, eax
fdiv qword [esp + 0x38]
je 0x100d9049
fld qword [esp + 0xc0]
fsub qword [esp + 0x28]
fdiv qword [esp + 0x38]
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x100d9122
fstp qword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
fld qword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
jmp 0x100d9122
fstp qword [esp + 0xd4]
fld qword [esp + 0xc0]
fsub qword [esp + 0x28]
xor edx, edx
fdiv qword [esp + 0x38]
fstp qword [esp + 0xdc]
fld qword [esp + 0xb0]
fsub st(1)
fdiv qword [esp + 0x30]
fchs
fstp qword [esp + 0xe4]
fld qword [esp + 0xc8]
fsub st(1)
fdiv qword [esp + 0x30]
fchs
fstp qword [esp + 0xec]
lea esi, [edx + 1]
mov dword [esp + 0x48], edx
cmp esi, 4
mov dword [esp + 0x18], esi
mov ecx, esi
jge 0x100d90d9
lea edi, [edx*8]
lea esi, [ecx*8]
fld qword [esp + esi + 0xd4]
fcomp qword [esp + edi + 0xd4]
fnstsw ax
test ah, 1
je 0x100d90cf
mov dword [esp + 0x48], ecx
mov edi, esi
inc ecx
cmp ecx, 4
jl 0x100d90ad
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
lea eax, [esp + edx*8 + 0xd4]
mov edx, dword [esp + ecx*8 + 0xd4]
lea ecx, [esp + ecx*8 + 0xd4]
fld qword [eax]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, esi
fstp qword [ecx]
cmp edx, 3
jl 0x100d9094
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
fld qword [esp + 0xdc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fld st(0)
fmul qword [esp + 0x30]
mov edi, dword [ebx + 0x18]
mov ecx, 0x20
add edi, 0x7c
lea esi, [esp + 0xf4]
fsubr st(2)
rep movsd dword es:[edi], dword [esi]
fstp qword [esp + 0x18]
fmul qword [esp + 0x38]
fadd qword [esp + 0x28]
fstp qword [esp + 0x48]
fld qword [esp + 0x10]
fmul qword [esp + 0x30]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x18]
push eax
fsubr st(1)
mov edx, dword [ecx]
fstp qword [esp + 0x94]
fstp st(0)
fld qword [esp + 0x14]
fmul qword [esp + 0x3c]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
call dword [edx + 0x70]
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [eax + 0x258], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 0x25c], edx
mov edx, dword [esp + 0xac]
mov dword [eax + 0x250], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 0x254], edx
mov edx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0xb0]
push ecx
mov ecx, dword [eax + 0x24c]
push edx
call fcn.100bd3c0
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x258], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x25c], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x250], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x254], edx
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [eax + 0x24c]
push edx
call fcn.100bd3f0
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x258], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 0x25c], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 0x250], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x254], edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push ecx
push edx
mov ecx, dword [eax + 0x24c]
call fcn.100bd3f0
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x258], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x25c], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x250], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x254], edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [eax + 0x24c]
push edx
call fcn.100bd3f0
mov esi, dword [ebx + 0x18]
mov ecx, dword [esi + 0x24c]
call fcn.100bd5b0
mov eax, dword [esi + 0x24c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + ecx*4 - 4]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx]
fld qword [ecx + edx*8 - 8]
fstp qword [esi + 0x250]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edx*4 - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
fld qword [edx + ecx*8 - 8]
fstp qword [esi + 0x258]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0xb8]
mov ecx, dword [ebx + 0x18]
call fcn.100be390
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov ecx, 0x20
lea esi, [esp + 0x174]
lea edi, [esp + 0xf4]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x28]
cmp esi, 0x100
mov dword [esp + 0x68], eax
jl 0x100d8e10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4