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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d6d5a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
call fcn.0054a8e0
mov esi, eax
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x5c], esi
je 0x480c9b
push 0x15a4
call fcn.005b449a
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x160], ebx
je 0x4806db
mov ecx, eax
call fcn.00544b10
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x4806e1
mov dword [esp + 0x18], ebx
mov edi, ebx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x160], 0xffffffff
mov edx, dword [eax + 0x92c]
lea ecx, [eax + 0x92c]
call dword [edx + 0xb8]
cmp eax, 1
jne 0x480c8f
push ebx
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.00549010
mov ecx, esi
mov edi, eax
call fcn.00548e00
cmp edi, eax
mov ecx, esi
jae 0x48072d
call fcn.005498e0
jmp 0x480732
call fcn.00548df0
mov esi, dword [eax + 4]
mov dword [esp + 0x10], eax
cmp esi, ebx
je 0x480789
mov edi, dword [esi + 8]
cmp esi, ebx
jne 0x48074d
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 4]
jmp 0x480750
mov esi, dword [esi + 4]
cmp edi, ebx
je 0x48077f
mov ecx, edi
call fcn.0054a0f0
test eax, eax
je 0x48077f
mov ecx, edi
call fcn.0054a160
test eax, eax
je 0x48077f
cmp dword [ebp + 0x10], 1
jne 0x48077b
mov ecx, edi
call fcn.00549ff0
cmp eax, ebx
je 0x48077f
inc dword [esp + 0x14]
cmp esi, ebx
jne 0x48073d
cmp dword [esp + 0x14], ebx
ja 0x4807a0
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x480c9b
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x480c9b
push 0x14
call fcn.005b449a
mov esi, eax
mov edi, 1
push 4
mov dword [esp + 0x28], esi
mov dword [esi], 2
mov dword [esi + 8], edi
call fcn.005b449a
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x10], edi
mov dword [esi + 4], eax
mov edi, dword [ecx + 4]
add esp, 8
cmp edi, ebx
je 0x480847
mov esi, dword [edi + 8]
cmp edi, ebx
jne 0x4807ec
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 4]
jmp 0x4807ef
mov edi, dword [edi + 4]
cmp esi, ebx
je 0x480843
mov ecx, esi
call fcn.0054a0f0
test eax, eax
je 0x480843
mov ecx, esi
call fcn.0054a160
test eax, eax
je 0x480843
cmp dword [ebp + 0x10], 1
jne 0x48081a
mov ecx, esi
call fcn.00549ff0
cmp eax, ebx
je 0x480843
mov ecx, esi
call fcn.00549f80
cmp eax, 0xa
jne 0x480834
mov eax, dword [esp + 0x18]
mov ecx, esi
push eax
call fcn.00546a40
jmp 0x480843
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
push 1
push ebx
push eax
mov ecx, esi
call dword [edx + 0x1c]
cmp edi, ebx
jne 0x4807dc
push 0x954
call fcn.005b449a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x160], 1
je 0x480876
mov ecx, eax
call fcn.0058b580
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x48087c
mov dword [esp + 0x10], ebx
mov esi, ebx
mov ecx, dword [ebp + 0xc]
mov edi, dword [esi]
mov dword [esp + 0x160], 0xffffffff
call fcn.0054a870
push eax
mov ecx, esi
call dword [edi + 0x40]
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.0054a870
push eax
mov ecx, edi
call fcn.0054ade0
mov ecx, dword [eax]
mov edi, dword [esi]
call fcn.0054a830
push eax
mov ecx, esi
call dword [edi + 0x3c]
mov ecx, dword [ebp + 0xc]
call fcn.00426a20
lea edi, [eax + 1]
mov ecx, esi
push edi
call fcn.00549f60
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0054a880
mov ecx, dword [esp + 0x1c]
lea edi, [esp + 0xd0]
lea edx, [esp + 0xd0]
lea esi, [ecx + 0xfac]
mov ecx, 0x22
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
push edx
mov ecx, edi
call fcn.00591960
mov ecx, dword [esp + 0x18]
push ebx
call fcn.00547260
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x480b3f
jmp 0x48091d
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
call fcn.00549f80
cmp eax, 0xb
jne 0x480b28
mov ecx, dword [esi]
call fcn.005655a0
cmp eax, ebx
je 0x480b28
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x2c], edi
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x34], edi
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esi]
mov dword [esp + 0x3c], edi
call fcn.00565610
mov edi, eax
cmp edi, ebx
je 0x480b24
mov eax, dword [edi]
push 0x38
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
call fcn.005b449a
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebx
mov dword [esp + 0x160], 2
je 0x480a5e
lea ecx, [esi + 0x1c]
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x9c], 0
mov dword [ecx], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], 0x2710
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], ebx
call fcn.0042cf80
mov eax, esi
jmp 0x480a60
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x10]
push eax
mov dword [esp + 0x164], 0xffffffff
mov dword [eax + 0x34], esi
call fcn.00591af0
mov edx, dword [esp + 0x14]
push edi
mov ecx, dword [edx]
call fcn.00565610
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov edi, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x54]
cmp edi, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
jne 0x480980
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push esi
call fcn.00547400
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x480919
mov esi, 0x2710
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], esi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x34]
fld qword [esp + 0x7c]
fadd qword [esp + 0x60]
lea edx, [esp + 0xb4]
mov ecx, edi
push edx
mov dword [esp + 0xc8], 0
fmul qword [0x5e7c18]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], esi
fstp qword [esp + 0xb8]
fld qword [esp + 0x88]
fadd qword [esp + 0x6c]
fmul qword [0x5e7c18]
fstp qword [esp + 0xc0]
call fcn.0054a430
mov eax, dword [esp + 0x5c]
mov ecx, dword [ebp + 0xc]
push edi
push eax
call fcn.0054aec0
mov esi, dword [esp + 0x20]
mov eax, dword [ebp + 0x14]
cmp eax, ebx
mov ecx, dword [esi + 0xc]
mov dword [ecx], edi
je 0x480c56
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push esi
push edx
lea ecx, [eax + 0x1a0c]
call fcn.00526d60
jmp 0x480c68
mov ecx, dword [esi + 0xc]
push ecx
call fcn.005b44c3
push esi
call fcn.005b44c3
add esp, 8
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x480c76
mov edx, dword [ecx]
push 1
call dword [edx]
xor eax, eax
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp edi, ebx
je 0x480c9b
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ecx, dword [esp + 0x158]
pop edi
pop esi
mov eax, 0xc0000000
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14