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

Disassembly:
push 0xffffffffffffffff
push 0x5d7066
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
xor ebx, ebx
push ebx
push esi
call fcn.0047f4f0
cmp eax, ebx
mov dword [esp + 0x2c], eax
ja 0x485d89
pop esi
pop ebp
mov eax, 0xc0000000
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 0x18
mov ecx, esi
call fcn.0054a8e0
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x18], ebp
jne 0x485db3
pop esi
pop ebp
mov eax, 0xc0000000
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 0x18
push edi
push 1
mov ecx, ebp
call fcn.00549600
push 1
mov ecx, ebp
mov esi, eax
call fcn.00549600
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x2c], edi
jbe 0x486051
push 0x14
call fcn.005b449a
mov ebx, eax
lea eax, [esi*4]
push eax
mov dword [ebx], 2
mov dword [ebx + 8], esi
call fcn.005b449a
mov ecx, dword [esp + 0x80]
push 0x14
mov dword [ebx + 0xc], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 0x10], 1
call fcn.005b449a
mov esi, eax
lea edx, [edi*4]
push edx
mov dword [esp + 0x28], esi
mov dword [esi], 1
mov dword [esi + 8], edi
call fcn.005b449a
add esp, 0x10
mov ecx, ebp
mov dword [esi + 0xc], eax
mov dword [esi + 4], 0
call fcn.00548df0
mov ebp, eax
xor ecx, ecx
mov dword [esp + 0x28], ebp
mov eax, dword [ebp]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 4]
cmp eax, ecx
je 0x486004
mov dword [esp + 0x14], ecx
jmp 0x485e68
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + 8]
test eax, eax
jne 0x485e78
mov edx, dword [ebp + 4]
mov dword [esp + 0x10], edx
jmp 0x485e7f
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
ja 0x486000
test edi, edi
je 0x485ff4
mov ecx, edi
call fcn.0054a0f0
test eax, eax
je 0x485ff4
mov ecx, edi
call fcn.00549f80
cmp eax, 0xc
jne 0x485ff4
push 0x15a4
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x2710
call fcn.005b449a
add esp, 4
mov dword [esp + 0x34], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x5c], ebp
je 0x485f13
mov ecx, eax
call fcn.00544b10
mov ebp, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0xffffffff
push ecx
mov ecx, edi
call fcn.0054a300
mov edx, dword [edi]
push 1
push 0
push ebp
mov ecx, edi
call dword [edx + 0x1c]
push 0
mov ecx, ebp
call fcn.00547260
mov esi, dword [eax]
push 0x944
call fcn.005b449a
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x5c], 1
je 0x485f67
push esi
mov ecx, eax
call fcn.0055f5c0
mov esi, eax
jmp 0x485f69
xor esi, esi
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00426a20
inc eax
mov ecx, esi
push eax
call fcn.00549f60
mov ecx, dword [esp + 0x68]
call fcn.00426a20
mov ecx, dword [esp + 0x68]
inc eax
push eax
call fcn.0054a880
push 1
mov ecx, esi
call fcn.0054a000
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.0054a430
test ebp, ebp
je 0x485fb9
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov eax, dword [esp + 0x18]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x18]
mov dword [ecx + eax], edi
mov edx, dword [ebx + 0xc]
mov ecx, edi
mov dword [eax + edx], esi
add eax, 4
mov dword [esp + 0x18], eax
call fcn.0054a100
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
push esi
push eax
call fcn.0054aec0
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x485e60
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x48602e
mov ecx, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x6c]
lea ebp, [ecx + 0x1a0c]
push ebx
mov ecx, ebp
call fcn.00526d60
push esi
push ebx
mov ecx, ebp
call fcn.00526d60
jmp 0x48604f
mov edx, dword [ebx + 0xc]
push edx
call fcn.005b44c3
push ebx
call fcn.005b44c3
mov eax, dword [esi + 0xc]
push eax
call fcn.005b44c3
push esi
call fcn.005b44c3
add esp, 0x10
xor ebx, ebx
push 0x44
call fcn.005b449a
add esp, 4
cmp eax, ebx
je 0x48608e
mov dword [eax + 0x10], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], 0x2710
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x40], ebx
mov esi, eax
jmp 0x486090
xor esi, esi
mov eax, dword [esp + 0x30]
mov dword [esi], 7
mov dword [esi + 8], eax
lea ecx, [eax*4]
push ecx
call fcn.005b449a
mov edx, dword [esp + 0x7c]
add esp, 4
cmp edi, ebx
mov dword [esi + 0xc], eax
mov dword [esi + 4], edx
jbe 0x4860be
mov dword [esi + 4], ebx
mov edi, dword [esp + 0x6c]
fld qword [0x5e7c10]
mov eax, dword [edi]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 4]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 8]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
fdiv qword [eax]
fstp qword [esi + 0x2c]
fld qword [0x5e7c10]
fdiv qword [eax + 8]
fstp qword [esi + 0x34]
fld qword [0x5e7c10]
fdiv qword [eax + 0x10]
fstp qword [esi + 0x3c]
call fcn.00548df0
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
test ebp, ebp
mov dword [esp + 0x6c], eax
je 0x486189
mov dword [esp + 0x78], ecx
jmp 0x48613c
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [ebp + 8]
test ebp, ebp
jne 0x486148
mov ebp, dword [eax + 4]
jmp 0x48614b
mov ebp, dword [ebp + 4]
mov eax, dword [esp + 0x2c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x30], ecx
ja 0x486189
test ebx, ebx
je 0x486185
mov ecx, ebx
call fcn.0054a0f0
test eax, eax
je 0x486185
mov eax, dword [esp + 0x70]
mov edx, dword [ebx]
push eax
push edi
mov ecx, ebx
call dword [edx + 0x14]
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x78]
mov dword [eax + ecx], ebx
add eax, 4
mov dword [esp + 0x78], eax
test ebp, ebp
jne 0x486134
mov eax, dword [esp + 0x74]
pop edi
test eax, eax
je 0x4861a9
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
push esi
push edx
lea ecx, [eax + 0x1a0c]
call fcn.00526d60
jmp 0x4861bb
mov ecx, dword [esi + 0xc]
push ecx
call fcn.005b44c3
push esi
call fcn.005b44c3
add esp, 8
mov ecx, dword [esp + 0x50]
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0x18