Function at 0x40cccd
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 0x40cfc3
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
cmp word [esi], 0x25
jne 0x40cfa8
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x25
je 0x40cfa8
xor edi, edi
mov dword [esp + 0x2c], edi
cmp ax, di
je 0x40cd6b
cmp ax, 0x23
jne 0x40cd2e
add dword [esp + 0x10], 2
jmp 0x40cd57
cmp ax, 0x2a
jne 0x40cd3f
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x2c], eax
jmp 0x40cd57
cmp ax, 0x2d
je 0x40cd57
cmp ax, 0x2b
je 0x40cd57
cmp ax, 0x30
je 0x40cd57
cmp ax, 0x20
jne 0x40cd64
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x40cd21
cmp dword [esp + 0x2c], 0
jne 0x40cd95
push esi
call dword [sym.imp.MSVCR90.dll__wtoi]
pop ecx
mov dword [esp + 0x2c], eax
jmp 0x40cd8d
movzx eax, ax
push eax
call dword [sym.imp.MSVCR90.dll_iswdigit]
pop ecx
test eax, eax
je 0x40cd95
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x40cd79
and dword [esp + 0x18], 0
cmp word [esi], 0x2e
jne 0x40cde4
push esi
call ebp
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x40cdbb
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x1c], eax
call ebp
mov esi, eax
jmp 0x40cde4
call dword [sym.imp.MSVCR90.dll__wtoi]
pop ecx
mov dword [esp + 0x18], eax
jmp 0x40cddc
movzx eax, ax
push eax
call dword [sym.imp.MSVCR90.dll_iswdigit]
pop ecx
test eax, eax
je 0x40cde4
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x40cdc8
movzx eax, word [esi]
and dword [esp + 0x14], 0
cmp ax, 0x49
jne 0x40ce0d
cmp word [esi + 2], 0x36
jne 0x40ce0d
cmp word [esi + 4], 0x34
jne 0x40ce0d
add esi, 6
mov dword [esp + 0x14], 0x40000
jmp 0x40ce3f
movzx eax, ax
sub eax, 0x46
je 0x40ce3a
sub eax, 6
je 0x40ce3a
dec eax
dec eax
je 0x40ce3a
sub eax, 0x1a
je 0x40ce32
sub eax, 4
jne 0x40ce3f
mov dword [esp + 0x14], 0x20000
jmp 0x40ce3a
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 0x40cef3
je 0x40ceeb
sub eax, 0x43
je 0x40ceeb
push 0x10
pop ecx
sub eax, ecx
je 0x40cf27
sub eax, ecx
je 0x40ceeb
sub eax, ecx
je 0x40ced4
sub eax, 0xffd0
je 0x40ceeb
sub eax, ecx
je 0x40cf27
movzx eax, word [esi]
cmp eax, 0x69
jg 0x40cf5f
je 0x40cf74
cmp eax, 0x45
je 0x40cebe
cmp eax, 0x47
je 0x40cebe
cmp eax, 0x58
je 0x40cf74
cmp eax, 0x64
je 0x40cf74
add eax, 0xffffff9b
cmp eax, 2
ja 0x40cf9e
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 0x40cf9e
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x40cee2
push 6
pop edi
jmp 0x40cf49
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x40cf37
push 2
pop edi
add ebx, 4
jmp 0x40cf49
sub eax, 0x10073
je 0x40cf27
sub eax, 0xffd0
je 0x40ceeb
sub eax, 0x10
je 0x40cf14
sub eax, 0x10
je 0x40ceeb
sub eax, 0x10
jne 0x40ce84
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x40cedd
push eax
call dword [sym.imp.MSVCR90.dll_wcslen]
pop ecx
jmp 0x40cf37
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x40cedd
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x40cf41
xor edi, edi
inc edi
test edi, edi
je 0x40ce84
cmp edi, dword [esp + 0x2c]
jg 0x40cf53
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40cf9e
cmp edi, eax
jmp 0x40cf95
sub eax, 0x6e
je 0x40cf9b
dec eax
je 0x40cf74
dec eax
je 0x40cf83
sub eax, 5
je 0x40cf74
sub eax, 3
jne 0x40cf9e
test dword [esp + 0x14], 0x40000
je 0x40cf83
add ebx, 8
jmp 0x40cf86
add ebx, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push 0x20
pop edi
add eax, ecx
cmp eax, edi
jl 0x40cf9e
mov edi, eax
jmp 0x40cf9e
add ebx, 4
add dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
jmp 0x40cfb3
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 0x40ccfa
pop ebp
push dword [esp + 0xc]
mov ecx, edi
call fcn.0040c0f6
test eax, eax
je 0x40cfee
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.0040c74d
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8