Function at 0x58026a
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 0x5802a6
je 0x58040f
dec edx
je 0x5802d3
dec edx
je 0x5802e1
sub edx, 2
je 0x5803e9
dec edx
je 0x5803f6
jmp 0x5804b3
sub edx, 7
je 0x580429
dec edx
je 0x580449
dec edx
je 0x58045e
sub edx, 0xf3
jne 0x5804b3
mov eax, 1
jmp 0x5804bf
cmp word [ebp + 8], 0
je 0x580279
xor eax, eax
jmp 0x5804bf
lea edx, [ebx + 1]
mov dword [edi + 0x12], edx
cmp word [ebp + 8], 0
jne 0x580307
movsx ecx, byte [esi]
xor eax, eax
mov al, byte [ebx]
cmp ecx, eax
je 0x580300
xor eax, eax
jmp 0x5804bf
inc ebx
inc esi
jmp 0x580279
mov dl, byte [ebx]
inc ebx
mov byte [ebp - 3], dl
cmp dword [edi], 0
je 0x580377
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.00587b0d
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x580399
movzx edx, word [ebp + 8]
inc edx
push edx
movsx ecx, byte [ebp - 0x38]
push ecx
push esi
call fcn.00587b0d
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x580399
xor eax, eax
jmp 0x5804bf
movzx edx, word [ebp + 8]
inc edx
push edx
movsx ecx, byte [ebp - 3]
push ecx
push esi
call fcn.00587b0d
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x580399
xor eax, eax
jmp 0x5804bf
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 0x580279
mov ax, word [ebp + 8]
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0058026a
test eax, eax
je 0x5803cf
mov eax, 1
jmp 0x5804bf
cmp ebx, dword [edi + 0x12]
je 0x5803db
xor eax, eax
jmp 0x5804bf
dec word [ebp + 8]
jmp 0x58030d
movzx edx, word [ebx]
add esi, edx
add ebx, 2
jmp 0x580279
movsx ecx, byte [esi]
xor eax, eax
mov al, byte [ebx]
cmp ecx, eax
je 0x580408
xor eax, eax
jmp 0x5804bf
inc ebx
inc esi
jmp 0x580279
mov dx, word [esi]
cmp dx, word [ebx]
je 0x58041e
xor eax, eax
jmp 0x5804bf
add ebx, 2
add esi, 2
jmp 0x580279
mov edx, dword [esi]
shl edx, 8
mov ecx, dword [ebx]
shl ecx, 8
cmp edx, ecx
je 0x58043e
xor eax, eax
jmp 0x5804bf
add ebx, 3
add esi, 3
jmp 0x580279
mov edx, dword [esi]
cmp edx, dword [ebx]
je 0x580453
xor eax, eax
jmp 0x5804bf
add ebx, 4
add esi, 4
jmp 0x580279
mov dx, word [ebx]
mov word [ebp - 2], dx
add ebx, 2
cmp dword [edi], 0
je 0x58048d
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 0x5804a5
xor eax, eax
jmp 0x5804bf
movzx edx, word [ebp - 2]
push edx
push dword [ebx]
push esi
call fcn.0055cc0c
add esp, 0xc
test eax, eax
je 0x5804a5
xor eax, eax
jmp 0x5804bf
add ebx, 4
movzx edx, word [ebp - 2]
add esi, edx
jmp 0x580279
push str.ERROR_in_pattern_match_pcode_r_n
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4