Function at 0x40cb20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
jmp 0x40cb51
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax]
test ecx, ecx
je 0x40d0f6
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x25
jne 0x40cb88
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x25
jne 0x40cb93
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x40cb44
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x40cbb0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax]
test ecx, ecx
je 0x40cc32
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x23
jne 0x40cbd4
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
jmp 0x40cc2d
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x2a
jne 0x40cbf5
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx - 4]
mov dword [ebp - 0x18], eax
jmp 0x40cc2d
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x2d
je 0x40cc29
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x2b
je 0x40cc29
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x30
je 0x40cc29
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x20
jne 0x40cc2b
jmp 0x40cc2d
jmp 0x40cc32
jmp 0x40cba3
cmp dword [ebp - 0x18], 0
jne 0x40cc77
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040d1e0
add esp, 4
mov dword [ebp - 0x18], eax
jmp 0x40cc56
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx]
test eax, eax
je 0x40cc77
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
push edx
call fcn.0040d1c0
add esp, 4
test eax, eax
je 0x40cc77
jmp 0x40cc49
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x2e
jne 0x40cd05
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x2a
jne 0x40ccc6
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
jmp 0x40cd05
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040d1e0
add esp, 4
mov dword [ebp - 0x1c], eax
jmp 0x40cce4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx]
test eax, eax
je 0x40cd05
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
push edx
call fcn.0040d1c0
add esp, 4
test eax, eax
je 0x40cd05
jmp 0x40ccd7
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x49
jne 0x40cd47
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx + 2]
cmp eax, 0x36
jne 0x40cd47
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 4]
cmp edx, 0x34
jne 0x40cd47
mov eax, dword [ebp - 0x10]
add eax, 6
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x40000
jmp case.0x40cd6c.3
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
sub eax, 0x46
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x26
ja case.0x40cd6c.3
mov edx, dword [ebp - 0x38]
xor ecx, ecx
mov cl, byte [edx + 0x40d150]
jmp dword [ecx*4 + 0x40d140]
mov dword [ebp - 0x20], 0x10000
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
jmp case.0x40cd6c.3
mov dword [ebp - 0x20], 0x20000
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
jmp case.0x40cd6c.3
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax]
or ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0x10063
jg 0x40ce16
cmp dword [ebp - 0x3c], 0x10063
je 0x40ce77
cmp dword [ebp - 0x3c], 0x73
jg 0x40cdfb
cmp dword [ebp - 0x3c], 0x73
je 0x40cea1
cmp dword [ebp - 0x3c], 0x43
je 0x40ce62
cmp dword [ebp - 0x3c], 0x53
je 0x40ceef
cmp dword [ebp - 0x3c], 0x63
je 0x40ce62
jmp 0x40cfd4
cmp dword [ebp - 0x3c], 0x10043
je 0x40ce77
cmp dword [ebp - 0x3c], 0x10053
je 0x40cf3d
jmp 0x40cfd4
cmp dword [ebp - 0x3c], 0x20053
jg 0x40ce47
cmp dword [ebp - 0x3c], 0x20053
je 0x40cf88
cmp dword [ebp - 0x3c], 0x10073
je 0x40cf3d
cmp dword [ebp - 0x3c], 0x20043
je 0x40ce8c
jmp 0x40cfd4
cmp dword [ebp - 0x3c], 0x20063
je 0x40ce8c
cmp dword [ebp - 0x3c], 0x20073
je 0x40cf88
jmp 0x40cfd4
mov dword [ebp - 0x14], 2
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
jmp 0x40cfd4
mov dword [ebp - 0x14], 2
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
jmp 0x40cfd4
mov dword [ebp - 0x14], 2
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
jmp 0x40cfd4
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
jne 0x40cec2
mov dword [ebp - 0x14], 6
jmp 0x40ceea
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x40cede
mov dword [ebp - 0x40], 1
jmp 0x40cee4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x14], ecx
jmp 0x40cfd4
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
jne 0x40cf10
mov dword [ebp - 0x14], 6
jmp 0x40cf38
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x40cf2c
mov dword [ebp - 0x44], 1
jmp 0x40cf32
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x14], ecx
jmp 0x40cfd4
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
jne 0x40cf5e
mov dword [ebp - 0x14], 6
jmp 0x40cf86
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x40cf7a
mov dword [ebp - 0x48], 1
jmp 0x40cf80
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x14], ecx
jmp 0x40cfd4
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
jne 0x40cfa9
mov dword [ebp - 0x14], 6
jmp 0x40cfd4
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x40cfc8
mov dword [ebp - 0x4c], 1
jmp 0x40cfce
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x40d01d
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
jle 0x40cfea
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
jmp 0x40cff0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x1c], 0
je 0x40d018
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jge 0x40d00c
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], ecx
jmp 0x40d012
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
jmp case.0x40d046.4
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
sub eax, 0x47
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x31
ja case.0x40d046.4
mov edx, dword [ebp - 0x58]
xor ecx, ecx
mov cl, byte [edx + 0x40d18b]
jmp dword [ecx*4 + 0x40d177]
mov eax, dword [ebp - 0x20]
and eax, 0x40000
test eax, eax
je 0x40d064
mov ecx, dword [ebp + 0xc]
add ecx, 8
mov dword [ebp + 0xc], ecx
jmp 0x40d06d
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x14], 0x20
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
jle 0x40d087
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ecx
jmp 0x40d090
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
jmp case.0x40d046.4
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.0x40d046.4
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x14], 0x20
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], edx
jle 0x40d0ce
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], eax
jmp 0x40d0d7
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x14], edx
jmp case.0x40d046.4
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
jmp 0x40cb44
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.0040d200
test eax, eax
jne 0x40d10a
xor eax, eax
jmp 0x40d137
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
mov dword [ebp - 0x34], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
call fcn.0040d3e0
mov dword [ebp - 8], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8