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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
push edi
cmp eax, 0xffffffff
je 0x42f560
push eax
push ecx
call fcn.0042bfe0
add esp, 4
call fcn.0042c1b0
mov edi, eax
mov ecx, dword [edi + 4]
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
push ecx
mov dword [esp + 0x1c], ebx
call fcn.00430d56
cmp eax, ebx
je 0x42f229
mov dword [edi + 8], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
call fcn.00430cd2
cmp eax, ebx
je 0x42f24a
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x50]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
cmp ecx, 1
jne 0x42f268
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov al, byte [esi + 0x18]
cmp al, 0xff
je 0x42f45b
fld1
movzx eax, al
fst dword [esp + 0x38]
mov dword [esp + 0x10], eax
fldz
lea ecx, [esp + 0x20]
fst dword [esp + 0x3c]
push ecx
fst dword [esp + 0x44]
mov dword [esp + 0x24], ebx
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fst dword [esp + 0x70]
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]
fst dword [esp + 0x94]
fstp dword [esp + 0x98]
fst dword [esp + 0x54]
fst dword [esp + 0x6c]
fstp dword [esp + 0x9c]
fild dword [esp + 0x14]
fdiv qword [0x464cf8]
fstp dword [esp + 0x84]
call fcn.00430d3e
push ebx
push ebx
lea edx, [esp + 0x40]
push edx
push 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
push 1
push eax
call fcn.00430ccc
cmp eax, ebx
je 0x42f333
mov dword [esp + 0x24], eax
cmp dword [esi + 0x50], 2
jne 0x42f3d6
mov edx, dword [edi + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], ebx
call fcn.00430d56
cmp eax, ebx
je 0x42f356
mov dword [edi + 8], eax
mov ebx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x14]
push eax
shr ebx, 1
push ecx
dec ebx
mov dword [esp + 0x1c], 0
call fcn.00430cd2
test eax, eax
je 0x42f37a
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
mov eax, dword [esp + 0x14]
sub esp, 0x10
mov dword [esp + 0x40], ecx
mov ecx, esp
xor edx, edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], esi
sub esp, 0x10
mov ecx, esp
shr eax, 1
dec eax
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
push edi
push ecx
call fcn.00430900
mov edx, dword [esp + 0x4c]
add esp, 0x2c
push edx
call fcn.00430d26
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], ebx
call fcn.00430cd2
cmp eax, ebx
je 0x42f3ef
mov dword [edi + 8], eax
mov edx, dword [edi + 4]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], 0
call fcn.00430d56
test eax, eax
je 0x42f410
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
push ebx
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
push 0
mov dword [esp + 0x40], eax
push 0
lea ecx, [esp + 0x30]
lea eax, [esp + 0x38]
mov dword [esp + 0x40], edx
call fcn.00415a10
mov edx, dword [esp + 0x20]
push edx
call fcn.00430d26
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x10], ebx
cmp ecx, 2
jne 0x42f4f0
mov ecx, dword [edi + 4]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00430d56
cmp eax, ebx
je 0x42f47d
mov dword [edi + 8], eax
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 4]
lea edx, [esp + 0x10]
push edx
shr ebx, 1
push eax
dec ebx
mov dword [esp + 0x18], 0
call fcn.00430cd2
test eax, eax
je 0x42f4a1
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov dword [esp + 0x40], ecx
mov ecx, esp
xor edx, edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], esi
sub esp, 0x10
mov ecx, esp
shr eax, 1
dec eax
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
push 0
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 8]
push edi
push eax
call fcn.00430900
add esp, 0x2c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.00430cd2
cmp eax, ebx
je 0x42f505
mov dword [edi + 8], eax
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], 0
call fcn.00430d56
test eax, eax
je 0x42f526
mov dword [edi + 8], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x18]
mov esi, dword [esi + 0x4c]
push 0
push 0
push 0
push 2
push ebx
push edx
mov edx, dword [esp + 0x2c]
push 0
push 0
push ecx
push edx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
push eax
mov eax, dword [edi + 4]
push eax
push ecx
call fcn.00430cd8
test eax, eax
je 0x42f560
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4