Function at 0x582baa
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
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 0x582be6
je 0x582d4f
dec edx
je 0x582c13
dec edx
je 0x582c21
sub edx, 2
je 0x582d29
dec edx
je 0x582d36
jmp 0x582df3
sub edx, 7
je 0x582d69
dec edx
je 0x582d89
dec edx
je 0x582d9e
sub edx, 0xf3
jne 0x582df3
mov eax, 1
jmp 0x582dff
cmp word [ebp + 8], 0
je 0x582bb9
xor eax, eax
jmp 0x582dff
lea edx, [ebx + 1]
mov dword [edi + 0x12], edx
cmp word [ebp + 8], 0
jne 0x582c47
movsx ecx, byte [esi]
xor eax, eax
mov al, byte [ebx]
cmp ecx, eax
je 0x582c40
xor eax, eax
jmp 0x582dff
inc ebx
inc esi
jmp 0x582bb9
mov dl, byte [ebx]
inc ebx
mov byte [ebp - 3], dl
cmp dword [edi], 0
je 0x582cb7
mov cl, byte [ebp - 3]
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 3]
mov byte [ebp - 0x10], al
mov byte [ebp - 0xf], 0
lea edx, [ebp - 0xe]
push edx
call sub.user32.dll_CharUpperA
lea ecx, [ebp - 0x10]
push ecx
call sub.user32.dll_CharLowerA
movzx eax, word [ebp + 8]
inc eax
push eax
movsx edx, byte [ebp - 0xe]
push edx
push esi
call fcn.0058a2c5
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x582cd9
movzx edx, word [ebp + 8]
inc edx
push edx
movsx ecx, byte [ebp - 0x10]
push ecx
push esi
call fcn.0058a2c5
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x582cd9
xor eax, eax
jmp 0x582dff
movzx edx, word [ebp + 8]
inc edx
push edx
movsx ecx, byte [ebp - 3]
push ecx
push esi
call fcn.0058a2c5
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x582cd9
xor eax, eax
jmp 0x582dff
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 0x582bb9
mov ax, word [ebp + 8]
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.00582baa
test eax, eax
je 0x582d0f
mov eax, 1
jmp 0x582dff
cmp ebx, dword [edi + 0x12]
je 0x582d1b
xor eax, eax
jmp 0x582dff
dec word [ebp + 8]
jmp 0x582c4d
movzx edx, word [ebx]
add esi, edx
add ebx, 2
jmp 0x582bb9
movsx ecx, byte [esi]
xor eax, eax
mov al, byte [ebx]
cmp ecx, eax
je 0x582d48
xor eax, eax
jmp 0x582dff
inc ebx
inc esi
jmp 0x582bb9
mov dx, word [esi]
cmp dx, word [ebx]
je 0x582d5e
xor eax, eax
jmp 0x582dff
add ebx, 2
add esi, 2
jmp 0x582bb9
mov edx, dword [esi]
shl edx, 8
mov ecx, dword [ebx]
shl ecx, 8
cmp edx, ecx
je 0x582d7e
xor eax, eax
jmp 0x582dff
add ebx, 3
add esi, 3
jmp 0x582bb9
mov edx, dword [esi]
cmp edx, dword [ebx]
je 0x582d93
xor eax, eax
jmp 0x582dff
add ebx, 4
add esi, 4
jmp 0x582bb9
mov dx, word [ebx]
mov word [ebp - 2], dx
add ebx, 2
cmp dword [edi], 0
je 0x582dcd
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 0x582de5
xor eax, eax
jmp 0x582dff
movzx edx, word [ebp - 2]
push edx
push dword [ebx]
push esi
call fcn.00560180
add esp, 0xc
test eax, eax
je 0x582de5
xor eax, eax
jmp 0x582dff
add ebx, 4
movzx edx, word [ebp - 2]
add esi, edx
jmp 0x582bb9
push 0x5a0cb1
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4