Function at 0x4015d0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, ecx
cmp word [esi], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], 0
je 0x40191d
push ebx
cmp word [esi], 0x25
jne 0x4018f2
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push esi
call ebx
mov esi, eax
mov ax, word [esi]
cmp ax, 0x25
je 0x4018f8
xor edi, edi
cmp ax, di
mov dword [esp + 0x10], edi
je 0x401674
cmp ax, 0x23
jne 0x401635
add dword [esp + 0x28], 2
jmp 0x40165f
cmp ax, 0x2a
jne 0x401647
mov eax, dword [ebp]
add ebp, 4
mov dword [esp + 0x10], eax
jmp 0x40165f
cmp ax, 0x2d
je 0x40165f
cmp ax, 0x2b
je 0x40165f
cmp ax, 0x30
je 0x40165f
cmp ax, 0x20
jne 0x40166c
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x401628
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4016a3
push esi
call sub.MSVCRT.dll__wtoi
mov dword [esp + 0x14], eax
mov ax, word [esi]
add esp, 4
test ax, ax
je 0x4016a3
push eax
call sub.MSVCRT.dll_iswdigit
add esp, 4
test eax, eax
je 0x4016a3
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x401689
cmp word [esi], 0x2e
mov dword [esp + 0x14], 0
jne 0x4016fc
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
jne 0x4016cd
mov ecx, dword [ebp]
add ebp, 4
push esi
mov dword [esp + 0x18], ecx
call ebx
mov esi, eax
jmp 0x4016fc
push esi
call sub.MSVCRT.dll__wtoi
mov dword [esp + 0x18], eax
mov ax, word [esi]
add esp, 4
test ax, ax
je 0x4016fc
push eax
call sub.MSVCRT.dll_iswdigit
add esp, 4
test eax, eax
je 0x4016fc
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x4016e2
mov ax, word [esi]
xor ebx, ebx
cmp ax, 0x49
jne 0x40171f
cmp word [esi + 2], 0x36
jne 0x40171f
cmp word [esi + 4], 0x34
jne 0x40171f
add esi, 6
mov ebx, 0x40000
jmp case.0x401734.73
and eax, 0xffff
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x401734.73
xor edx, edx
mov dl, byte [eax + 0x40196c]
jmp dword [edx*4 + 0x40195c]
mov ebx, 0x10000
jmp case.0x401734.70
mov ebx, 0x20000
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
xor eax, eax
mov ax, word [esi]
or eax, ebx
cmp eax, 0x10063
jg 0x4017f9
je 0x401865
cmp eax, 0x73
jg 0x4017eb
je 0x4017ce
cmp eax, 0x43
je 0x401865
cmp eax, 0x53
je 0x4017ba
cmp eax, 0x63
je 0x401865
xor eax, eax
mov ax, word [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x40179f.73
xor ecx, ecx
mov cl, byte [eax + 0x4019a8]
jmp dword [ecx*4 + 0x401994]
test ebx, 0x40000
je 0x401891
add ebp, 8
jmp 0x401894
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x401824
mov edi, 6
jmp 0x401877
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x4017e2
mov edi, 6
jmp 0x401877
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x401857
sub eax, 0x10043
je 0x401865
sub eax, 0x10
je 0x401813
jmp 0x401786
cmp eax, 0x20053
jg 0x40182d
je 0x40183d
cmp eax, 0x10073
je 0x401813
cmp eax, 0x20043
jmp 0x401780
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x401824
mov edi, 6
jmp 0x401877
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x401857
sub eax, 0x20063
je 0x401865
sub eax, 0x10
jne 0x401786
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x40184e
mov edi, 6
jmp 0x401877
push eax
call sub.MSVCRT.dll_wcslen
add esp, 4
mov edi, eax
cmp edi, 1
jge 0x40186f
mov edi, 1
jmp 0x401877
mov edi, 2
add ebp, 4
jmp 0x401877
test edi, edi
je 0x401786
mov eax, dword [esp + 0x10]
cmp edi, eax
jg 0x401881
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je case.0x40179f.73
cmp edi, eax
jl case.0x40179f.73
mov edi, eax
jmp case.0x40179f.73
add ebp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edi, 0x20
add eax, edx
cmp eax, edi
jl case.0x40179f.73
mov edi, eax
jmp case.0x40179f.73
push str.Floating_point____e____f____g__and___G__is_not_supported_by_the_WTL::CString_class.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp case.0x40179f.73
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, 0x20
add ebp, 4
lea eax, [edx + ecx]
cmp eax, edi
jl case.0x40179f.73
mov edi, eax
jmp case.0x40179f.73
add ebp, 4
mov eax, dword [esp + 0x28]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
add eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], eax
jmp 0x401909
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push esi
call ebx
mov ecx, dword [esp + 0x28]
sub eax, esi
sar eax, 1
add ecx, eax
mov dword [esp + 0x28], ecx
push esi
call ebx
mov esi, eax
cmp word [esi], 0
jne 0x4015fb
mov esi, dword [esp + 0x24]
pop ebx
mov eax, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.00401ab0
test eax, eax
jne 0x401936
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_wvsprintfW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00401b40
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10
ret 8