Function at 0x12580ed
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
je 0x12583e0
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push edi
cmp word [esi], 0x25
jne 0x12583cc
push esi
call ebx
mov esi, eax
mov ax, word [esi]
cmp ax, 0x25
je 0x12583cc
xor edi, edi
cmp ax, di
mov dword [ebp - 0xc], edi
je 0x125818a
cmp ax, 0x23
jne 0x125814a
add dword [ebp - 4], 2
jmp 0x1258177
cmp ax, 0x2a
jne 0x125815f
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
mov dword [ebp - 0xc], eax
jmp 0x1258177
cmp ax, 0x2d
je 0x1258177
cmp ax, 0x2b
je 0x1258177
cmp ax, 0x30
je 0x1258177
cmp ax, 0x20
jne 0x1258184
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x125813e
cmp dword [ebp - 0xc], 0
jne 0x12581af
push esi
call sub.msvcrt.dll__wtoi
mov dword [ebp - 0xc], eax
pop ecx
xor eax, eax
jmp 0x12581a7
push eax
call fcn.01257b1e
test eax, eax
je 0x12581af
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x1258198
and dword [ebp - 8], 0
cmp word [esi], 0x2e
jne 0x12581fc
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x12581d8
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
call ebx
mov esi, eax
jmp 0x12581fc
call sub.msvcrt.dll__wtoi
mov dword [ebp - 8], eax
pop ecx
xor eax, eax
jmp 0x12581f4
push eax
call fcn.01257b1e
test eax, eax
je 0x12581fc
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x12581e5
mov ax, word [esi]
and dword [ebp - 0x10], 0
cmp ax, 0x49
jne 0x1258223
cmp word [esi + 2], 0x36
jne 0x1258223
cmp word [esi + 4], 0x34
jne 0x1258223
add esi, 6
mov dword [ebp - 0x10], 0x40000
jmp 0x1258253
movzx eax, ax
sub eax, 0x46
je 0x125824e
sub eax, 6
je 0x125824e
dec eax
dec eax
je 0x125824e
sub eax, 0x1a
je 0x1258247
sub eax, 4
jne 0x1258253
mov dword [ebp - 0x10], 0x20000
jmp 0x125824e
mov dword [ebp - 0x10], 0x10000
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
or eax, dword [ebp - 0x10]
mov ecx, 0x10063
cmp eax, ecx
jg 0x12582fa
je 0x125832e
sub eax, 0x43
je 0x125832e
push 0x10
pop ecx
sub eax, ecx
je 0x1258337
sub eax, ecx
je 0x125832e
sub eax, ecx
je 0x12582e3
sub eax, 0xffd0
je 0x125832e
sub eax, ecx
je 0x1258337
movzx eax, word [esi]
cmp eax, 0x6e
jg 0x1258394
je 0x125838e
cmp eax, 0x47
je 0x125837b
cmp eax, 0x58
je 0x12583a6
cmp eax, 0x64
je 0x12583a6
jle 0x12583c7
cmp eax, 0x67
jle 0x125837b
cmp eax, 0x69
jmp 0x12583a4
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
test eax, eax
je 0x1258345
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x1258351
sub eax, 0x10073
je 0x1258337
sub eax, 0xffd0
je 0x125832e
sub eax, 0x10
je 0x1258317
sub eax, 0x10
je 0x125832e
sub eax, 0x10
jne 0x125829f
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
test eax, eax
je 0x1258345
push eax
call sub.msvcrt.dll_wcslen
pop ecx
jmp 0x1258351
add dword [ebp + 0xc], 4
push 2
pop edi
jmp 0x1258363
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
test eax, eax
jne 0x125834a
push 6
pop edi
jmp 0x1258363
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x125835b
xor edi, edi
inc edi
test edi, edi
je 0x125829f
cmp edi, dword [ebp - 0xc]
jg 0x125836b
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 8], 0
je 0x12583c7
cmp edi, dword [ebp - 8]
jl 0x12583c7
mov edi, dword [ebp - 8]
jmp 0x12583c7
push 0x102c178
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x12583c7
add dword [ebp + 0xc], 4
jmp 0x12583c7
sub eax, 0x6f
je 0x12583a6
dec eax
je 0x12583b2
sub eax, 5
je 0x12583a6
sub eax, 3
jne 0x12583c7
test byte [ebp - 0xe], 4
je 0x12583b2
add dword [ebp + 0xc], 8
jmp 0x12583b6
add dword [ebp + 0xc], 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
push 0x20
add eax, ecx
pop edi
cmp eax, edi
jl 0x12583c7
mov edi, eax
add dword [ebp - 4], edi
jmp 0x12583cf
inc dword [ebp - 4]
push esi
call ebx
mov esi, eax
cmp word [esi], 0
jne 0x1258118
pop edi
pop ebx
mov esi, dword [ebp - 0x14]
push dword [ebp - 4]
mov ecx, esi
call fcn.01257f8e
test eax, eax
je 0x1258410
push dword [ebp - 0x18]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [esi]
call sub.msvcrt.dll__vsnwprintf
add esp, 0x10
push 0xffffffffffffffff
mov ecx, esi
call fcn.01257ffb
xor eax, eax
inc eax
pop esi
leave
ret 8