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

Disassembly:
push 0xffffffffffffffff
push 0x576d27
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a7564]
xor eax, esp
push eax
lea eax, [esp + 0x1ac]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c4]
mov ebx, ecx
mov eax, esi
mov dword [esp + 0x18], ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c4b40
sub eax, edx
mov ebp, eax
cmp ebp, 0x3c
jle 0x4c4bc6
movzx eax, byte [esp + 0x1bc]
lea ebx, [ebx + eax*4 + 0x96e0]
nop
lea edi, [esi + 0x3c]
push edi
push esi
call dword [sym.imp.USER32.dll_CharPrevA]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
xor ecx, ecx
cmp edi, eax
sete cl
lea edx, [esp + 0xa8]
add ecx, 0x3b
mov edi, ecx
push edi
push esi
push edx
call fcn.0055bf40
mov edx, dword [esp + 0x1cc]
mov ecx, dword [ebx]
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
push edx
mov byte [esp + edi + 0xb8], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
lea edx, [esp + 0xb8]
push edx
call eax
add esi, edi
sub ebp, edi
cmp byte [esi], 0x20
jne 0x4c4bc1
inc esi
cmp ebp, 0x3c
jg 0x4c4b60
xor ebx, ebx
cmp ebp, ebx
jle 0x4c4e45
mov eax, esi
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c4be5
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.0040b430
push 0xa
push ebx
push str.ItemDBIdx:
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c0], ebx
xor ebp, ebp
call fcn.00429190
mov edi, eax
cmp edi, ebx
jl 0x4c4e06
push 1
push ebx
push 0x5862f0
lea ecx, [esp + 0x28]
call fcn.00429190
push eax
push ebx
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x28]
call fcn.00429920
mov edx, dword [esp + 0x30]
push edx
add edi, 0xa
push edi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c0], 1
call fcn.00429920
push 1
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x1c0], 2
mov byte [esp + 0x20], 0xfa
call fcn.00429190
mov edi, eax
cmp edi, ebx
jl 0x4c4dbd
push edi
push ebx
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x44]
call fcn.00429920
mov eax, dword [esp + 0x4c]
push eax
inc edi
push edi
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x1c0], 3
call fcn.00429920
mov eax, dword [esp + 0x90]
mov edi, 0x10
mov byte [esp + 0x1b4], 4
cmp dword [esp + 0xa4], edi
jae 0x4c4cd9
lea eax, [esp + 0x90]
push eax
call fcn.0055b22d
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], edi
jae 0x4c4cf2
lea eax, [esp + 0x58]
push eax
call fcn.0055b22d
add esp, 4
cmp ebp, ebx
jbe 0x4c4d7e
cmp eax, ebx
jbe 0x4c4d7e
push eax
mov ecx, 0x6b79b8
call fcn.0049ebe0
cmp eax, ebx
je 0x4c4d7e
lea edi, [eax + 2]
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c4d20
sub eax, edx
mov edx, dword [esp + 0x84]
add edx, eax
cmp edx, 0x80
jae 0x4c4d79
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c4d40
sub eax, edx
push eax
push ebx
push esi
call fcn.0055a690
mov eax, dword [esp + 0x80]
add esp, 0xc
cmp dword [esp + 0x88], 0x10
jae 0x4c4d69
lea eax, [esp + 0x74]
push edi
push eax
push str._s:_s
push esi
call fcn.0055adac
add esp, 0x10
mov edi, 0x10
cmp dword [esp + 0x6c], edi
jb 0x4c4d91
mov eax, dword [esp + 0x58]
push eax
call fcn.0055a75b
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], 0
cmp dword [esp + 0xa4], edi
jb 0x4c4dc2
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0055a75b
add esp, 4
jmp 0x4c4dc2
mov edi, 0x10
cmp dword [esp + 0x50], edi
jb 0x4c4dd5
mov edx, dword [esp + 0x3c]
push edx
call fcn.0055a75b
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], 0
mov byte [esp + 0x1b4], 0
cmp dword [esp + 0x88], edi
jb 0x4c4e0b
mov eax, dword [esp + 0x74]
push eax
call fcn.0055a75b
add esp, 4
jmp 0x4c4e0b
mov edi, 0x10
movzx ecx, byte [esp + 0x1bc]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + ecx*4 + 0x96e0]
mov edx, dword [esp + 0x1c0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
push ebp
push ebx
push 0xffffffffffffffff
push edx
push esi
call eax
cmp dword [esp + 0x34], edi
jb 0x4c4e45
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0055a75b
add esp, 4
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0055a677
add esp, 0x1a4
ret 0xc