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

Disassembly:
push 0xffffffffffffffff
push 0x525a10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x30], 0x530160
mov word [esp + 0x34], 0xffff
mov word [esp + 0x36], si
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], esi
call fcn.004f5840
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 1
call fcn.004f5840
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 2
call fcn.004f5840
push 6
push 0x54bba8
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 3
call fcn.004f58e0
push 6
push 0x54bc24
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 4
call fcn.004f58e0
mov al, 0xe1
push 8
mov byte [esp + 0x42], al
mov byte [esp + 0x43], al
mov byte [esp + 0x44], al
mov byte [esp + 0x45], al
mov al, 0xe2
push 0x54bc18
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 5
mov byte [esp + 0x40], 3
mov byte [esp + 0x41], 1
mov byte [esp + 0x42], 2
mov byte [esp + 0x43], 6
mov byte [esp + 0x44], 8
mov byte [esp + 0x45], 9
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], al
mov byte [esp + 0x4c], al
mov byte [esp + 0x4d], al
call fcn.004f5de0
mov edi, dword [esp + 0x58]
lea ecx, [esp + 0x18]
movsx eax, di
mov al, byte [esp + eax + 0x38]
push eax
push 4
mov byte [esp + 0x2c], al
call fcn.004f5c80
push edi
push 5
lea ecx, [esp + 0x28]
call fcn.004f5c80
push edi
push 5
lea ecx, [esp + 0x24]
call fcn.004f5c80
lea eax, [esp + 0x18]
push eax
call fcn.0047d920
add esp, 4
xor edi, edi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004f5850
call fcn.0047d9a0
add esp, 8
lea ecx, [esp + 0x14]
call fcn.004f5d00
test ax, ax
jne 0x4803b1
inc edi
cmp di, 3
jl 0x48037e
lea ecx, [esp + 0x14]
call fcn.004f5d00
test ax, ax
jne 0x48044f
push esi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push 6
push 0x54bc10
call fcn.004f58e0
push ecx
mov byte [esp + 0x60], 6
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54bc08
call fcn.004f58e0
mov ecx, 0x5540a8
mov byte [esp + 0x60], 5
call fcn.004f91a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 4
call fcn.004f5980
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 3
call fcn.004f5980
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 2
call fcn.004f5980
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 1
call fcn.004f5980
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 0
call fcn.004f5980
or ax, 0xffff
jmp 0x4809cb
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004f5850
mov ecx, dword [0x5540b4]
call fcn.004ff740
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x54bc00
call fcn.004f58e0
mov ecx, dword [0x5540b4]
call fcn.004ff8c0
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x54bbf8
call fcn.004f58e0
mov ecx, dword [0x5540b4]
call fcn.004ff8c0
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x54bbf0
call fcn.004f58e0
mov ecx, dword [0x5540b4]
call fcn.004ff8c0
mov cl, byte [esp + 0x58]
sub esp, 0x10
mov ebp, esp
mov edi, 0x554048
xor eax, eax
mov dword [esp + 0x38], esp
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x4804fc
call fcn.0051414b
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x480522
mov al, byte [ecx - 1]
test al, al
je 0x480522
cmp al, 0xff
je 0x480522
cmp ebx, esi
jne 0x480546
dec al
mov byte [ecx - 1], al
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
jmp 0x480574
cmp ebx, esi
jne 0x480531
push 1
mov ecx, ebp
call fcn.004013e0
jmp 0x480574
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x48053d
cmp eax, ebx
jae 0x48054e
push 1
mov ecx, ebp
call fcn.004013e0
push ebx
mov ecx, ebp
call fcn.00401a80
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x554048
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
xor esi, esi
mov byte [ebp], 0
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x68], 7
call fcn.004f5850
mov ecx, dword [0x5540b4]
mov byte [esp + 0x64], 5
call fcn.004ffa90
mov ecx, dword [0x5540b4]
call fcn.004ffe70
cmp ax, 2
je 0x480982
cmp ax, si
jne 0x480736
push esi
push 3
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x44], esp
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x54bc10
call fcn.004f58e0
push edi
call fcn.004fd210
sub esp, 8
mov byte [esp + 0x78], 8
mov edi, esp
mov dword [esp + 0x50], esp
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x54bbe8
call fcn.004f58e0
push edi
call fcn.004fd210
add esp, 8
mov ecx, 0x5540a8
mov byte [esp + 0x78], 5
call fcn.004f90f0
cmp ax, 2
je 0x48044f
push 8
push 0x54bbdc
lea ecx, [esp + 0x18]
call fcn.004f5de0
mov ecx, dword [esp + 0x24]
push ecx
push 4
lea ecx, [esp + 0x18]
call fcn.004f5c80
mov eax, dword [esp + 0x58]
cmp ax, 5
jle 0x480661
movsx eax, ax
add eax, 0xfffffffa
and eax, 0x80000003
jns 0x48065c
dec eax
or eax, 0xfffffffc
inc eax
inc al
push eax
jmp 0x480666
push 0xff
push 6
lea ecx, [esp + 0x18]
call fcn.004f5c80
push esi
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54bc10
call fcn.004f58e0
push ecx
mov byte [esp + 0x60], 9
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54bbd4
call fcn.004f58e0
mov ecx, 0x5540a8
mov byte [esp + 0x60], 5
call fcn.004f91a0
lea edx, [esp + 0x10]
push edx
call fcn.0047d920
add esp, 4
lea eax, [esp + 0x14]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004f5850
call fcn.0047d9a0
push 0x7d0
call fcn.00446990
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.004f5d00
push esi
push 1
push ecx
test ax, ax
mov ecx, esp
je 0x480879
mov dword [esp + 0x38], esp
push 6
push 0x54bc10
call fcn.004f58e0
push ecx
mov byte [esp + 0x60], 0xb
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54bbcc
call fcn.004f58e0
mov ecx, 0x5540a8
mov byte [esp + 0x60], 5
call fcn.004f91a0
jmp 0x48044f
cmp ax, 1
jne 0x48044f
push esi
push 3
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x44], esp
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x54bc10
call fcn.004f58e0
push edi
call fcn.004fd210
sub esp, 8
mov byte [esp + 0x78], 0xc
mov edi, esp
mov dword [esp + 0x50], esp
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x54bbe8
call fcn.004f58e0
push edi
call fcn.004fd210
add esp, 8
mov ecx, 0x5540a8
mov byte [esp + 0x78], 5
call fcn.004f90f0
cmp ax, 2
je 0x48044f
push 8
push 0x54bbc0
lea ecx, [esp + 0x18]
call fcn.004f5de0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push 4
call fcn.004f5c80
push esi
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54bc10
call fcn.004f58e0
push ecx
mov byte [esp + 0x60], 0xd
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54bbb8
call fcn.004f58e0
mov ecx, 0x5540a8
mov byte [esp + 0x60], 5
call fcn.004f91a0
lea ecx, [esp + 0x10]
push ecx
call fcn.0047d920
add esp, 4
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004f5850
call fcn.0047d9a0
push 0x7d0
call fcn.00446990
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.004f5d00
push esi
push 1
push ecx
test ax, ax
mov ecx, esp
je 0x4808ff
mov dword [esp + 0x38], esp
push 6
push 0x54bc10
call fcn.004f58e0
push ecx
mov byte [esp + 0x60], 0xf
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x54bbb0
jmp 0x48071d
mov dword [esp + 0x64], esp
push 6
push 0x54bc10
call fcn.004f58e0
push ecx
mov byte [esp + 0x60], 0xa
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54bc08
call fcn.004f58e0
mov ecx, 0x5540a8
mov byte [esp + 0x60], 5
call fcn.004f91a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 4
call fcn.004f5980
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 3
call fcn.004f5980
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 2
call fcn.004f5980
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 1
call fcn.004f5980
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 0
call fcn.004f5980
or ax, 0xffff
jmp 0x4809cb
mov dword [esp + 0x64], esp
push 6
push 0x54bc10
call fcn.004f58e0
push ecx
mov byte [esp + 0x60], 0xe
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x54bc08
call fcn.004f58e0
mov ecx, 0x5540a8
mov byte [esp + 0x60], 5
call fcn.004f91a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 4
call fcn.004f5980
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 3
call fcn.004f5980
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 2
call fcn.004f5980
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 1
call fcn.004f5980
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 0
call fcn.004f5980
or ax, 0xffff
jmp 0x4809cb
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 4
call fcn.004f5980
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 3
call fcn.004f5980
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 2
call fcn.004f5980
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 1
call fcn.004f5980
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 0
call fcn.004f5980
xor ax, ax
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 4