Function at 0x4069f7
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x10
and dword [esp], 0
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, ecx
mov dword [esp + 0x18], ebx
cmp word [esi], 0
mov dword [esp + 0x14], edi
je 0x406cee
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
cmp word [esi], 0x25
jne 0x406cda
push esi
call ebp
mov esi, eax
mov ax, word [esi]
cmp ax, 0x25
je 0x406cda
xor edi, edi
cmp ax, di
mov dword [esp + 0x28], edi
je 0x406a96
cmp ax, 0x23
jne 0x406a59
add dword [esp + 0x10], 2
jmp 0x406a82
cmp ax, 0x2a
jne 0x406a6a
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x28], eax
jmp 0x406a82
cmp ax, 0x2d
je 0x406a82
cmp ax, 0x2b
je 0x406a82
cmp ax, 0x30
je 0x406a82
cmp ax, 0x20
jne 0x406a8f
push esi
call ebp
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x406a4c
cmp dword [esp + 0x28], 0
jne 0x406abb
push esi
call fcn.0049116f
pop ecx
mov dword [esp + 0x28], eax
mov ax, word [esi]
test ax, ax
je 0x406abb
push eax
call fcn.00491153
test eax, eax
pop ecx
je 0x406abb
push esi
call ebp
mov esi, eax
jmp 0x406aa1
xor ebp, ebp
cmp word [esi], 0x2e
jne 0x406ae0
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], 0x2a
jne 0x406b09
mov ebp, dword [ebx]
add ebx, 4
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov ax, word [esi]
and dword [esp + 0x14], 0
cmp ax, 0x49
jne 0x406b30
cmp word [esi + 2], 0x36
jne 0x406b30
cmp word [esi + 4], 0x34
jne 0x406b30
add esi, 6
mov dword [esp + 0x14], 0x40000
jmp 0x406b66
push esi
call fcn.0049116f
pop ecx
mov ebp, eax
mov ax, word [esi]
test ax, ax
je 0x406ae0
push eax
call fcn.00491153
test eax, eax
pop ecx
je 0x406ae0
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
jmp 0x406b12
movzx eax, ax
sub eax, 0x46
je 0x406b5d
sub eax, 6
je 0x406b5d
dec eax
dec eax
je 0x406b5d
sub eax, 0x1a
je 0x406b55
sub eax, 4
jne 0x406b66
mov dword [esp + 0x14], 0x20000
jmp 0x406b5d
mov dword [esp + 0x14], 0x10000
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
movzx eax, word [esi]
or eax, dword [esp + 0x14]
mov ecx, 0x10063
cmp eax, ecx
jg 0x406c18
je 0x406c4b
sub eax, 0x43
je 0x406c4b
push 0x10
pop ecx
sub eax, ecx
je 0x406c53
sub eax, ecx
je 0x406c4b
sub eax, ecx
je 0x406c06
sub eax, 0xffd0
je 0x406c4b
sub eax, ecx
je 0x406c53
movzx eax, word [esi]
cmp eax, 0x69
jg 0x406c90
je 0x406cbb
cmp eax, 0x45
je 0x406bf0
cmp eax, 0x47
je 0x406bf0
cmp eax, 0x58
je 0x406cbb
cmp eax, 0x64
je 0x406cbb
jle 0x406cca
cmp eax, 0x67
jg 0x406cca
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 0x406cca
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x406c5c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x406c68
sub eax, 0x10073
je 0x406c53
sub eax, 0xffd0
je 0x406c4b
sub eax, 0x10
je 0x406c39
sub eax, 0x10
je 0x406c4b
sub eax, 0x10
jne 0x406bb3
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x406c5c
push eax
call fcn.00491136
pop ecx
jmp 0x406c68
push 2
add ebx, 4
pop edi
jmp 0x406c7a
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x406c61
push 6
pop edi
jmp 0x406c7a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x406c72
push 1
pop edi
test edi, edi
je 0x406bb3
cmp edi, dword [esp + 0x28]
jg 0x406c84
mov edi, dword [esp + 0x28]
test ebp, ebp
je 0x406cca
cmp edi, ebp
jl 0x406cca
mov edi, ebp
jmp 0x406cca
sub eax, 0x6e
je 0x406cc7
dec eax
je 0x406cbb
dec eax
je 0x406ca7
sub eax, 5
je 0x406cbb
sub eax, 3
je 0x406cbb
jmp 0x406cca
add ebx, 4
mov eax, dword [esp + 0x28]
push 0x20
pop edi
add eax, ebp
cmp eax, edi
jl 0x406cca
mov edi, eax
jmp 0x406cca
test byte [esp + 0x16], 4
je 0x406ca7
add ebx, 8
jmp 0x406caa
add ebx, 4
add dword [esp + 0x10], edi
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
mov edi, dword [esp + 0x18]
jmp 0x406cde
inc dword [esp + 0x10]
push esi
call ebp
mov esi, eax
cmp word [esi], 0
jne 0x406a25
pop ebp
push dword [esp + 0xc]
mov ecx, edi
call fcn.00406846
test eax, eax
je 0x406d19
push dword [esp + 0x18]
push dword [esp + 0x24]
push dword [edi]
call dword [sym.imp.USER32.dll_wvsprintfW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004068ae
push 1
pop eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8