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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d0a00
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov ecx, dword [ebp + 8]
call fcn.00491bf0
lea ecx, [esp + 0x24]
call fcn.00491850
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], edi
call fcn.004964e0
cmp dword [ebp + 0xc], 1
mov byte [esp + 0x78], 1
jne 0x480a0a
lea ecx, [esp + 0x24]
call fcn.00491bf0
push 0xffffffffffffffff
push 0x51395c
lea ecx, [esp + 0x30]
call fcn.00473ec0
push 0xffffffffffffffff
push 0x5139c0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0x10
call fcn.004748c0
push 0xffffffffffffffff
mov bl, 2
push 0x5139b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], bl
call fcn.004748c0
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 3
call fcn.00491ae0
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], bl
call fcn.004732d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 1
call fcn.004732d0
push edi
push 0xffffffffffffffff
call fcn.00477e50
push eax
call fcn.004780f0
add esp, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.004748e0
push 0xffffffffffffffff
mov bl, 4
push 0x513964
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], bl
call fcn.004748c0
push edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 5
call fcn.00491ae0
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], bl
call fcn.004732d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 1
call fcn.004732d0
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00491b40
lea ecx, [esp + 0x24]
call fcn.00491bf0
push 0xffffffffffffffff
push 0x513984
lea ecx, [esp + 0x30]
call fcn.00473ec0
mov eax, dword [esi + 8]
cmp eax, edi
je 0x480a32
mov edx, dword [eax - 0xc]
shr edx, 2
jne 0x480a3f
mov dword [esp + 0x24], 0x31
jmp 0x480bae
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], 0x30
call fcn.00491850
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 6
call fcn.00491850
mov eax, dword [esi + 8]
cmp eax, edi
mov byte [esp + 0x78], 7
jne 0x480a70
mov dword [esp + 0x10], edi
jmp 0x480a7a
mov eax, dword [eax - 0xc]
shr eax, 2
mov dword [esp + 0x10], eax
xor ebx, ebx
cmp dword [esp + 0x10], edi
jle 0x480b92
push ebx
mov ecx, esi
call fcn.00492900
mov esi, eax
cmp esi, edi
je 0x480b81
lea ecx, [esp + 0x3c]
call fcn.00491bf0
push 0xffffffffffffffff
push 0x513994
lea ecx, [esp + 0x48]
call fcn.00473ec0
lea ecx, [esp + 0x4c]
call fcn.00473330
push 0xffffffffffffffff
push 0x5139c8
lea ecx, [esp + 0x24]
call fcn.00473ec0
push esi
lea ecx, [esp + 0x24]
call fcn.00474c20
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
call fcn.00491b10
push 0xffffffffffffffff
push 0x5139d0
lea ecx, [esp + 0x24]
call fcn.00473ec0
add esi, 4
mov ecx, esi
call fcn.0047d3a0
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x28]
call fcn.00473ec0
push edi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x44]
call fcn.00491b10
cmp word [esi], di
jne 0x480b27
mov dword [esp + 0x3c], 0x31
jmp 0x480b73
lea ecx, [esp + 0x54]
mov dword [esp + 0x3c], 0x30
call fcn.00491bf0
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov dword [esp + 0x58], edi
call fcn.0047de50
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x7c], 8
call fcn.00474c20
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 7
call fcn.004732d0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x40]
call fcn.00491b40
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00491b40
mov esi, dword [esp + 0x18]
add ebx, 1
cmp ebx, dword [esp + 0x10]
jl 0x480a86
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 6
call fcn.004926f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 1
call fcn.004926f0
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x24]
push edx
call fcn.00491b40
mov eax, dword [esi + 8]
cmp eax, edi
jne 0x480bc6
xor esi, esi
jmp 0x480bcc
mov esi, dword [eax - 0xc]
shr esi, 2
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 9
call fcn.004732d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 0
call fcn.004732d0
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], 0xffffffff
call fcn.004926f0
mov eax, esi
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