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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d70a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
push edi
call fcn.0047f4f0
cmp eax, 1
jbe 0x488694
mov ecx, edi
call fcn.0054a8e0
mov edi, eax
cmp edi, esi
mov dword [esp + 0x70], edi
je 0x488694
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x54]
cmp ecx, esi
je 0x488694
call fcn.0054a0f0
test eax, eax
je 0x488694
mov ecx, dword [ebx + 0x54]
mov eax, 0x2710
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], eax
mov eax, dword [ecx]
lea edx, [esp + 0xb0]
push edx
call dword [eax + 0x34]
fld qword [esp + 0xcc]
fsub qword [esp + 0xb0]
mov ecx, edi
fstp qword [esp + 0xa4]
fld qword [esp + 0xd4]
fsub qword [esp + 0xb8]
fstp qword [esp + 0x9c]
call fcn.00548df0
mov ecx, dword [eax]
mov dword [esp + 0x7c], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x74], ecx
xor ecx, ecx
cmp eax, esi
je 0x48867b
mov edi, dword [ebp + 0x18]
jmp 0x48819d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov ebx, dword [eax + 8]
inc ecx
cmp ecx, edx
mov dword [esp + 0x78], ecx
jl 0x4881b3
mov dword [esp + 0x1c], esi
jmp 0x4881cb
cmp eax, esi
jne 0x4881c4
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + 4]
mov dword [esp + 0x1c], eax
jmp 0x4881cb
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, esi
je 0x488671
mov ecx, ebx
call fcn.0054a0f0
test eax, eax
je 0x488671
mov edx, dword [ebp + 8]
cmp ebx, dword [edx + 0x54]
je 0x488671
push 0x44
call fcn.005b449a
add esp, 4
cmp eax, esi
je 0x48822f
mov dword [eax + 0x10], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x20], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x24], esi
mov dword [eax + 0x28], 0x2710
mov dword [eax + 0x2c], esi
mov dword [eax + 0x34], esi
mov dword [eax + 0x3c], esi
mov dword [eax + 0x30], esi
mov dword [eax + 0x38], esi
mov dword [eax + 0x40], esi
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x488233
mov dword [esp + 0x18], esi
push 4
mov dword [esi], 7
mov dword [esi + 8], 1
call fcn.005b449a
add esp, 4
mov dword [esi + 0xc], eax
mov dword [esi + 4], edi
lea ecx, [esp + 0x38]
mov dword [eax], ebx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
fld qword [esp + 0x54]
fadd qword [esp + 0x38]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x98], 0x2710
sub eax, 0x13b8
mov dword [esp + 0x20], 0
fmul qword [0x5e7c18]
mov dword [esp + 0x24], 0x3ff00000
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x3ff00000
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x3ff00000
fstp qword [esp + 0x80]
fld qword [esp + 0x5c]
fadd qword [esp + 0x40]
fmul qword [0x5e7c18]
fstp qword [esp + 0x88]
fld qword [esp + 0x64]
fadd qword [esp + 0x48]
fmul qword [0x5e7c18]
fstp qword [esp + 0x90]
je 0x488330
dec eax
je 0x48830c
dec eax
jne 0x488354
fld qword [esp + 0x54]
fsub qword [esp + 0x38]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 0x40
jne 0x48830a
fld qword [esp + 0xa4]
fdiv st(1)
fstp qword [esp + 0x20]
fstp st(0)
fld qword [esp + 0x5c]
fsub qword [esp + 0x40]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 0x40
jne 0x488352
fld qword [esp + 0x9c]
fdiv st(1)
fstp qword [esp + 0x28]
jmp 0x488352
fld qword [esp + 0x54]
fsub qword [esp + 0x38]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 0x40
jne 0x488352
fld qword [esp + 0xa4]
fdiv st(1)
fstp qword [esp + 0x20]
fstp st(0)
mov ecx, ebx
call fcn.00549f80
cmp eax, 0xc
jne 0x4885c7
fld qword [esp + 0x20]
fsub qword [esp + 0x28]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x48838c
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x4885c7
jmp 0x48839f
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x4885c7
push 0x14
call fcn.005b449a
mov esi, eax
push 4
mov dword [esi], 2
mov dword [esi + 8], 1
call fcn.005b449a
push 0x14
mov dword [esi + 0xc], eax
mov dword [esi + 4], edi
mov dword [esi + 0x10], 1
call fcn.005b449a
mov edi, eax
push 4
mov dword [edi], 1
mov dword [edi + 8], 1
call fcn.005b449a
mov dword [edi + 0xc], eax
mov dword [edi + 4], 0
mov dword [edi + 0x10], 1
push 0x15a4
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0x2710
call fcn.005b449a
add esp, 0x14
mov dword [esp + 0x14], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x110], ecx
je 0x48846f
mov ecx, eax
call fcn.00544b10
mov dword [esp + 0x14], eax
jmp 0x488473
mov dword [esp + 0x14], ecx
lea edx, [esp + 0xe8]
mov ecx, ebx
push edx
mov dword [esp + 0x114], 0xffffffff
call fcn.0054a300
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
push 1
push 0
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x14]
push 0
call fcn.00547260
mov edx, dword [eax]
push 0x944
mov dword [esp + 0x14], edx
call fcn.005b449a
add esp, 4
mov dword [esp + 0x104], eax
test eax, eax
mov dword [esp + 0x110], 1
je 0x4884e3
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, eax
call fcn.0055f5c0
mov dword [esp + 0x10], eax
jmp 0x4884eb
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
push 1
mov dword [esp + 0x114], 0xffffffff
call fcn.0054a000
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xe8]
push edx
call fcn.0054a430
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x488520
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x10]
push 0
mov dword [ecx], ebx
mov edx, dword [esi + 0xc]
mov ecx, ebx
mov dword [edx], eax
call fcn.0054a100
mov ecx, dword [ebp + 0xc]
call fcn.00426a20
mov ecx, dword [esp + 0x10]
inc eax
push eax
call fcn.00549f60
mov ecx, dword [ebp + 0xc]
call fcn.00426a20
mov ecx, dword [ebp + 0xc]
inc eax
push eax
call fcn.0054a880
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x74]
push ebx
call fcn.00547ab0
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x48859b
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [edx + 0x1a0c]
push esi
call fcn.00526d60
mov eax, dword [ebp + 8]
push edi
push esi
lea ecx, [eax + 0x1a0c]
call fcn.00526d60
jmp 0x4885bc
mov ecx, dword [esi + 0xc]
push ecx
call fcn.005b44c3
push esi
call fcn.005b44c3
mov edx, dword [edi + 0xc]
push edx
call fcn.005b44c3
push edi
call fcn.005b44c3
add esp, 0x10
mov eax, dword [esp + 0x18]
xor edi, edi
mov esi, eax
mov dword [eax + 4], edi
mov edx, dword [ebx]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x80]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x14]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
fld qword [0x5e7c10]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x98]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x28], edx
fdiv qword [esp + 0x20]
test eax, eax
fstp qword [esi + 0x2c]
fld qword [0x5e7c10]
fdiv qword [esp + 0x28]
fstp qword [esi + 0x34]
je 0x488657
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push eax
add ecx, 0x1a0c
call fcn.00526d60
jmp 0x488669
mov edx, dword [esi + 0xc]
push edx
call fcn.005b44c3
push esi
call fcn.005b44c3
add esp, 8
test edi, edi
je 0x48866f
xor edi, edi
xor esi, esi
cmp dword [esp + 0x1c], esi
jne 0x488195
xor eax, eax
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x108]
pop edi
pop esi
mov eax, 0xc0000000
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14