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

Disassembly:
push 0xffffffffffffffff
push 0x5346a3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0xac]
xor ecx, ecx
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x38], ecx
cmp ebx, dword [esi + 0x34]
jne 0x480472
mov edx, dword [esi + 0x4c]
test edx, edx
je 0x480472
mov eax, dword [esi + 0x44]
cmp eax, 0x20
jne 0x48040a
add edx, 0xfffffff9
push edx
mov edx, dword [esi + 0x48]
add edx, 4
push edx
mov ecx, esi
push edi
call fcn.00453e11
jmp 0x48064d
cmp eax, 0x10
jne 0x48041c
lea eax, [edx - 4]
push eax
mov eax, dword [esi + 0x48]
add eax, 2
push eax
jmp 0x4803fd
cmp eax, 8
jne 0x48042d
lea eax, [edx - 0xc]
push eax
mov eax, dword [esi + 0x48]
add eax, 9
jmp 0x480419
cmp eax, 2
jne 0x480456
cmp dword [esi + 0x14], 8
jb 0x48043c
mov ebx, dword [esi]
jmp 0x48043e
mov ebx, esi
mov eax, dword [esi + 0x48]
push ecx
mov ecx, esp
lea eax, [ebx + eax*2]
mov dword [ecx], eax
mov ecx, edi
call fcn.0047e8d5
pop ecx
jmp 0x48064d
mov ecx, esi
cmp eax, 0x80
jne 0x48046c
lea eax, [edx - 3]
push eax
mov eax, dword [esi + 0x48]
add eax, 2
push eax
jmp 0x4803ff
push edx
push dword [esi + 0x48]
jmp 0x4803ff
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ecx
mov word [esp + 0x64], ax
mov dword [esp + 0xa0], ecx
mov ecx, ebx
mov eax, dword [esi + 0x58]
sar ecx, 0x10
movzx edx, bx
shl edx, 5
mov ebx, dword [eax + ecx*4]
cmp dword [ebx + edx + 0x14], 0
jne 0x480634
mov eax, dword [ebx + edx + 8]
and eax, 0x2fffff
cmp eax, dword [ebx + edx + 4]
je 0x480634
mov ecx, dword [ebx + edx + 8]
mov eax, ecx
mov ebp, dword [ebx + edx + 4]
sar eax, 0x16
sub ebp, eax
mov eax, 0x2fffff
and ecx, eax
sub ebp, ecx
mov dword [esp + 0x18], ebp
mov ebp, dword [ebx + edx + 8]
and ebp, eax
add ebp, dword [ebx + edx]
cmp dword [esi + 0x14], 8
jb 0x4804ea
mov eax, dword [esi]
jmp 0x4804ec
mov eax, esi
lea ebx, [eax + ebp*2]
push 0x3c
push ebx
call fcn.00508d5a
mov edx, dword [esp + 0x20]
pop ecx
pop ecx
test eax, eax
je 0x480600
sub eax, ebx
sar eax, 1
cmp eax, edx
jge 0x480600
cmp dword [esi + 0x14], 8
jb 0x48051b
mov ecx, dword [esi]
jmp 0x48051d
mov ecx, esi
mov eax, dword [esi + 0x50]
and dword [esp + 0x1c], 0
or dword [esp + 0x20], 0xffffffff
and dword [esp + 0x5c], 0
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x60], 7
mov word [esp + 0x4c], ax
lea ebx, [edx + ebp]
mov byte [esp + 0xa0], 1
cmp ebp, ebx
jge 0x4805fa
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x1c]
call fcn.0047f9d7
cmp dword [esp + 0x3c], 2
jne 0x48059c
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + eax*2]
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x80]
call fcn.0047e8d5
pop ecx
mov byte [esp + 0xa0], 2
jmp 0x4805ca
cmp dword [esp + 0x3c], 8
jne 0x4805f0
mov eax, dword [esp + 0x44]
mov ecx, esi
add eax, 0xfffffff4
push eax
mov eax, dword [esp + 0x44]
add eax, 9
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00453e11
mov byte [esp + 0xa0], 3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
call fcn.00454316
push 0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xa8], 1
call fcn.00451108
cmp dword [esp + 0x24], ebx
jl 0x48055d
lea ecx, [esp + 0x4c]
jmp 0x48062b
cmp dword [esi + 0x14], 8
jb 0x480608
mov esi, dword [esi]
push ecx
mov ecx, esp
lea eax, [esi + ebp*2]
mov dword [ecx], eax
lea ecx, [esp + 0x80]
call fcn.0047e8d5
pop ecx
push eax
lea ecx, [esp + 0x68]
call fcn.00461635
lea ecx, [esp + 0x7c]
push 0
push 1
call fcn.00451108
lea eax, [esp + 0x64]
mov ecx, edi
push eax
call fcn.0045056e
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.00451108
mov eax, edi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00504075
add esp, 0x90
ret 8