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

Disassembly:
fldz
sub esp, 0x18c
push esi
mov esi, dword [esp + 0x194]
fcom dword [esi + 0x1c]
fnstsw ax
test ah, 1
je 0x10038095
fcomp dword [esi + 0x20]
fnstsw ax
test ah, 1
je 0x10038097
mov eax, dword [0x101e25cc]
push edi
xor edi, edi
cmp eax, edi
je 0x100378d1
mov ecx, dword [0x101d4998]
cmp ecx, dword [esi + 0x10]
jge 0x1003790f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [0x101e25cc], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [0x101e25c8]
mov edx, dword [ecx]
add eax, 0x1388
push edi
mov dword [0x101d4998], eax
push 0x101e25cc
lea eax, [eax + eax*2]
push edi
add eax, eax
push 0x142
add eax, eax
push 0x208
add eax, eax
push eax
push ecx
mov ecx, dword [edx + 0x68]
call ecx
test eax, eax
jl 0x1003808c
mov eax, dword [0x101e25d0]
cmp eax, edi
je 0x10037931
mov edx, dword [0x101d499c]
cmp edx, dword [esi + 0xc]
jge 0x10037965
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [0x101e25d0], edi
mov eax, dword [esi + 0xc]
mov ecx, dword [0x101e25c8]
mov edx, dword [ecx]
push edi
push 0x101e25d0
push edi
add eax, 0x2710
push 0x65
mov dword [0x101d499c], eax
push 0x208
add eax, eax
push eax
push ecx
mov ecx, dword [edx + 0x6c]
call ecx
test eax, eax
jl 0x1003808c
mov eax, dword [0x101e25c8]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], edi
mov edx, dword [eax]
mov edx, dword [edx + 0xec]
push 1
push eax
call edx
test eax, eax
jl 0x1003808c
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
lea edx, [esp + 0xd4]
push edx
push 0x100
push eax
mov eax, dword [ecx + 0xb4]
call eax
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
lea edx, [esp + 0x114]
push edx
push 2
push eax
mov eax, dword [ecx + 0xb4]
call eax
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
lea edx, [esp + 0x154]
push edx
push 3
push eax
mov eax, dword [ecx + 0xb4]
call eax
mov ecx, dword [0x101e25cc]
mov edx, dword [ecx]
push 0x2000
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x10]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
push eax
push edi
push ecx
mov ecx, dword [edx + 0x2c]
call ecx
test eax, eax
jl 0x1003808c
mov eax, dword [0x101e25d0]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
push 0x2000
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esi + 0xc]
add ecx, ecx
push ecx
push edi
push eax
call edx
test eax, eax
jl 0x1003808c
push ebx
push ebp
xor ebp, ebp
cmp dword [esi + 8], edi
mov dword [esp + 0x14], ebp
jle 0x10037aea
mov edi, edi
mov eax, dword [esi + 4]
mov ebx, dword [eax + ebp*4]
mov eax, dword [ebx + 0x20]
xor edx, edx
cmp dword [ebx + 0x18], edi
jle 0x10037ab5
fldz
fld dword [eax]
mov ecx, dword [esp + 0x1c]
fstp dword [ecx]
mov ecx, dword [esp + 0x1c]
fld dword [eax + 4]
add edx, 1
fstp dword [ecx + 4]
mov ecx, dword [esp + 0x1c]
add eax, 0x14
fst dword [ecx + 8]
mov ecx, dword [eax - 4]
movzx ebp, byte [eax - 2]
movzx edi, cl
shl edi, 0x10
and ecx, 0xff00ff00
or edi, ebp
or edi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0xc], edi
mov ecx, dword [esp + 0x1c]
fld dword [eax - 0xc]
fstp dword [ecx + 0x10]
mov ecx, dword [esp + 0x1c]
fld dword [eax - 8]
fstp dword [ecx + 0x14]
add dword [esp + 0x1c], 0x18
cmp edx, dword [ebx + 0x18]
jl 0x10037a52
mov ebp, dword [esp + 0x14]
fstp st(0)
xor edi, edi
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x2c]
add edx, edx
push edx
push eax
push ecx
call fcn.10114cf0
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x38]
add ebp, 1
add esp, 0xc
cmp ebp, dword [esi + 8]
lea ecx, [eax + edx*2]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], ebp
jl 0x10037a40
mov eax, dword [0x101e25cc]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x30]
call eax
mov eax, dword [0x101e25d0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push eax
call edx
mov edx, dword [0x101e25cc]
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
push 0x18
push edi
push edx
push edi
push eax
mov eax, dword [ecx + 0x190]
call eax
mov eax, dword [0x101e25c8]
mov edx, dword [0x101e25d0]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1a0]
call eax
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x164]
push 0x142
push eax
call edx
fld dword [esi + 0x1c]
fnstcw word [esp + 0x10]
mov dword [esp + 0x48], edi
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], edi
fldcw word [esp + 0x18]
fistp qword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
fldcw word [esp + 0x10]
fld dword [esi + 0x20]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x18], eax
mov eax, dword [0x101e25c8]
fldcw word [esp + 0x18]
fistp qword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x44]
push ecx
fldcw word [esp + 0x14]
push eax
fldz
fstp dword [esp + 0x5c]
fld1
fstp dword [esp + 0x60]
mov edx, dword [eax]
mov edx, dword [edx + 0xbc]
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1ac]
push edi
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x170]
push edi
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
push 1
mov edx, dword [ecx + 0xe4]
push 0x16
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push edi
push 0x89
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push edi
push 7
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push 1
push 0x1b
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push edi
push 0xf
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push 1
push 0xab
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push 5
push 0x13
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push 6
push 0x14
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push 1
push 0xae
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
push 2
push 9
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10c]
push 4
push 1
push edi
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
push 2
push 2
push edi
push eax
mov edx, dword [ecx + 0x10c]
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10c]
push edi
push 3
push edi
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10c]
push 4
push 4
push edi
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10c]
push 2
push 5
push edi
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10c]
push edi
push 6
push edi
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x114]
push 2
push 6
push edi
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x114]
push 2
push 5
push edi
push eax
call edx
fld dword [esi + 0x14]
fld st(0)
fld qword [0x1019e130]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esi + 0x1c]
faddp st(2)
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esi + 0x18]
fld st(0)
fadd st(2)
fstp dword [esp + 0x14]
fadd dword [esi + 0x20]
faddp st(1)
fstp dword [esp + 0x10]
fld1
fst dword [esp + 0x5c]
fldz
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fst dword [esp + 0x7c]
fst dword [esp + 0x80]
fst dword [esp + 0x88]
fst dword [esp + 0x8c]
fst dword [esp + 0x90]
mov eax, dword [0x101e25c8]
fst dword [esp + 0x94]
mov ecx, dword [eax]
fxch st(1)
lea edx, [esp + 0x5c]
fst dword [esp + 0x70]
push edx
fst dword [esp + 0x88]
push 0x100
fst dword [esp + 0xa0]
push eax
fld dword [esp + 0x24]
mov eax, dword [ecx + 0xb0]
fld dword [esp + 0x2c]
fld st(1)
fsub st(1)
fld qword [0x1019ef38]
fld st(0)
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0xa8]
fxch st(4)
fst dword [esp + 0xac]
fst dword [esp + 0xb0]
fst dword [esp + 0xb4]
fst dword [esp + 0xb8]
fld dword [esp + 0x20]
fld dword [esp + 0x1c]
fld st(1)
fsub st(1)
fdivp st(7)
fxch st(6)
fstp dword [esp + 0xbc]
fxch st(1)
fst dword [esp + 0xc0]
fst dword [esp + 0xc4]
fst dword [esp + 0xc8]
fst dword [esp + 0xcc]
fld dword [0x1019e1e4]
fst dword [esp + 0xd0]
fxch st(1)
fstp dword [esp + 0xd4]
fld st(2)
fadd st(4)
fxch st(3)
fsubrp st(4)
fxch st(2)
fdivrp st(3)
fxch st(2)
fstp dword [esp + 0xd8]
fld st(3)
fadd st(2)
fxch st(4)
fsubrp st(2)
fxch st(3)
fdivrp st(1)
fstp dword [esp + 0xdc]
fxch st(1)
fstp dword [esp + 0xe0]
fstp dword [esp + 0xe4]
call eax
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
push edx
push 2
push eax
mov eax, dword [ecx + 0xb0]
call eax
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
lea edx, [esp + 0x9c]
push edx
push 3
push eax
mov eax, dword [ecx + 0xb0]
call eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], edi
xor ebp, ebp
mov edx, dword [esi + 0x18]
xor eax, eax
cmp dword [esi + 8], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], eax
jle 0x10038021
lea esp, [esp]
mov ecx, dword [esi + 4]
mov ebx, dword [ecx + eax*4]
cmp dword [ebx], edi
mov dword [esp + 0x20], edi
jle 0x1003800a
mov dword [esp + 0x10], edi
mov edi, dword [ebx + 8]
add edi, dword [esp + 0x10]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10037f50
push edi
push ebx
call eax
add esp, 8
jmp 0x10037fea
fld dword [esp + 0x24]
fld dword [edi + 4]
fsub st(1)
call fcn.10114560
fld dword [esp + 0x28]
fld dword [edi + 8]
mov dword [esp + 0x34], eax
fsub st(1)
call fcn.10114560
fld dword [edi + 0xc]
fsubrp st(2)
mov dword [esp + 0x38], eax
fxch st(1)
call fcn.10114560
fsubr dword [edi + 0x10]
mov dword [esp + 0x3c], eax
call fcn.10114560
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [0x101e25c8]
mov edx, dword [eax]
mov edx, dword [edx + 0x104]
push ecx
push 0
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0x12c]
call eax
mov ecx, dword [0x101e25c8]
mov ecx, dword [ecx]
mov eax, 0xaaaaaaab
mul dword [edi]
mov eax, dword [esp + 0x14]
shr edx, 1
push edx
mov edx, dword [ebx + 0x18]
push ebp
push edx
mov edx, dword [0x101e25c8]
push 0
push eax
mov eax, dword [ecx + 0x148]
push 4
push edx
call eax
mov eax, dword [esp + 0x20]
add ebp, dword [edi]
add dword [esp + 0x10], 0x20
add eax, 1
cmp eax, dword [ebx]
mov dword [esp + 0x20], eax
jl 0x10037f36
mov eax, dword [esp + 0x18]
xor edi, edi
mov ecx, dword [ebx + 0x18]
add dword [esp + 0x14], ecx
add eax, 1
cmp eax, dword [esi + 8]
mov dword [esp + 0x18], eax
jl 0x10037f20
mov eax, dword [0x101e25c8]
mov edx, dword [eax]
mov edx, dword [edx + 0xb0]
lea ecx, [esp + 0xdc]
push ecx
push 0x100
push eax
call edx
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
lea edx, [esp + 0x11c]
push edx
push 2
push eax
mov eax, dword [ecx + 0xb0]
call eax
mov eax, dword [0x101e25c8]
mov ecx, dword [eax]
lea edx, [esp + 0x15c]
push edx
push 3
push eax
mov eax, dword [ecx + 0xb0]
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18c
ret
fstp st(0)
pop esi
add esp, 0x18c
ret