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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x5c
mov eax, dword [esp + 0x78]
mov dword [esp + 0x34], eax
test al, al
jne 0x43ad70
mov esi, dword [ecx + 0x30]
test esi, esi
jle 0x43b010
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x20], esi
sar esi, 0x1f
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], eax
test eax, eax
js 0x43b020
mov esi, dword [esp + 0x70]
mov dword [esp + 0x28], eax
sar eax, 0x1f
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x14]
test esi, esi
je 0x43ada3
cmp eax, 2
mov edx, 0
mov eax, 0x100000
jle 0x43afc0
fld dword [0x5a5dc0]
jmp 0x43adc6
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x48], 0
mov esi, dword [esp + 0x70]
mov eax, dword [ebx + 0x14]
test esi, esi
jne 0x43ad50
cmp eax, 2
jle 0x43af60
fld dword [0x5a5dbc]
mov ecx, dword [ebx + 0x20]
mov eax, 4
xor edx, edx
shl eax, cl
add eax, 0x100000
adc edx, 0
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ecx
fild qword [esp + 0x18]
fmul st(1)
fld dword [0x5a5dc4]
fxch st(1)
fcomi st(1)
jae 0x43af70
fstp st(1)
fnstcw word [esp + 0x4e]
movzx esi, word [esp + 0x4e]
or si, 0xc00
mov word [esp + 0x4c], si
fldcw word [esp + 0x4c]
fistp qword [esp + 0x18]
fldcw word [esp + 0x4e]
mov esi, eax
mov edi, edx
add esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
adc edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], esi
add ecx, ecx
mov ebp, edi
mov dword [esp + 0x3c], edi
imul ebp, eax
mov eax, edx
mov dword [esp + 0x40], ecx
imul eax, esi
mov dword [esp + 0x44], 0
add ebp, eax
mov eax, dword [esp + 0x20]
mul esi
mov edi, edx
mov edx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x28]
add edi, ebp
mov ebp, edx
mul ecx
imul ebp, ecx
mov ecx, dword [esp + 0x74]
add edx, ebp
add eax, esi
adc edx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x43afa8
mov eax, dword [esp + 0x74]
xor edx, edx
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x74], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov eax, edx
sbb eax, dword [esp + 0x1c]
jae 0x43af40
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x74], esi
sbb eax, edi
jae 0x43afd0
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
cmp dword [esp + 0x74], edi
mov ecx, edx
mov eax, dword [esp + 0x20]
sbb ecx, ebp
jb 0x43b040
cmp byte [esp + 0x34], 0
jne 0x43b068
fstp st(0)
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0049d4a0
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
mov edi, eax
mov dword [ebx + 0x30], eax
sar edi, 0x1f
mov edx, ebp
mov ecx, edi
mov edi, dword [esp + 0x38]
imul edx, eax
imul ecx, edi
add ecx, edx
mul edi
mov edi, dword [esp + 0x24]
add edx, ecx
sub esi, eax
mov eax, dword [esp + 0x40]
sbb edi, edx
mov edx, dword [esp + 0x44]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], edi
call fcn.0049d4a0
cmp dword [esp + 0x48], eax
jg 0x43b0b0
jmp 0x43af50
fstp st(0)
jmp 0x43af50
fstp st(0)
lea esi, [esi]
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
fld dword [0x5a5dcc]
jmp 0x43adb2
fnstcw word [esp + 0x4e]
fsubrp st(1)
movzx esi, word [esp + 0x4e]
or si, 0xc00
mov word [esp + 0x4c], si
fldcw word [esp + 0x4c]
fistp qword [esp + 0x18]
fldcw word [esp + 0x4e]
mov esi, dword [esp + 0x1c]
add esi, 0x80000000
mov dword [esp + 0x1c], esi
jmp 0x43ae0c
fstp st(0)
test edx, edx
mov edx, 0xffffffff
cmovne eax, edx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
fld dword [0x5a5dbc]
jmp 0x43adc6
cmp byte [esp + 0x34], 0
jne 0x43b068
fstp st(0)
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x44]
sub eax, esi
sbb edx, edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc], ebp
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], edx
call fcn.0049d4a0
mov dword [ebx + 0x34], eax
xor eax, eax
jmp 0x43af52
call fcn.00432380
mov esi, eax
jmp 0x43ad20
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0
mov dword [esp + 0x48], 2
jmp 0x43ad98
cmp byte [esp + 0x34], 0
jne 0x43b068
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x30], 1
mov dword [ebx + 0x34], 0
test eax, eax
jne 0x43af48
lea esi, [esi]
fild qword [esp + 0x20]
fld dword [0x5a5dc8]
fsub st(1), st(0)
fxch st(1)
fcomi st(1)
fcmovbe st(0), st(1)
fstp st(1)
fdivrp st(1)
fld dword [0x5a5dd0]
fcompi st(1)
jbe 0x43b0c0
fldcw word [esp + 0x4c]
fistp qword [esp + 0x18]
fldcw word [esp + 0x4e]
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x20], 0xf
jmp 0x43af50
mov dword [ebx + 0x34], eax
xor eax, eax
jmp 0x43af52
fstp st(0)
mov eax, 0x7ffe00
jmp 0x43b098