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

Disassembly:
sub esp, 0xd8
fld qword [0x680758]
push ebx
fstp qword [esp + 0x7c]
mov eax, 0x1c
fld qword [0x680940]
push ebp
fstp qword [esp + 0x88]
mov ebp, dword [esp + 0xe4]
fld1
mov ecx, 0x1e
fstp qword [esp + 0x90]
mov dword [esp + 0x40], eax
fld qword [0x680938]
mov dword [esp + 0x54], eax
fstp qword [esp + 0x98]
mov dword [esp + 0x68], eax
fld qword [0x680930]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0xf8]
fstp qword [esp + 0xa0]
fld qword [0x680928]
push esi
fstp qword [esp + 0xac]
mov esi, 0x1a
fld qword [0x680920]
mov edx, 0x18
fstp qword [esp + 0xb4]
mov dword [esp + 0x54], ecx
fld qword [0x680918]
mov dword [esp + 0x68], ecx
fstp qword [esp + 0xbc]
mov dword [esp + 0x7c], ecx
fld qword [0x680910]
mov ecx, dword [eax + 0x48]
fstp qword [esp + 0xc4]
mov dword [esp + 0x14], ecx
fld qword [0x680908]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 1
fstp qword [esp + 0xcc]
fld qword [0x680900]
push edi
fstp qword [esp + 0xd8]
mov dword [esp + 0x4c], esi
fld qword [0x6808f8]
mov dword [esp + 0x50], edx
mov ebx, 0x16
fst qword [esp + 0xe0]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edx
mov edi, 0x20
mov dword [esp + 0x74], esi
mov esi, 0x22
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x28], 0x25
mov dword [esp + 0x2c], 0x19
mov dword [esp + 0x30], 0x24
mov dword [esp + 0x38], 0x23
mov dword [esp + 0x3c], 0x17
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], edx
jne 0x42c5ad
mov edx, dword [eax + 0xb0]
mov eax, dword [eax + 0xb4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
movzx eax, byte [ebp + 0xc9]
fld dword [0x6808f0]
mov edx, eax
imul edx, edx, 0xc8
mov edi, eax
mov esi, eax
shl edi, 4
imul esi, esi, 0x150
add esi, dword [ebp + 0xcc]
add edi, eax
lea edx, [edx + ecx + 0x20]
lea ecx, [ecx + edi*4 + 0x394]
fcomp dword [ecx + 0x28]
fnstsw ax
test ah, 5
jp 0x42c613
mov eax, dword [edx]
mov dword [esp + 0x24], eax
test eax, eax
je 0x42c613
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x42c613
fstp st(0)
fild dword [edx + 0xc]
fild dword [esp + 0x24]
fmul dword [ecx + 0x28]
fimul dword [esp + 0x10]
fdivp st(1)
mov eax, dword [edx + 4]
imul eax, dword [edx]
cmp eax, 0x7080
jg 0x42c624
xor edi, edi
jmp 0x42c641
cmp eax, 0x1c200
jg 0x42c632
mov edi, 1
jmp 0x42c641
xor ecx, ecx
cmp eax, 0x70800
setg cl
add ecx, 2
mov edi, ecx
lea edx, [edi + edi*2]
xor ecx, ecx
lea edx, [esp + edx*8 + 0x88]
fcom qword [edx]
fnstsw ax
test ah, 0x41
jnp 0x42c65f
inc ecx
add edx, 8
cmp ecx, 3
jl 0x42c64d
mov ebx, dword [esp + ecx*8 + 0x2c]
fstp st(0)
mov eax, dword [esi + 0xc8]
cmp ebx, eax
mov edx, dword [esp + ecx*8 + 0x28]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ebx
jge 0x42c683
mov ebx, eax
mov dword [esp + 0x24], ebx
jmp 0x42c697
mov edx, dword [esi + 0xcc]
cmp ebx, edx
jle 0x42c693
mov ebx, edx
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0x10]
cmp edx, eax
jl 0x42c6a5
mov eax, dword [esi + 0xcc]
cmp edx, eax
jle 0x42c6ab
mov edx, eax
mov dword [esp + 0x10], eax
cmp dword [esi + 0x48], 0
jne 0x42c6c0
lea eax, [ecx + edi*4]
mov ecx, dword [esp + eax*4 + 0x48]
mov dword [esi + 8], ecx
jmp 0x42c82d
mov eax, dword [esi + 0x9c]
mov edi, dword [esi + 0x58]
cmp eax, edi
je 0x42c6fb
mov ecx, dword [esi + 0x54]
push ecx
mov ecx, dword [esi + 0x50]
cdq
push ecx
push edx
push eax
call fcn.005c4bf0
mov ecx, eax
mov eax, edx
mov dword [esp + 0x14], eax
mov eax, edi
cdq
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call fcn.005c3080
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
mov edi, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
mov edx, edi
or edx, eax
push 0
jne 0x42c71c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0x64
push eax
push ecx
call fcn.005c4bf0
jmp 0x42c757
push 2
push eax
push edi
call fcn.005c3080
push 0
mov ebp, edx
mov edx, dword [esp + 0x20]
push 0x64
mov ebx, eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.005c4bf0
add ebx, eax
mov eax, dword [esi + 0x64]
push eax
push edi
adc ebp, edx
push ebp
push ebx
call fcn.005c3080
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0xec]
test edx, edx
jg 0x42c774
jl 0x42c762
cmp eax, 0x50
jae 0x42c769
mov eax, 0x50
jmp 0x42c779
test edx, edx
jl 0x42c77b
jg 0x42c774
cmp eax, 0x78
jbe 0x42c77b
mov eax, 0x78
xor edx, edx
mov edi, dword [esi + 0x40]
imul edi, edi, 0x64
push edx
push eax
test edi, edi
jne 0x42c796
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x50]
push ecx
push edx
call fcn.005c4bf0
jmp 0x42c7c6
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
push eax
push ecx
call fcn.005c4bf0
mov ecx, eax
mov ebp, edx
mov eax, edi
cdq
sub eax, edx
sar eax, 1
cdq
add ecx, eax
adc ebp, edx
mov eax, edi
cdq
push edx
push eax
push ebp
push ecx
call fcn.005c3080
mov ebp, dword [esp + 0xec]
cmp eax, 0x3f
mov dword [esp + 0x1c], edx
mov dword [esi + 0xd4], eax
mov dword [esp + 0x14], eax
jg 0x42c7dd
xor eax, eax
jmp 0x42c826
fild dword [esp + 0x14]
fdiv qword [0x680898]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.00606390
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul qword [0x6808c0]
fstp qword [esp + 0x18]
fld qword [0x6807b8]
call fcn.00606390
fdivr qword [esp + 0x18]
fadd qword [0x6808a0]
fadd qword [0x680758]
call fcn.005c52f0
mov edx, dword [esp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, ebx
jge 0x42c838
mov eax, ebx
jmp 0x42c83e
cmp eax, edx
jle 0x42c83e
mov eax, edx
mov dword [esi + 8], eax
mov dword [ebp + 0xf4], eax
mov eax, dword [eax*4 + str._GOYdp]
mov dword [esi + 0xd4], eax
mov ecx, dword [ebp + 0xf4]
mov dword [esi + 0xe0], ecx
mov eax, dword [ebp + 0xf4]
add eax, 0xfffffffd
cmp eax, ebx
jge 0x42c871
mov eax, ebx
jmp 0x42c877
cmp eax, edx
jle 0x42c877
mov eax, edx
mov dword [esi + 0x94], eax
mov eax, dword [ebp + 0xf4]
add eax, 3
cmp eax, ebx
jge 0x42c89b
mov dword [esi + 0x98], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret
cmp eax, edx
jle 0x42c8b0
mov dword [esi + 0x98], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret
pop edi
mov dword [esi + 0x98], eax
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret