Function at 0x58f11a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
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 0x58f156
je 0x58f2bf
dec edx
je 0x58f183
dec edx
je 0x58f191
sub edx, 2
je 0x58f299
dec edx
je 0x58f2a6
jmp 0x58f363
sub edx, 7
je 0x58f2d9
dec edx
je 0x58f2f9
dec edx
je 0x58f30e
sub edx, 0xf3
jne 0x58f363
mov eax, 1
jmp 0x58f36f
cmp word [ebp + 8], 0
je 0x58f129
xor eax, eax
jmp 0x58f36f
lea edx, [ebx + 1]
mov dword [edi + 0x12], edx
cmp word [ebp + 8], 0
jne 0x58f1b7
movsx ecx, byte [esi]
xor eax, eax
mov al, byte [ebx]
cmp ecx, eax
je 0x58f1b0
xor eax, eax
jmp 0x58f36f
inc ebx
inc esi
jmp 0x58f129
mov dl, byte [ebx]
inc ebx
mov byte [ebp - 3], dl
cmp dword [edi], 0
je 0x58f227
mov cl, byte [ebp - 3]
mov byte [ebp - 0x1e], cl
mov byte [ebp - 0x1d], 0
mov al, byte [ebp - 3]
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
lea edx, [ebp - 0x1e]
push edx
call sub.user32.dll_CharUpperA
lea ecx, [ebp - 0x20]
push ecx
call sub.user32.dll_CharLowerA
movzx eax, word [ebp + 8]
inc eax
push eax
movsx edx, byte [ebp - 0x1e]
push edx
push esi
call fcn.00596979
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x58f249
movzx edx, word [ebp + 8]
inc edx
push edx
movsx ecx, byte [ebp - 0x20]
push ecx
push esi
call fcn.00596979
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x58f249
xor eax, eax
jmp 0x58f36f
movzx edx, word [ebp + 8]
inc edx
push edx
movsx ecx, byte [ebp - 3]
push ecx
push esi
call fcn.00596979
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x58f249
xor eax, eax
jmp 0x58f36f
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 0x58f129
mov ax, word [ebp + 8]
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0058f11a
test eax, eax
je 0x58f27f
mov eax, 1
jmp 0x58f36f
cmp ebx, dword [edi + 0x12]
je 0x58f28b
xor eax, eax
jmp 0x58f36f
dec word [ebp + 8]
jmp 0x58f1bd
movzx edx, word [ebx]
add esi, edx
add ebx, 2
jmp 0x58f129
movsx ecx, byte [esi]
xor eax, eax
mov al, byte [ebx]
cmp ecx, eax
je 0x58f2b8
xor eax, eax
jmp 0x58f36f
inc ebx
inc esi
jmp 0x58f129
mov dx, word [esi]
cmp dx, word [ebx]
je 0x58f2ce
xor eax, eax
jmp 0x58f36f
add ebx, 2
add esi, 2
jmp 0x58f129
mov edx, dword [esi]
shl edx, 8
mov ecx, dword [ebx]
shl ecx, 8
cmp edx, ecx
je 0x58f2ee
xor eax, eax
jmp 0x58f36f
add ebx, 3
add esi, 3
jmp 0x58f129
mov edx, dword [esi]
cmp edx, dword [ebx]
je 0x58f303
xor eax, eax
jmp 0x58f36f
add ebx, 4
add esi, 4
jmp 0x58f129
mov dx, word [ebx]
mov word [ebp - 2], dx
add ebx, 2
cmp dword [edi], 0
je 0x58f33d
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
cmp eax, 2
je 0x58f355
xor eax, eax
jmp 0x58f36f
movzx edx, word [ebp - 2]
push edx
push dword [ebx]
push esi
call fcn.0056c2ec
add esp, 0xc
test eax, eax
je 0x58f355
xor eax, eax
jmp 0x58f36f
add ebx, 4
movzx edx, word [ebp - 2]
add esi, edx
jmp 0x58f129
push 0x5b60bc
call sub.KERNEL32.DLL_OutputDebugStringA
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4