Function at 0x125835d
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 0x1258650
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push edi
cmp word [esi], 0x25
jne 0x125863c
push esi
call ebx
mov esi, eax
mov ax, word [esi]
cmp ax, 0x25
je 0x125863c
xor edi, edi
cmp ax, di
mov dword [ebp - 0xc], edi
je 0x12583fa
cmp ax, 0x23
jne 0x12583ba
add dword [ebp - 4], 2
jmp 0x12583e7
cmp ax, 0x2a
jne 0x12583cf
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
mov dword [ebp - 0xc], eax
jmp 0x12583e7
cmp ax, 0x2d
je 0x12583e7
cmp ax, 0x2b
je 0x12583e7
cmp ax, 0x30
je 0x12583e7
cmp ax, 0x20
jne 0x12583f4
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x12583ae
cmp dword [ebp - 0xc], 0
jne 0x125841f
push esi
call sub.msvcrt.dll__wtoi
mov dword [ebp - 0xc], eax
pop ecx
xor eax, eax
jmp 0x1258417
push eax
call fcn.01257d94
test eax, eax
je 0x125841f
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x1258408
and dword [ebp - 8], 0
cmp word [esi], 0x2e
jne 0x125846c
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x1258448
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 0x125846c
call sub.msvcrt.dll__wtoi
mov dword [ebp - 8], eax
pop ecx
xor eax, eax
jmp 0x1258464
push eax
call fcn.01257d94
test eax, eax
je 0x125846c
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x1258455
mov ax, word [esi]
and dword [ebp - 0x10], 0
cmp ax, 0x49
jne 0x1258493
cmp word [esi + 2], 0x36
jne 0x1258493
cmp word [esi + 4], 0x34
jne 0x1258493
add esi, 6
mov dword [ebp - 0x10], 0x40000
jmp 0x12584c3
movzx eax, ax
sub eax, 0x46
je 0x12584be
sub eax, 6
je 0x12584be
dec eax
dec eax
je 0x12584be
sub eax, 0x1a
je 0x12584b7
sub eax, 4
jne 0x12584c3
mov dword [ebp - 0x10], 0x20000
jmp 0x12584be
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 0x125856a
je 0x125859e
sub eax, 0x43
je 0x125859e
push 0x10
pop ecx
sub eax, ecx
je 0x12585a7
sub eax, ecx
je 0x125859e
sub eax, ecx
je 0x1258553
sub eax, 0xffd0
je 0x125859e
sub eax, ecx
je 0x12585a7
movzx eax, word [esi]
cmp eax, 0x6e
jg 0x1258604
je 0x12585fe
cmp eax, 0x47
je 0x12585eb
cmp eax, 0x58
je 0x1258616
cmp eax, 0x64
je 0x1258616
jle 0x1258637
cmp eax, 0x67
jle 0x12585eb
cmp eax, 0x69
jmp 0x1258614
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
test eax, eax
je 0x12585b5
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x12585c1
sub eax, 0x10073
je 0x12585a7
sub eax, 0xffd0
je 0x125859e
sub eax, 0x10
je 0x1258587
sub eax, 0x10
je 0x125859e
sub eax, 0x10
jne 0x125850f
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
test eax, eax
je 0x12585b5
push eax
call sub.msvcrt.dll_wcslen
pop ecx
jmp 0x12585c1
add dword [ebp + 0xc], 4
push 2
pop edi
jmp 0x12585d3
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
test eax, eax
jne 0x12585ba
push 6
pop edi
jmp 0x12585d3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x12585cb
xor edi, edi
inc edi
test edi, edi
je 0x125850f
cmp edi, dword [ebp - 0xc]
jg 0x12585db
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 8], 0
je 0x1258637
cmp edi, dword [ebp - 8]
jl 0x1258637
mov edi, dword [ebp - 8]
jmp 0x1258637
push 0x102c190
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x1258637
add dword [ebp + 0xc], 4
jmp 0x1258637
sub eax, 0x6f
je 0x1258616
dec eax
je 0x1258622
sub eax, 5
je 0x1258616
sub eax, 3
jne 0x1258637
test byte [ebp - 0xe], 4
je 0x1258622
add dword [ebp + 0xc], 8
jmp 0x1258626
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 0x1258637
mov edi, eax
add dword [ebp - 4], edi
jmp 0x125863f
inc dword [ebp - 4]
push esi
call ebx
mov esi, eax
cmp word [esi], 0
jne 0x1258388
pop edi
pop ebx
mov esi, dword [ebp - 0x14]
push dword [ebp - 4]
mov ecx, esi
call fcn.01258220
test eax, eax
je 0x1258680
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.0125828d
xor eax, eax
inc eax
pop esi
leave
ret 8