Function at 0x4c515c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
mov al, byte [ebx]
inc ebx
xor edx, edx
mov dl, al
cmp edx, 6
jg 0x4c5198
je 0x4c5302
dec edx
je 0x4c51c6
dec edx
je 0x4c51d4
sub edx, 2
je 0x4c52dc
dec edx
je 0x4c52e9
jmp 0x4c53a8
sub edx, 7
je 0x4c531c
dec edx
je 0x4c533c
dec edx
je 0x4c5351
sub edx, 0xf3
je 0x4c51bc
jmp 0x4c53a8
mov eax, 1
jmp 0x4c53bb
cmp word [ebp + 8], 0
je 0x4c516b
xor eax, eax
jmp 0x4c53bb
lea edx, [ebx + 1]
mov dword [edi + 0x12], edx
cmp word [ebp + 8], 0
jne 0x4c51fa
movsx ecx, byte [esi]
xor eax, eax
mov al, byte [ebx]
cmp ecx, eax
je 0x4c51f3
xor eax, eax
jmp 0x4c53bb
inc ebx
inc esi
jmp 0x4c516b
mov dl, byte [ebx]
inc ebx
mov byte [ebp - 3], dl
cmp dword [edi], 0
je 0x4c526a
mov cl, byte [ebp - 3]
mov byte [ebp - 0x20], cl
mov byte [ebp - 0x1f], 0
mov al, byte [ebp - 3]
mov byte [ebp - 0x38], al
mov byte [ebp - 0x37], 0
lea edx, [ebp - 0x20]
push edx
call sub.user32.dll_CharUpperA
lea ecx, [ebp - 0x38]
push ecx
call sub.user32.dll_CharLowerA
movzx eax, word [ebp + 8]
inc eax
push eax
movsx edx, byte [ebp - 0x20]
push edx
push esi
call fcn.004cca39
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x4c528c
movzx edx, word [ebp + 8]
inc edx
push edx
movsx ecx, byte [ebp - 0x38]
push ecx
push esi
call fcn.004cca39
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x4c528c
xor eax, eax
jmp 0x4c53bb
movzx edx, word [ebp + 8]
inc edx
push edx
movsx ecx, byte [ebp - 3]
push ecx
push esi
call fcn.004cca39
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x4c528c
xor eax, eax
jmp 0x4c53bb
mov edx, dword [ebp - 8]
sub edx, esi
sub word [ebp + 8], dx
mov esi, dword [ebp - 8]
inc esi
cmp word [ebp + 8], 0
je 0x4c516b
mov ax, word [ebp + 8]
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.004c515c
test eax, eax
je 0x4c52c2
mov eax, 1
jmp 0x4c53bb
cmp ebx, dword [edi + 0x12]
je 0x4c52ce
xor eax, eax
jmp 0x4c53bb
dec word [ebp + 8]
jmp 0x4c5200
movzx edx, word [ebx]
add esi, edx
add ebx, 2
jmp 0x4c516b
movsx ecx, byte [esi]
xor eax, eax
mov al, byte [ebx]
cmp ecx, eax
je 0x4c52fb
xor eax, eax
jmp 0x4c53bb
inc ebx
inc esi
jmp 0x4c516b
mov dx, word [esi]
cmp dx, word [ebx]
je 0x4c5311
xor eax, eax
jmp 0x4c53bb
add ebx, 2
add esi, 2
jmp 0x4c516b
mov edx, dword [esi]
shl edx, 8
mov ecx, dword [ebx]
shl ecx, 8
cmp edx, ecx
je 0x4c5331
xor eax, eax
jmp 0x4c53bb
add ebx, 3
add esi, 3
jmp 0x4c516b
mov edx, dword [esi]
cmp edx, dword [ebx]
je 0x4c5346
xor eax, eax
jmp 0x4c53bb
add ebx, 4
add esi, 4
jmp 0x4c516b
mov dx, word [ebx]
mov word [ebp - 2], dx
add ebx, 2
cmp dword [edi], 0
je 0x4c5382
movzx ecx, word [ebp - 2]
push ecx
push dword [ebx]
movzx eax, word [ebp - 2]
push eax
push esi
push 1
push dword [edi + 4]
call sub.kernel32.dll_CompareStringA_1
cmp eax, 2
je 0x4c539a
xor eax, eax
jmp 0x4c53bb
movzx edx, word [ebp - 2]
push edx
push dword [ebx]
push esi
call fcn.004a14ec
add esp, 0xc
test eax, eax
je 0x4c539a
xor eax, eax
jmp 0x4c53bb
add ebx, 4
movzx edx, word [ebp - 2]
add esi, edx
jmp 0x4c516b
push str.ERROR_in_pattern_match_pcode_r_n
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
jmp 0x4c53bb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4