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

Disassembly:
sub esp, 0x194
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1b0]
mov ebx, ecx
mov eax, edi
mov dword [esp + 0x14], ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c44e0
sub eax, edx
mov ebp, eax
cmp ebp, 0x3c
jle 0x4c4564
movzx eax, byte [esp + 0x1a8]
lea ebx, [ebx + eax*4 + 0x96e0]
nop
lea esi, [edi + 0x3c]
push esi
push edi
call dword [sym.imp.USER32.dll_CharPrevA]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
xor ecx, ecx
cmp esi, eax
sete cl
lea edx, [esp + 0xa4]
lea esi, [ecx + 0x3b]
push esi
push edi
push edx
call fcn.00562e60
mov edx, dword [esp + 0x1b8]
mov ecx, dword [ebx]
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
push edx
mov byte [esp + esi + 0xb4], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
lea edx, [esp + 0xb4]
push edx
call eax
add edi, esi
sub ebp, esi
cmp byte [edi], 0x20
jne 0x4c455f
inc edi
cmp ebp, 0x3c
jg 0x4c4500
xor ebx, ebx
cmp ebp, ebx
jle 0x4c47f8
mov eax, edi
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c4583
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x58]
call fcn.00428ff0
push 0xa
push ebx
push 0x58f33c
lea ecx, [esp + 0x5c]
xor ebp, ebp
call fcn.00428670
mov esi, eax
cmp esi, ebx
jl 0x4c47b9
push 1
push ebx
push 0x58f348
lea ecx, [esp + 0x5c]
call fcn.00428670
push eax
push ebx
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.00428d40
mov edx, dword [esp + 0x60]
push edx
add esi, 0xa
push esi
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00428d40
push 1
push ebx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0xfa
call fcn.00428670
mov esi, eax
cmp esi, ebx
jl 0x4c4779
push esi
push ebx
lea edx, [esp + 0x20]
mov ebp, 0xf
push edx
lea ecx, [esp + 0x94]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
call fcn.00428d40
mov eax, dword [esp + 0x28]
push eax
inc esi
push esi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00428d40
mov eax, dword [esp + 0x88]
mov esi, 0x10
cmp dword [esp + 0x9c], esi
jae 0x4c469c
lea eax, [esp + 0x88]
push eax
call fcn.00561c28
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x4c46b5
lea eax, [esp + 0x34]
push eax
call fcn.00561c28
add esp, 4
cmp ebp, ebx
jbe 0x4c473b
cmp eax, ebx
jbe 0x4c473b
push eax
mov ecx, 0x6b4da8
call fcn.0049d590
cmp eax, ebx
je 0x4c473b
lea esi, [eax + 2]
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c46e0
sub eax, edx
add eax, dword [esp + 0x7c]
cmp eax, 0x80
jae 0x4c4736
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c4700
sub eax, edx
push eax
push ebx
push edi
call fcn.00561170
mov eax, dword [esp + 0x78]
add esp, 0xc
cmp dword [esp + 0x80], 0x10
jae 0x4c4726
lea eax, [esp + 0x6c]
push esi
push eax
push str._s:_s
push edi
call fcn.00561680
add esp, 0x10
mov esi, 0x10
cmp dword [esp + 0x48], esi
jb 0x4c474e
mov eax, dword [esp + 0x34]
push eax
call fcn.005617db
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x9c], esi
jb 0x4c477e
mov ecx, dword [esp + 0x88]
push ecx
call fcn.005617db
add esp, 4
jmp 0x4c477e
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x4c4791
mov edx, dword [esp + 0x18]
push edx
call fcn.005617db
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x80], esi
jb 0x4c47be
mov eax, dword [esp + 0x6c]
push eax
call fcn.005617db
add esp, 4
jmp 0x4c47be
mov esi, 0x10
movzx ecx, byte [esp + 0x1a8]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + ecx*4 + 0x96e0]
mov edx, dword [esp + 0x1ac]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
push ebp
push ebx
push 0xffffffffffffffff
push edx
push edi
call eax
cmp dword [esp + 0x64], esi
jb 0x4c47f8
mov ecx, dword [esp + 0x50]
push ecx
call fcn.005617db
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x194
ret 0xc
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa0]
mov ebp, ecx
mov ebx, esi
push edi
mov dword [esp + 0x10], ebp
lea ecx, [ebx + 1]
lea esp, [esp]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4c4e30
sub ebx, ecx
cmp ebx, 0x3c
jle 0x4c4ed6
movzx eax, byte [esp + 0x9c]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ebp + ecx*4 + 0x4694]
mov dword [esp + 0x14], edx
mov edi, edi
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 + 0x18]
lea edi, [ecx + 0x3b]
push edi
push esi
push edx
call fcn.00562e60
push 0x110
mov byte [esp + edi + 0x28], 0
call fcn.005617f1
mov ebp, eax
push 0x100
lea eax, [esp + 0x2c]
push eax
lea ecx, [ebp + 4]
push ecx
call fcn.005123c0
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push ebp
mov dword [ebp], edx
call fcn.0055c050
add esi, edi
sub ebx, edi
cmp byte [esi], 0x20
jne 0x4c4ecd
inc esi
cmp ebx, 0x3c
jg 0x4c4e60
mov ebp, dword [esp + 0x10]
test ebx, ebx
jle 0x4c4f1f
push 0x110
call fcn.005617f1
mov edi, eax
push 0x100
lea eax, [edi + 4]
push esi
push eax
call fcn.005123c0
movzx eax, byte [esp + 0xac]
mov ecx, dword [esp + 0xb0]
lea edx, [eax*8]
add esp, 0x10
sub edx, eax
mov dword [edi], ecx
push edi
lea ecx, [ebp + edx*4 + 0x4694]
call fcn.0055c050
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0xc
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x4c50de
mov ecx, eax
jmp 0x4c44c0
jmp 0x4c4e10