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

Disassembly:
sub esp, 0x154
push ebx
push ebp
push esi
mov esi, dword [esp + 0x16c]
push edi
mov ebp, ecx
mov byte [esp + 0x12], 0
mov edi, 0x10112b80
mov eax, dword [edi - 4]
test al, 4
lea edx, [esi + 0xc]
jne 0x1007c009
mov edx, esi
test al, 2
lea ecx, [esi + 0xc]
jne 0x1007c012
mov ecx, esi
test al, 1
lea eax, [esi + 0xc]
jne 0x1007c01b
mov eax, esi
fld dword [eax]
mov eax, dword [edi]
test al, 4
fstp dword [esp + 0x28]
fld dword [ecx + 4]
fstp dword [esp + 0x2c]
fld dword [edx + 8]
lea edx, [esi + 0xc]
fstp dword [esp + 0x30]
jne 0x1007c03a
mov edx, esi
test al, 2
lea ecx, [esi + 0xc]
jne 0x1007c043
mov ecx, esi
test al, 1
lea eax, [esi + 0xc]
jne 0x1007c04c
mov eax, esi
fld dword [eax]
mov eax, dword [edi + 4]
test al, 4
fstp dword [esp + 0x34]
fld dword [ecx + 4]
fstp dword [esp + 0x38]
fld dword [edx + 8]
lea edx, [esi + 0xc]
fstp dword [esp + 0x3c]
jne 0x1007c06c
mov edx, esi
test al, 2
lea ecx, [esi + 0xc]
jne 0x1007c075
mov ecx, esi
test al, 1
lea eax, [esi + 0xc]
jne 0x1007c07e
mov eax, esi
mov edx, dword [edx + 8]
mov ecx, dword [ecx + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.1000d0e0
mov eax, dword [edi + 8]
test al, 4
lea edx, [esi + 0xc]
jne 0x1007c09e
mov edx, esi
test al, 2
lea ecx, [esi + 0xc]
jne 0x1007c0a7
mov ecx, esi
test al, 1
lea eax, [esi + 0xc]
jne 0x1007c0b0
mov eax, esi
mov edx, dword [edx + 8]
mov ecx, dword [ecx + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.1000d0e0
lea ecx, [esp + 0x14]
call fcn.1000c180
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x100]
push edx
lea ecx, [esp + 0x4c]
call fcn.1000d6d0
push eax
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0xd8]
push edx
lea ecx, [esp + 0x48]
call fcn.1000d6d0
mov ecx, eax
call fcn.10018ee0
mov ecx, eax
call fcn.1005c310
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 8]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], eax
call fcn.10018ec0
fchs
mov ecx, dword [esp + 0x168]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
lea ebx, [ecx + 0xc]
fmul dword [ebx + 8]
fld dword [esp + 0x18]
fmul dword [ebx + 4]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [ebx]
faddp st(1)
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
je 0x1007c54d
fld dword [esp + 0x20]
push ecx
fsub dword [esp + 0x170]
lea ecx, [esp + 0x18]
fstp dword [esp + 0x24]
call fcn.10018ec0
fadd dword [esp + 0x20]
push ebx
lea ecx, [esp + 0x18]
fstp dword [esp + 0x28]
call fcn.10018ec0
fdivr dword [esp + 0x24]
fchs
fst dword [esp + 0x24]
fcomp dword [ebp]
fnstsw ax
test ah, 0x41
je 0x1007c54d
fld dword [esp + 0x1c]
push ecx
fadd dword [esp + 0x34]
fstp dword [esp]
push ecx
fld dword [esp + 0x20]
fadd dword [esp + 0x34]
fstp dword [esp]
push ecx
fld dword [esp + 0x20]
lea ecx, [esp + 0x9c]
fadd dword [esp + 0x34]
fstp dword [esp]
call fcn.1000d0e0
lea ecx, [esp + 0x4c]
call fcn.1000c180
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x34]
call fcn.1000d6d0
push eax
lea edx, [esp + 0x124]
push edx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xfc]
push ecx
lea ecx, [esp + 0x48]
call fcn.1000d6d0
mov ecx, eax
call fcn.10018ee0
mov ecx, eax
call fcn.1005c310
mov edx, dword [eax]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 8]
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], edx
call fcn.10018ec0
fchs
fstp dword [esp + 0x58]
push ecx
fld dword [esp + 0x20]
fadd dword [esp + 0x40]
fstp dword [esp]
push ecx
fld dword [esp + 0x20]
fadd dword [esp + 0x40]
fstp dword [esp]
push ecx
fld dword [esp + 0x20]
lea ecx, [esp + 0x90]
fadd dword [esp + 0x40]
fstp dword [esp]
call fcn.1000d0e0
lea ecx, [esp + 0x5c]
call fcn.1000c180
lea ecx, [esp + 0x14c]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x40]
call fcn.1000d6d0
push eax
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x54]
call fcn.1000d6d0
mov ecx, eax
call fcn.10018ee0
mov ecx, eax
call fcn.1005c310
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x84]
mov dword [esp + 0x60], edx
mov eax, dword [eax + 8]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], eax
call fcn.10018ec0
fchs
fstp dword [esp + 0x68]
push ecx
fld dword [esp + 0x4c]
fadd dword [esp + 0x20]
fstp dword [esp]
push ecx
fld dword [esp + 0x4c]
fadd dword [esp + 0x20]
fstp dword [esp]
push ecx
fld dword [esp + 0x20]
lea ecx, [esp + 0xc8]
fadd dword [esp + 0x4c]
fstp dword [esp]
call fcn.1000d0e0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0xa8]
call fcn.1007c570
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xec]
push edx
lea ecx, [esp + 0x7c]
call fcn.10010960
push eax
lea ecx, [esp + 0xb8]
call fcn.1007c570
fld dword [esp + 0x24]
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
jne 0x1007c47a
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x170]
call fcn.10061eb0
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x50]
call fcn.10018ec0
fadd dword [esp + 0x58]
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
jne 0x1007c47a
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x60]
call fcn.10018ec0
fadd dword [esp + 0x68]
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
jne 0x1007c47a
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xa0]
call fcn.10018ec0
fadd dword [esp + 0xa8]
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
jne 0x1007c47a
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0xb0]
call fcn.10018ec0
fadd dword [esp + 0xb8]
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
jne 0x1007c47a
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
lea ecx, [ebp + 4]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov byte [esp + 0x12], 1
jmp 0x1007c54d
fld dword [esp + 0x16c]
fcomp dword [0x10100498]
fnstsw ax
test ah, 0x41
jne 0x1007c54d
mov ebx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
push ebp
push ebx
push eax
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.1007b970
push ebp
mov dl, al
mov eax, dword [esp + 0x16c]
push ebx
push eax
lea ecx, [esp + 0xa8]
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x80]
push ecx
lea eax, [esp + 0x58]
push eax
mov bl, dl
call fcn.1007b970
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
push ebp
push ecx
push edx
or bl, al
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.1007b970
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
push ebp
push ecx
push edx
or bl, al
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.1007b970
or bl, al
or byte [esp + 0x12], bl
add edi, 0x10
cmp edi, 0x10112be0
jl 0x1007bffd
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x154
ret 0xc