Function at 0x10001ad0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp word [esi], 0
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
je 0x10001e1c
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
lea esp, [esp]
cmp word [esi], 0x25
jne 0x10001e0a
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x25
je 0x10001e0a
xor edi, edi
mov dword [ebp - 8], edi
test ax, ax
je 0x10001b71
cmp ax, 0x23
jne 0x10001b31
add dword [ebp - 4], 2
jmp 0x10001b5f
cmp ax, 0x2a
jne 0x10001b47
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jmp 0x10001b5f
cmp ax, 0x2d
je 0x10001b5f
cmp ax, 0x2b
je 0x10001b5f
cmp ax, 0x30
je 0x10001b5f
cmp ax, 0x20
jne 0x10001b6c
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x10001b25
cmp dword [ebp - 8], edi
jne 0x10001ba4
push esi
call dword [sym.imp.MSVCR100.dll__wtoi]
mov dword [ebp - 8], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x10001ba4
movzx eax, ax
push eax
call dword [sym.imp.MSVCR100.dll_iswdigit]
add esp, 4
test eax, eax
je 0x10001ba4
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x10001b86
cmp word [esi], 0x2e
mov dword [ebp - 0xc], edi
jne 0x10001bff
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x10001bcd
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
add eax, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 0xc], edx
call ebx
mov esi, eax
jmp 0x10001bff
call dword [sym.imp.MSVCR100.dll__wtoi]
mov dword [ebp - 0xc], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x10001bff
movzx eax, ax
push eax
call dword [sym.imp.MSVCR100.dll_iswdigit]
add esp, 4
test eax, eax
je 0x10001bff
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x10001be1
movzx eax, word [esi]
xor ebx, ebx
cmp eax, 0x49
jne 0x10001c21
cmp word [esi + 2], 0x36
jne 0x10001c21
cmp word [esi + 4], 0x34
jne 0x10001c21
add esi, 6
mov ebx, 0x40000
jmp case.0x10001c30.71
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x10001c30.71
movzx eax, byte [eax + 0x10001f34]
jmp dword [eax*4 + 0x10001f24]
mov ebx, 0x10000
jmp case.0x10001c30.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 0x10001d09
je 0x10001cc9
cmp eax, 0x73
jg 0x10001cf8
je 0x10001cd7
cmp eax, 0x43
je 0x10001cc9
cmp eax, 0x53
je 0x10001c95
cmp eax, 0x63
je 0x10001cc9
movzx eax, word [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x10001c8e.70
movzx ecx, byte [eax + 0x10001f70]
jmp dword [ecx*4 + 0x10001f5c]
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x10001cad
lea edi, [eax + 6]
jmp 0x10001d6c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x10001d64
mov edi, 1
jmp 0x10001d6c
add dword [ebp + 0x10], 4
mov edi, 2
jmp 0x10001d6c
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x10001cef
lea edi, [eax + 6]
jmp 0x10001d6c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x10001cb4
sub eax, 0x10043
je 0x10001cc9
sub eax, 0x10
je 0x10001c95
jmp 0x10001c78
cmp eax, 0x20053
jg 0x10001d27
je 0x10001d37
cmp eax, 0x10073
je 0x10001c95
cmp eax, 0x20043
jmp 0x10001c76
sub eax, 0x20063
je 0x10001cc9
sub eax, 0x10
jne 0x10001c78
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x10001d4c
lea edi, [eax + 6]
jmp 0x10001d6c
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001d50
sub eax, edx
sar eax, 1
jmp 0x10001cb4
test edi, edi
je 0x10001c78
mov eax, dword [ebp - 8]
cmp edi, eax
jg 0x10001d75
mov edi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x10001c8e.70
cmp edi, eax
jl case.0x10001c8e.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
jmp 0x10001e0d
test ebx, 0x40000
je 0x10001d9f
add dword [ebp + 0x10], 8
jmp 0x10001da3
add dword [ebp + 0x10], 4
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov edi, 0x20
cmp eax, edi
jl case.0x10001c8e.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
jmp 0x10001e0d
push 0x1000d410
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
add dword [ebp - 4], edi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x10001e0d
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
add dword [ebp + 0x10], 4
mov edi, 0x20
cmp eax, edi
jl case.0x10001c8e.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
jmp 0x10001e0d
add dword [ebp + 0x10], 4
add dword [ebp - 4], edi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x10001e0d
inc dword [ebp - 4]
push esi
call ebx
mov esi, eax
cmp word [esi], 0
jne 0x10001b00
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], 1
mov edx, dword [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea esi, [eax - 0xc]
mov ecx, edx
jg 0x10001e3a
cmp edx, dword [eax - 4]
jle 0x10001e87
mov edi, dword [eax - 8]
cmp edx, edi
jge 0x10001e43
mov ecx, edi
mov edx, dword [ebp + 8]
call fcn.100020c0
test eax, eax
je 0x10001e90
mov eax, dword [ebp + 8]
lea ecx, [edi + edi + 2]
push ecx
mov ecx, dword [eax]
lea edx, [esi + 0xc]
push edx
push ecx
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp + 8]
mov eax, dword [edx]
add esp, 0xc
mov dword [eax - 8], edi
cmp esi, 0x10010028
je 0x10001e87
push esi
call ebx
test eax, eax
jg 0x10001e87
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov edi, dword [ebp + 8]
mov eax, dword [edi]
test eax, eax
jne 0x10001e9b
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
mov eax, dword [edi]
cmp dword [eax - 0xc], 1
lea esi, [eax - 0xc]
jle 0x10001f02
add eax, 0xfffffff4
cmp eax, 0x10010028
je 0x10001edd
push esi
call ebx
test eax, eax
jg 0x10001ed5
mov eax, dword [edi]
sub eax, 0xc
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov ecx, dword [0x10010038]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov edx, edi
call fcn.100020c0
test eax, eax
je 0x10001f02
mov edx, dword [esi + 4]
mov ecx, dword [edi]
lea eax, [edx + edx + 2]
push eax
add esi, 0xc
push esi
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi]
pop edi
xor ecx, ecx
pop esi
mov word [edx + eax*2], cx
lea eax, [ecx + 1]
pop ebx
mov esp, ebp
pop ebp
ret 0xc