Function at 0x4a0ea0
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 0x4a120a
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, edi
cmp word [esi], 0x25
jne 0x4a11f0
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x25
je 0x4a11f0
xor edi, edi
mov dword [ebp - 8], edi
cmp ax, di
je 0x4a0f41
cmp ax, 0x23
jne 0x4a0f01
add dword [ebp - 4], 2
jmp 0x4a0f2f
cmp ax, 0x2a
jne 0x4a0f17
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
jmp 0x4a0f2f
cmp ax, 0x2d
je 0x4a0f2f
cmp ax, 0x2b
je 0x4a0f2f
cmp ax, 0x30
je 0x4a0f2f
cmp ax, 0x20
jne 0x4a0f3c
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x4a0ef5
cmp dword [ebp - 8], edi
jne 0x4a0f72
push esi
call fcn.0055c838
mov dword [ebp - 8], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x4a0f72
movzx eax, ax
push eax
call fcn.0055bab3
add esp, 4
test eax, eax
je 0x4a0f72
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x4a0f55
cmp word [esi], 0x2e
mov dword [ebp - 0xc], edi
jne 0x4a0fcd
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x4a0f9b
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 0x4a0fcd
call fcn.0055c838
mov dword [ebp - 0xc], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x4a0fcd
mov edi, edi
movzx eax, ax
push eax
call fcn.0055bab3
add esp, 4
test eax, eax
je 0x4a0fcd
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x4a0fb0
movzx eax, word [esi]
xor ebx, ebx
cmp eax, 0x49
jne 0x4a0fef
cmp word [esi + 2], 0x36
jne 0x4a0fef
cmp word [esi + 4], 0x34
jne 0x4a0fef
add esi, 6
mov ebx, 0x40000
jmp case.0x4a0ffe.71
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x4a0ffe.71
movzx eax, byte [eax + 0x4a126c]
jmp dword [eax*4 + 0x4a125c]
mov ebx, 0x10000
jmp case.0x4a0ffe.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 0x4a10d7
je 0x4a1097
cmp eax, 0x73
jg 0x4a10c6
je 0x4a10a5
cmp eax, 0x43
je 0x4a1097
cmp eax, 0x53
je 0x4a1063
cmp eax, 0x63
je 0x4a1097
movzx eax, word [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x4a105c.70
movzx ecx, byte [eax + 0x4a12a8]
jmp dword [ecx*4 + 0x4a1294]
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x4a107b
lea edi, [eax + 6]
jmp 0x4a113c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x4a1134
mov edi, 1
jmp 0x4a113c
add dword [ebp + 0xc], 4
mov edi, 2
jmp 0x4a113c
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x4a10bd
lea edi, [eax + 6]
jmp 0x4a113c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x4a1082
sub eax, 0x10043
je 0x4a1097
sub eax, 0x10
je 0x4a1063
jmp 0x4a1046
cmp eax, 0x20053
jg 0x4a10f5
je 0x4a1105
cmp eax, 0x10073
je 0x4a1063
cmp eax, 0x20043
jmp 0x4a1044
sub eax, 0x20063
je 0x4a1097
sub eax, 0x10
jne 0x4a1046
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x4a111a
lea edi, [eax + 6]
jmp 0x4a113c
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a1120
sub eax, edx
sar eax, 1
jmp 0x4a1082
test edi, edi
je 0x4a1046
mov eax, dword [ebp - 8]
cmp edi, eax
jg 0x4a1145
mov edi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x4a105c.70
cmp edi, eax
jl case.0x4a105c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4a11fa
test ebx, 0x40000
je 0x4a1179
add dword [ebp + 0xc], 8
jmp 0x4a117d
add dword [ebp + 0xc], 4
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov edi, 0x20
cmp eax, edi
jl case.0x4a105c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4a11fa
push 0x5c6280
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 0x4a11fa
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
add dword [ebp + 0xc], 4
mov edi, 0x20
cmp eax, edi
jl case.0x4a105c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4a11fa
add dword [ebp + 0xc], 4
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x4a11fa
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 0x4a0ed0
pop ebx
mov eax, dword [ebp - 4]
push eax
mov ecx, edi
call fcn.0046cc20
test eax, eax
jne 0x4a1221
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.0046ccb0
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