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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d6d1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x64], esi
call fcn.0054a8e0
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x480646
push 0x15a4
call fcn.005b449a
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov dword [esp + 0xd8], ebx
je 0x480079
mov ecx, eax
call fcn.00544b10
mov dword [esp + 0x14], eax
jmp 0x48007d
mov dword [esp + 0x14], ebx
mov eax, dword [esi + 0x268]
lea ecx, [esi + 0x268]
mov dword [esp + 0xd8], 0xffffffff
call dword [eax + 0xb8]
mov edi, 1
cmp eax, edi
jne 0x480639
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x300]
xor edx, edx
cmp eax, edi
sete dl
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00549010
cmp eax, ebx
mov dword [esp + 0xc], eax
ja 0x4800e3
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x480646
mov eax, dword [ecx]
push edi
call dword [eax]
jmp 0x480646
push 0x14
call fcn.005b449a
mov esi, eax
push 4
mov dword [esp + 0x30], esi
mov dword [esi], 2
mov dword [esi + 8], edi
call fcn.005b449a
mov ecx, dword [ebp + 0x18]
push 0x14
mov dword [esi + 0xc], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x10], edi
call fcn.005b449a
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], edi
lea edx, [eax*4]
mov dword [edi], 1
push edx
mov dword [edi + 8], eax
call fcn.005b449a
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov dword [edi + 0xc], eax
mov dword [edi + 4], ebx
mov dword [edi + 0x10], 1
call fcn.005498e0
mov ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x480215
mov dword [esp + 0x10], ebx
jmp 0x48016b
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov esi, dword [eax + 8]
cmp eax, ebx
jne 0x48017b
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x480182
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], ecx
cmp esi, ebx
je 0x48020b
mov ecx, esi
call fcn.0054a0f0
test eax, eax
je 0x48020b
mov ecx, esi
call fcn.0054a160
test eax, eax
je 0x48020b
cmp dword [ebp + 0x10], ebx
je 0x4801b0
mov ecx, esi
call fcn.00549ff0
test eax, eax
je 0x48020b
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, esi
mov dword [eax + edx], esi
add eax, 4
mov dword [esp + 0x10], eax
call fcn.00549f80
cmp eax, 0xa
jne 0x4801db
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.00546a40
jmp 0x4801ea
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push 1
push ebx
push eax
mov ecx, esi
call dword [edx + 0x1c]
cmp dword [esp + 0x24], ebx
je 0x48020b
cmp dword [ebp + 0x14], ebx
je 0x4801ff
push ebx
mov ecx, esi
call fcn.0054a100
jmp 0x48020b
mov ecx, dword [esp + 0x18]
push 1
push esi
call fcn.00547c20
cmp dword [esp + 0xc], ebx
jne 0x480163
push 0x8dc
call fcn.005b449a
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0xd8], 1
je 0x480244
mov ecx, eax
call fcn.005882b0
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x48024a
mov dword [esp + 0x10], ebx
mov esi, ebx
mov ecx, dword [ebp + 0xc]
mov edi, dword [esi]
mov dword [esp + 0xd8], 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 + 0x64]
lea edi, [esp + 0xbc]
lea edx, [esp + 0xbc]
lea esi, [ecx + 0x3cc]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.0058b3b0
mov ecx, dword [esp + 0x14]
push ebx
call fcn.00547260
mov edi, eax
cmp edi, ebx
mov dword [esp + 0xc], edi
je 0x4804a0
jmp 0x4802eb
mov edi, dword [esp + 0xc]
mov ecx, dword [edi]
call fcn.00549f80
cmp eax, 0xb
jne 0x480489
mov ecx, dword [edi]
call fcn.005655a0
cmp eax, ebx
je 0x480489
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x34], esi
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x3c], esi
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ecx
mov ecx, dword [edi]
mov dword [esp + 0x44], esi
call fcn.00565610
mov esi, eax
cmp esi, ebx
je 0x480485
mov eax, dword [esi]
push 0x38
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 0x18]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
call fcn.005b449a
add esp, 4
cmp eax, ebx
je 0x4803ce
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], 0x2710
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
jmp 0x4803d0
xor eax, eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x10]
push eax
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], edi
call fcn.0058b430
mov eax, dword [esp + 0xc]
push esi
mov ecx, dword [eax]
call fcn.00565610
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
cmp esi, ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
jne 0x48034e
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push ebx
push edi
call fcn.00547400
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x4802e7
mov edi, 0x2710
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], edi
mov edx, dword [esi]
lea eax, [esp + 0x68]
mov ecx, esi
push eax
call dword [edx + 0x34]
fld qword [esp + 0x84]
fadd qword [esp + 0x68]
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb0], 0
push ecx
mov ecx, esi
fmul qword [0x5e7c18]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], edi
fstp qword [esp + 0xa4]
fld qword [esp + 0x90]
fadd qword [esp + 0x74]
fmul qword [0x5e7c18]
fstp qword [esp + 0xac]
call fcn.0054a430
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
push esi
push edx
call fcn.0054aec0
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x4805ed
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea esi, [ecx + 0x1a0c]
push edi
mov ecx, esi
call fcn.00526d60
cmp dword [esp + 0x24], ebx
je 0x4805d5
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edx
push edi
call fcn.00526d60
jmp 0x480612
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
push eax
call fcn.005b44c3
push esi
call fcn.005b44c3
add esp, 8
jmp 0x480612
mov ecx, dword [edi + 0xc]
push ecx
call fcn.005b44c3
push edi
call fcn.005b44c3
mov esi, dword [esp + 0x24]
mov edx, dword [esi + 0xc]
push edx
call fcn.005b44c3
push esi
call fcn.005b44c3
add esp, 0x10
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x480620
mov eax, dword [ecx]
push 1
call dword [eax]
xor eax, eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x480646
mov edx, dword [ecx]
push edi
call dword [edx]
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
mov eax, 0xc0000000
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14