Function at 0x4011e0
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 0x40154a
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, edi
cmp word [esi], 0x25
jne 0x401530
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x25
je 0x401530
xor edi, edi
mov dword [ebp - 8], edi
cmp ax, di
je 0x401281
cmp ax, 0x23
jne 0x401241
add dword [ebp - 4], 2
jmp 0x40126f
cmp ax, 0x2a
jne 0x401257
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
jmp 0x40126f
cmp ax, 0x2d
je 0x40126f
cmp ax, 0x2b
je 0x40126f
cmp ax, 0x30
je 0x40126f
cmp ax, 0x20
jne 0x40127c
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x401235
cmp dword [ebp - 8], edi
jne 0x4012b2
push esi
call fcn.00473f4d
mov dword [ebp - 8], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x4012b2
movzx eax, ax
push eax
call fcn.00473f24
add esp, 4
test eax, eax
je 0x4012b2
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x401295
cmp word [esi], 0x2e
mov dword [ebp - 0xc], edi
jne 0x40130d
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x4012db
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 0x40130d
call fcn.00473f4d
mov dword [ebp - 0xc], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x40130d
mov edi, edi
movzx eax, ax
push eax
call fcn.00473f24
add esp, 4
test eax, eax
je 0x40130d
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x4012f0
movzx eax, word [esi]
xor ebx, ebx
cmp eax, 0x49
jne 0x40132f
cmp word [esi + 2], 0x36
jne 0x40132f
cmp word [esi + 4], 0x34
jne 0x40132f
add esi, 6
mov ebx, 0x40000
jmp case.0x40133e.71
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x40133e.71
movzx eax, byte [eax + 0x401644]
jmp dword [eax*4 + 0x401634]
mov ebx, 0x10000
jmp case.0x40133e.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 0x401417
je 0x4013d7
cmp eax, 0x73
jg 0x401406
je 0x4013e5
cmp eax, 0x43
je 0x4013d7
cmp eax, 0x53
je 0x4013a3
cmp eax, 0x63
je 0x4013d7
movzx eax, word [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x40139c.70
movzx ecx, byte [eax + 0x401680]
jmp dword [ecx*4 + 0x40166c]
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x4013bb
lea edi, [eax + 6]
jmp 0x40147c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x401474
mov edi, 1
jmp 0x40147c
add dword [ebp + 0xc], 4
mov edi, 2
jmp 0x40147c
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x4013fd
lea edi, [eax + 6]
jmp 0x40147c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x4013c2
sub eax, 0x10043
je 0x4013d7
sub eax, 0x10
je 0x4013a3
jmp 0x401386
cmp eax, 0x20053
jg 0x401435
je 0x401445
cmp eax, 0x10073
je 0x4013a3
cmp eax, 0x20043
jmp 0x401384
sub eax, 0x20063
je 0x4013d7
sub eax, 0x10
jne 0x401386
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x40145a
lea edi, [eax + 6]
jmp 0x40147c
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401460
sub eax, edx
sar eax, 1
jmp 0x4013c2
test edi, edi
je 0x401386
mov eax, dword [ebp - 8]
cmp edi, eax
jg 0x401485
mov edi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x40139c.70
cmp edi, eax
jl case.0x40139c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x40153a
test ebx, 0x40000
je 0x4014b9
add dword [ebp + 0xc], 8
jmp 0x4014bd
add dword [ebp + 0xc], 4
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov edi, 0x20
cmp eax, edi
jl case.0x40139c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x40153a
push 0x4a6690
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 0x40153a
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
add dword [ebp + 0xc], 4
mov edi, 0x20
cmp eax, edi
jl case.0x40139c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x40153a
add dword [ebp + 0xc], 4
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x40153a
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 0x401210
pop ebx
mov eax, dword [ebp - 4]
push eax
mov ecx, edi
call fcn.00401810
test eax, eax
jne 0x401561
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [eax - 4]
push edx
inc ecx
push ecx
push eax
call fcn.00473e35
mov eax, dword [edi]
lea esi, [eax - 0xc]
add esp, 0x10
cmp dword [esi], 1
jle case.0x4015ec.0
add eax, 0xfffffff4
cmp eax, dword [0x4bb670]
je 0x4015b2
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4015ab
mov edx, dword [edi]
sub edx, 0xc
push edx
call fcn.00473f58
add esp, 4
mov eax, dword [0x4bb674]
mov dword [edi], eax
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.00401970
test eax, eax
je case.0x4015ec.0
mov ecx, dword [esi + 4]
mov eax, dword [edi]
mov edx, dword [eax - 4]
lea ecx, [ecx + ecx + 2]
push ecx
add esi, 0xc
lea edx, [edx + edx + 2]
push esi
push edx
push eax
call fcn.00473c51
add esp, 0x10
cmp eax, 0x50
ja case.0x4015ec.1
movzx edx, byte [eax + 0x4016c4]
jmp dword [edx*4 + 0x4016b4]
push 0x8007000e
call fcn.00401000
push 0x80070057
call fcn.00401000
push 0x80004005
call fcn.00401000
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi]
xor ecx, ecx
pop edi
mov word [edx + eax*2], cx
lea eax, [ecx + 1]
pop esi
mov esp, ebp
pop ebp
ret 8