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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
push ebx
mov dword [esp + 0x10], esi
call fcn.00481600
fst qword [esp + 0x24]
fcomp qword [0x584ab0]
add esp, 4
fnstsw ax
test ah, 0x41
je 0x4fb25e
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], 1
push eax
mov dword [esp + 0x20], esi
call fcn.00489500
mov edi, eax
mov eax, dword [ebp + 0x18]
add esp, 4
inc edi
cmp eax, esi
mov dword [esp + 0x18], edi
je 0x4fb289
dec edi
mov dword [esp + 0x18], edi
cmp dword [ebp + 0x14], esi
je 0x4fb2b3
mov eax, dword [ebp + 0x1c]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
push eax
push ecx
push ebx
call fcn.004fb6e0
add esp, 0x14
test eax, eax
jne 0x4fb5d8
jmp 0x4fb2ee
lea edx, [esp + 0x90]
lea eax, [esp + 0xc0]
push edx
push eax
push esi
push esi
push ebx
call fcn.004fb610
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
push ebx
call fcn.004fb610
add esp, 0x28
fild dword [ebp + 0x20]
mov eax, dword [ebp + 0x20]
mov edx, dword [esp + 0xc]
cmp eax, esi
mov dword [esp + 0x14], edx
fsub qword [0x550f30]
fld qword [0x550f30]
mov dword [esp + 0x10], esi
fdiv st(1)
fstp qword [esp + 0x70]
fld qword [esp + 0x20]
fdiv st(1)
fstp qword [esp + 0x68]
fstp st(0)
jle 0x4fb597
jmp 0x4fb32b
mov ebx, dword [ebp + 0xc]
push 0xc0
push 1
call fcn.00547150
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x20], esi
je 0x4fb5d8
mov ecx, dword [esi]
lea eax, [esp + 0x1c]
or ch, 2
push esi
push eax
mov dword [esi + 0x38], 1
mov dword [esi], ecx
call fcn.004894b0
fild dword [esp + 0x18]
mov eax, dword [ebp + 0x14]
add esp, 8
test eax, eax
fld st(0)
fmul qword [esp + 0x70]
fstp qword [esp + 0x30]
jne 0x4fb3d8
fmul qword [esp + 0x68]
lea ecx, [esp + 0x90]
lea edx, [esp + 0xa8]
push ecx
push edx
sub esp, 8
fstp qword [esp]
push ebx
call fcn.004fb610
lea eax, [esp + 0xd4]
lea ecx, [esp + 0xbc]
push eax
lea edx, [esp + 0xf0]
push ecx
push edx
call fcn.00418e20
lea eax, [esp + 0x128]
lea ecx, [esp + 0xc8]
push eax
lea edx, [esp + 0x114]
push ecx
push edx
call fcn.00418e20
add esp, 0x2c
jmp 0x4fb3da
fstp st(0)
xor ebx, ebx
test edi, edi
jle 0x4fb56e
jmp 0x4fb3ea
mov esi, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x38]
push eax
push ecx
push ebx
call fcn.004f8e50
add esp, 0xc
test eax, eax
jne 0x4fb5d8
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x4fb458
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4fb443
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x38]
add eax, 0x60
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.004464c0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.004464c0
add esp, 0x18
jmp 0x4fb458
lea edx, [esp + 0xd8]
lea eax, [esp + 0x38]
push edx
push eax
call fcn.00418dc0
add esp, 8
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4fb518
lea ecx, [esp + 0x50]
push ecx
push eax
push ebx
call fcn.004f8e50
add esp, 0xc
test eax, eax
jne 0x4fb5d8
mov edx, dword [ebp + 0x20]
dec edx
cmp edi, edx
jge 0x4fb4ce
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4fb4b9
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x50]
add ecx, 0x60
push eax
lea edx, [esp + 0x54]
push ecx
push edx
call fcn.004464c0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x5c]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
call fcn.004464c0
add esp, 0x18
jmp 0x4fb4ce
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.00418dc0
add esp, 8
fld qword [0x550f30]
fsub qword [esp + 0x30]
sub esp, 8
lea edx, [esp + 0x40]
fstp qword [esp]
push edx
call fcn.00418fa0
fld qword [esp + 0x3c]
add esp, 4
lea eax, [esp + 0x58]
fstp qword [esp]
push eax
call fcn.00418fa0
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x88]
push edx
push eax
call fcn.00418e50
add esp, 0x18
jmp 0x4fb52b
mov ecx, 6
lea esi, [esp + 0x38]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
test ebx, ebx
jle 0x4fb54d
lea ecx, [esp + 0x78]
push esi
lea edx, [esp + 0x124]
push ecx
push edx
call fcn.00440210
add esp, 0xc
test eax, eax
je 0x4fb5d8
mov eax, dword [esp + 0x18]
inc ebx
mov ecx, 6
lea esi, [esp + 0x78]
lea edi, [esp + 0x120]
cmp ebx, eax
rep movsd dword es:[edi], dword [esi]
jl 0x4fb3e6
mov edi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4fb583
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc8]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4fb328
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4fb5b3
mov edx, dword [esp + 0xc]
push edx
call fcn.004fae70
add esp, 4
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push 0
push 0
push ecx
push edx
push 0
push 0
push eax
call fcn.00504aa0
add esp, 0x20
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4fb5ec
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004fae70
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
call fcn.004888e0
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret