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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e28a4
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x544
mov dword [ebx + 0x20], edi
call fcn.004b6eb3
pop ecx
mov dword [esp + 0x20], eax
and dword [esp + 0x78], 0
test eax, eax
je 0x484ed8
mov esi, eax
call fcn.0048d42e
jmp 0x484eda
xor eax, eax
or dword [esp + 0x78], 0xffffffff
mov dword [ebx + 0x24], eax
mov esi, dword [eax]
mov eax, dword [edi]
mov ecx, edi
add esi, 0x12c
call dword [eax + 0x128]
mov ecx, dword [ebx + 0x24]
push eax
call dword [esi]
mov eax, dword [ebx + 0x20]
add eax, 0x548
cmp dword [eax + 0x18], 8
jb 0x484f0d
mov eax, dword [eax + 4]
jmp 0x484f10
add eax, 4
push dword [ebx + 0x24]
mov ecx, eax
call fcn.0047409d
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 0x56c]
mov eax, dword [eax + 0x570]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x2e8]
mov eax, dword [esp + 0x58]
lea esi, [esp + 0x4c]
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x484f66
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x44], ecx
mov eax, dword [ebx + 0x20]
and dword [esp + 0x14], 0
add eax, 0x588
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004859ac
mov dword [esp + 0x78], 1
cmp dword [esp + 0x30], 0
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 0x59c]
mov esi, dword [eax + 0x584]
jne 0x484fa0
xor eax, eax
jmp 0x484fab
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
sar eax, 2
sub eax, ecx
mov edi, eax
xor edx, edx
lea eax, [edi + esi - 1]
div esi
mov dword [esp + 0x20], edi
test eax, eax
jbe 0x48500e
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
lea edi, [edx + ecx*4]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x30], 0
je 0x484fe6
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
sar eax, 2
cmp dword [esp + 0x18], eax
jb 0x484feb
call fcn.004b7b58
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0xe8]
add dword [esp + 0x14], eax
add dword [esp + 0x18], esi
mov eax, esi
shl eax, 2
add edi, eax
dec dword [esp + 0x1c]
jne 0x484fce
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
lea edx, [esp + 0x5c]
push edx
call dword [eax + 0x264]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
add ecx, eax
add dword [esp + 0x14], ecx
cmp edi, 1
jbe 0x485044
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x26c]
dec edi
imul eax, edi
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x485052
mov eax, dword [esp + 0x14]
jmp 0x48506e
mov ecx, dword [ebx + 0x20]
cmp byte [ecx + 0x581], 0
je 0x485072
cmp eax, dword [esp + 0x14]
lea eax, [esp + 0x28]
jl 0x48506c
lea eax, [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov esi, dword [ebp + 0xc]
add ecx, eax
mov eax, dword [esi]
mov dword [esp + 0x48], ecx
mov ecx, esi
call dword [eax + 0x128]
push 2
lea ecx, [esp + 0x40]
push ecx
push 0
push dword [eax + 0x178]
call dword [0x4e64c4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x88
push 0x80000000
push dword [eax + 0x178]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.0046c6ea
mov edi, dword [ebx + 4]
mov esi, dword [0x4e64ac]
jmp 0x4850df
push edi
call esi
mov edi, eax
push edi
call esi
test eax, eax
jne 0x4850da
mov eax, dword [ebx + 0x20]
cmp byte [eax + 0x598], 0
jne 0x48510d
push 5
push dword [ebx + 4]
call dword [0x4e6508]
push 0
push 1
push 0x86
push edi
call dword [0x4e6490]
lea esi, [esp + 0x2c]
call fcn.0049cd8f
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8