Function at 0x40148f
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
and dword [esp], 0
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
cmp word [esi], 0
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
je 0x401786
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
cmp word [esi], 0x25
jne 0x40176b
push esi
call ebp
mov esi, eax
mov ax, word [esi]
cmp ax, 0x25
je 0x40176b
xor edi, edi
cmp ax, di
mov dword [esp + 0x2c], edi
je 0x40152e
cmp ax, 0x23
jne 0x4014f1
add dword [esp + 0x10], 2
jmp 0x40151a
cmp ax, 0x2a
jne 0x401502
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x2c], eax
jmp 0x40151a
cmp ax, 0x2d
je 0x40151a
cmp ax, 0x2b
je 0x40151a
cmp ax, 0x30
je 0x40151a
cmp ax, 0x20
jne 0x401527
push esi
call ebp
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x4014e4
cmp dword [esp + 0x2c], 0
jne 0x401555
push esi
call sub.MSVCRT.dll__wtoi
mov dword [esp + 0x30], eax
pop ecx
xor eax, eax
mov ax, word [esi]
test ax, ax
je 0x401555
push eax
call sub.MSVCRT.dll_iswdigit
test eax, eax
pop ecx
je 0x401555
push esi
call ebp
mov esi, eax
jmp 0x40153b
and dword [esp + 0x18], 0
cmp word [esi], 0x2e
jne 0x401579
push esi
call ebp
mov esi, eax
cmp word [esi], 0x2a
jne 0x4015a2
mov eax, dword [ebx]
add ebx, 4
push esi
mov dword [esp + 0x1c], eax
call ebp
mov esi, eax
mov ax, word [esi]
and dword [esp + 0x14], 0
cmp ax, 0x49
jne 0x4015c9
cmp word [esi + 2], 0x36
jne 0x4015c9
cmp word [esi + 4], 0x34
jne 0x4015c9
add esi, 6
mov dword [esp + 0x14], 0x40000
jmp 0x4015fb
push esi
call sub.MSVCRT.dll__wtoi
mov dword [esp + 0x1c], eax
pop ecx
xor eax, eax
mov ax, word [esi]
test ax, ax
je 0x401579
push eax
call sub.MSVCRT.dll_iswdigit
test eax, eax
pop ecx
je 0x401579
push esi
call ebp
mov esi, eax
jmp 0x4015af
movzx eax, ax
sub eax, 0x46
je 0x4015f6
sub eax, 6
je 0x4015f6
dec eax
dec eax
je 0x4015f6
sub eax, 0x1a
je 0x4015ee
sub eax, 4
jne 0x4015fb
mov dword [esp + 0x14], 0x20000
jmp 0x4015f6
mov dword [esp + 0x14], 0x10000
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
or eax, dword [esp + 0x14]
mov ecx, 0x10063
cmp eax, ecx
jg 0x4016ad
je 0x4016e0
sub eax, 0x43
je 0x4016e0
push 0x10
pop ecx
sub eax, ecx
je 0x4016e8
sub eax, ecx
je 0x4016e0
sub eax, ecx
je 0x40169b
sub eax, 0xffd0
je 0x4016e0
sub eax, ecx
je 0x4016e8
movzx eax, word [esi]
cmp eax, 0x69
jg 0x401729
je 0x40173e
cmp eax, 0x45
je 0x401685
cmp eax, 0x47
je 0x401685
cmp eax, 0x58
je 0x40173e
cmp eax, 0x64
je 0x40173e
jle 0x401761
cmp eax, 0x67
jg 0x401761
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 0x401761
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x4016f1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x4016fd
sub eax, 0x10073
je 0x4016e8
sub eax, 0xffd0
je 0x4016e0
sub eax, 0x10
je 0x4016ce
sub eax, 0x10
je 0x4016e0
sub eax, 0x10
jne 0x401648
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x4016f1
push eax
call sub.MSVCRT.dll_wcslen
pop ecx
jmp 0x4016fd
push 2
pop edi
add ebx, 4
jmp 0x40170f
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x4016f6
push 6
pop edi
jmp 0x40170f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x401707
push 1
pop edi
test edi, edi
je 0x401648
cmp edi, dword [esp + 0x2c]
jg 0x401719
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401761
cmp edi, eax
jl 0x401761
mov edi, eax
jmp 0x401761
sub eax, 0x6e
je 0x40175e
dec eax
je 0x40173e
dec eax
je 0x40174a
sub eax, 5
je 0x40173e
sub eax, 3
jne 0x401761
test byte [esp + 0x16], 4
je 0x40174a
add ebx, 8
jmp 0x40174d
add ebx, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push 0x20
pop edi
add eax, ecx
cmp eax, edi
jmp 0x401723
add ebx, 4
add dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
jmp 0x401776
push esi
call ebp
sub eax, esi
sar eax, 1
add dword [esp + 0x10], eax
push esi
call ebp
mov esi, eax
cmp word [esi], 0
jne 0x4014bd
pop ebp
push dword [esp + 0xc]
mov ecx, edi
call fcn.00401863
test eax, eax
je 0x4017b1
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [edi]
call dword [sym.imp.USER32.dll_wvsprintfW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004018df
push 1
pop eax
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8