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

Disassembly:
sub esp, 0x158
push ebx
mov ebx, dword [esp + 0x160]
push ebp
push esi
mov esi, dword [esp + 0x170]
push edi
mov dword [esp + 0x24], ecx
mov byte [esp + 0x12], 0
mov ebp, 0x10117e64
mov eax, dword [ebp - 4]
test al, 4
lea edx, [esi + 0xc]
jne 0x1007f272
mov edx, esi
test al, 2
lea ecx, [esi + 0xc]
jne 0x1007f27b
mov ecx, esi
test al, 1
lea eax, [esi + 0xc]
jne 0x1007f284
mov eax, esi
fld dword [eax]
mov eax, dword [ebp]
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 0x1007f2a4
mov edx, esi
test al, 2
lea ecx, [esi + 0xc]
jne 0x1007f2ad
mov ecx, esi
test al, 1
lea eax, [esi + 0xc]
jne 0x1007f2b6
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 + 0x50]
call fcn.1000d3e0
mov eax, dword [ebp + 4]
test al, 4
lea edx, [esi + 0xc]
jne 0x1007f2d6
mov edx, esi
test al, 2
lea ecx, [esi + 0xc]
jne 0x1007f2df
mov ecx, esi
test al, 1
lea eax, [esi + 0xc]
jne 0x1007f2e8
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 + 0x44]
call fcn.1000d3e0
mov eax, dword [ebp + 8]
test al, 4
lea edx, [esi + 0xc]
jne 0x1007f308
mov edx, esi
test al, 2
lea ecx, [esi + 0xc]
jne 0x1007f311
mov ecx, esi
test al, 1
lea eax, [esi + 0xc]
jne 0x1007f31a
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 + 0x5c]
call fcn.1000d3e0
lea ecx, [esp + 0x14]
call fcn.1000c460
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0x44]
call fcn.1000d9d0
push eax
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x13c]
push edx
lea ecx, [esp + 0x58]
call fcn.1000d9d0
mov ecx, eax
call fcn.10019320
mov ecx, eax
call fcn.1005d940
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.10019300
fchs
fstp dword [esp + 0x20]
lea edi, [ebx + 0xc]
fld dword [esp + 0x1c]
fmul dword [edi + 8]
fld dword [esp + 0x18]
fmul dword [edi + 4]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [edi]
faddp st(1)
fcomp dword [0x10105488]
fnstsw ax
test ah, 1
je 0x1007f7a9
fld dword [esp + 0x20]
push ebx
fsub dword [esp + 0x174]
lea ecx, [esp + 0x18]
fstp dword [esp + 0x24]
call fcn.10019300
fadd dword [esp + 0x20]
push edi
lea ecx, [esp + 0x18]
fstp dword [esp + 0x38]
call fcn.10019300
fdivr dword [esp + 0x34]
mov edx, dword [esp + 0x24]
fchs
fst dword [esp + 0x34]
fcomp dword [edx]
fnstsw ax
test ah, 0x41
je 0x1007f7c9
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 + 0x94]
fadd dword [esp + 0x34]
fstp dword [esp]
call fcn.1000d3e0
lea ecx, [esp + 0x5c]
call fcn.1000c460
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x164]
push edx
lea ecx, [esp + 0x34]
call fcn.1000d9d0
push eax
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x160]
push edx
lea ecx, [esp + 0x58]
call fcn.1000d9d0
mov ecx, eax
call fcn.10019320
mov ecx, eax
call fcn.1005d940
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x88]
mov dword [esp + 0x60], edx
mov eax, dword [eax + 8]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], eax
call fcn.10019300
fchs
fstp dword [esp + 0x68]
push ecx
fld dword [esp + 0x50]
fadd dword [esp + 0x20]
fstp dword [esp]
push ecx
fld dword [esp + 0x50]
fadd dword [esp + 0x20]
fstp dword [esp]
push ecx
fld dword [esp + 0x20]
lea ecx, [esp + 0xa0]
fadd dword [esp + 0x50]
fstp dword [esp]
call fcn.1000d3e0
lea ecx, [esp + 0x6c]
call fcn.1000c460
lea edx, [esp + 0x108]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x140]
push ecx
lea ecx, [esp + 0x50]
call fcn.1000d9d0
push eax
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0xa0]
lea ecx, [esp + 0xf0]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.1000d9d0
mov ecx, eax
call fcn.10019320
mov ecx, eax
call fcn.1005d940
mov edx, dword [eax]
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 8]
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x78], edx
call fcn.10019300
fchs
fstp dword [esp + 0x78]
push ecx
fld dword [esp + 0x44]
fadd dword [esp + 0x20]
fstp dword [esp]
push ecx
fld dword [esp + 0x44]
fadd dword [esp + 0x20]
fstp dword [esp]
push ecx
fld dword [esp + 0x20]
lea ecx, [esp + 0xcc]
fadd dword [esp + 0x44]
fstp dword [esp]
call fcn.1000d3e0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0xac]
call fcn.1007f7e0
fld dword [esp + 0x58]
fadd dword [esp + 0x1c]
push ecx
fstp dword [esp]
push ecx
fld dword [esp + 0x5c]
fadd dword [esp + 0x20]
fstp dword [esp]
push ecx
fld dword [esp + 0x5c]
lea ecx, [esp + 0xd8]
fadd dword [esp + 0x20]
fstp dword [esp]
call fcn.1000d3e0
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xbc]
call fcn.1007f7e0
mov edi, dword [esp + 0x34]
push edi
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebx
call fcn.10063520
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x60]
call fcn.10019300
fadd dword [esp + 0x68]
fcomp dword [0x10105488]
fnstsw ax
test ah, 1
jne 0x1007f6db
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.10019300
fadd dword [esp + 0x78]
fcomp dword [0x10105488]
fnstsw ax
test ah, 1
jne 0x1007f6db
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0xa4]
call fcn.10019300
fadd dword [esp + 0xac]
fcomp dword [0x10105488]
fnstsw ax
test ah, 1
jne 0x1007f6db
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0xb4]
call fcn.10019300
fadd dword [esp + 0xbc]
fcomp dword [0x10105488]
fnstsw ax
test ah, 1
jne 0x1007f6db
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
push edi
push ebx
call fcn.1007e3c0
or byte [esp + 0x12], al
jmp 0x1007f7a9
fld dword [esp + 0x170]
fcomp dword [0x10105488]
fnstsw ax
test ah, 0x41
jne 0x1007f7a9
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x170]
push ecx
push edi
push ebx
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.1007ebe0
mov dl, al
mov eax, dword [esp + 0x24]
push eax
push edi
push ebx
lea ecx, [esp + 0xac]
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x64]
push ecx
lea eax, [esp + 0x50]
push eax
mov bl, dl
call fcn.1007ebe0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x16c]
push ecx
push edi
push edx
or bl, al
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1007ebe0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x16c]
push ecx
push edi
push edx
or bl, al
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.1007ebe0
or bl, al
mov al, byte [esp + 0x12]
or al, bl
mov ebx, dword [esp + 0x16c]
mov byte [esp + 0x12], al
add ebp, 0x10
cmp ebp, 0x10117ec4
jl 0x1007f266
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x158
ret 0xc