Function at 0x403bc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
je 0x403f2a
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, edi
cmp word [esi], 0x25
jne 0x403f10
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x25
je 0x403f10
xor edi, edi
mov dword [ebp - 8], edi
cmp ax, di
je 0x403c61
cmp ax, 0x23
jne 0x403c21
add dword [ebp - 4], 2
jmp 0x403c4f
cmp ax, 0x2a
jne 0x403c37
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
jmp 0x403c4f
cmp ax, 0x2d
je 0x403c4f
cmp ax, 0x2b
je 0x403c4f
cmp ax, 0x30
je 0x403c4f
cmp ax, 0x20
jne 0x403c5c
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403c15
cmp dword [ebp - 8], edi
jne 0x403c92
push esi
call fcn.004089e1
mov dword [ebp - 8], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x403c92
movzx eax, ax
push eax
call fcn.00408dac
add esp, 4
test eax, eax
je 0x403c92
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403c75
cmp word [esi], 0x2e
mov dword [ebp - 0xc], edi
jne 0x403ced
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x403cbb
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], edx
call ebx
mov esi, eax
jmp 0x403ced
call fcn.004089e1
mov dword [ebp - 0xc], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x403ced
mov edi, edi
movzx eax, ax
push eax
call fcn.00408dac
add esp, 4
test eax, eax
je 0x403ced
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403cd0
movzx eax, word [esi]
xor ebx, ebx
cmp eax, 0x49
jne 0x403d0f
cmp word [esi + 2], 0x36
jne 0x403d0f
cmp word [esi + 4], 0x34
jne 0x403d0f
add esi, 6
mov ebx, 0x40000
jmp case.0x403d1e.71
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x403d1e.71
movzx eax, byte [eax + 0x403f8c]
jmp dword [eax*4 + 0x403f7c]
mov ebx, 0x10000
jmp case.0x403d1e.70
mov ebx, 0x20000
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
movzx eax, word [esi]
or eax, ebx
cmp eax, 0x10063
jg 0x403df7
je 0x403db7
cmp eax, 0x73
jg 0x403de6
je 0x403dc5
cmp eax, 0x43
je 0x403db7
cmp eax, 0x53
je 0x403d83
cmp eax, 0x63
je 0x403db7
movzx eax, word [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x403d7c.70
movzx ecx, byte [eax + 0x403fc8]
jmp dword [ecx*4 + 0x403fb4]
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x403d9b
lea edi, [eax + 6]
jmp 0x403e5c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x403e54
mov edi, 1
jmp 0x403e5c
add dword [ebp + 0xc], 4
mov edi, 2
jmp 0x403e5c
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x403ddd
lea edi, [eax + 6]
jmp 0x403e5c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x403da2
sub eax, 0x10043
je 0x403db7
sub eax, 0x10
je 0x403d83
jmp 0x403d66
cmp eax, 0x20053
jg 0x403e15
je 0x403e25
cmp eax, 0x10073
je 0x403d83
cmp eax, 0x20043
jmp 0x403d64
sub eax, 0x20063
je 0x403db7
sub eax, 0x10
jne 0x403d66
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x403e3a
lea edi, [eax + 6]
jmp 0x403e5c
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403e40
sub eax, edx
sar eax, 1
jmp 0x403da2
test edi, edi
je 0x403d66
mov eax, dword [ebp - 8]
cmp edi, eax
jg 0x403e65
mov edi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x403d7c.70
cmp edi, eax
jl case.0x403d7c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x403f1a
test ebx, 0x40000
je 0x403e99
add dword [ebp + 0xc], 8
jmp 0x403e9d
add dword [ebp + 0xc], 4
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov edi, 0x20
cmp eax, edi
jl case.0x403d7c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x403f1a
push 0x41a210
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x403f1a
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
add dword [ebp + 0xc], 4
mov edi, 0x20
cmp eax, edi
jl case.0x403d7c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x403f1a
add dword [ebp + 0xc], 4
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x403f1a
push esi
call ebx
sub eax, esi
sar eax, 1
add dword [ebp - 4], eax
push esi
call ebx
mov esi, eax
cmp word [esi], 0
jne 0x403bf0
pop ebx
mov eax, dword [ebp - 4]
push eax
mov ecx, edi
call fcn.00403860
test eax, eax
jne 0x403f41
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edi]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
mov ecx, edi
call fcn.00403970
mov ecx, dword [edi]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [edi]
mov dword [edx - 8], eax
mov ecx, dword [edi]
xor edx, edx
pop edi
mov word [ecx + eax*2], dx
lea eax, [edx + 1]
pop esi
mov esp, ebp
pop ebp
ret 8