Function at 0x404415
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
and dword [ebp - 0xc], 0
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
cmp word [esi], 0
je 0x40470e
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push edi
cmp word [esi], 0x25
jne 0x4046fa
push esi
call ebx
mov esi, eax
mov ax, word [esi]
cmp ax, 0x25
je 0x4046fa
xor edi, edi
cmp ax, di
mov dword [ebp - 8], edi
je 0x4044b0
cmp ax, 0x23
jne 0x404470
add dword [ebp - 0xc], 2
jmp 0x40449d
cmp ax, 0x2a
jne 0x404485
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x40449d
cmp ax, 0x2d
je 0x40449d
cmp ax, 0x2b
je 0x40449d
cmp ax, 0x30
je 0x40449d
cmp ax, 0x20
jne 0x4044aa
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x404464
cmp dword [ebp - 8], 0
jne 0x4044d7
push esi
call sub.MSVCRT.dll__wtoi
pop ecx
mov dword [ebp - 8], eax
mov ax, word [esi]
test ax, ax
je 0x4044d7
push 4
push eax
call sub.MSVCRT.dll_iswctype
pop ecx
test eax, eax
pop ecx
je 0x4044d7
push esi
call ebx
mov esi, eax
jmp 0x4044ba
and dword [ebp - 4], 0
cmp word [esi], 0x2e
jne 0x4044fe
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
jne 0x404525
add dword [ebp + 0xc], 4
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
mov dword [ebp - 4], eax
call ebx
mov esi, eax
mov ax, word [esi]
and dword [ebp - 0x10], 0
cmp ax, 0x49
jne 0x40454c
cmp word [esi + 2], 0x36
jne 0x40454c
cmp word [esi + 4], 0x34
jne 0x40454c
add esi, 6
mov dword [ebp - 0x10], 0x40000
jmp 0x40457c
push esi
call sub.MSVCRT.dll__wtoi
pop ecx
mov dword [ebp - 4], eax
mov ax, word [esi]
test ax, ax
je 0x4044fe
push 4
push eax
call sub.MSVCRT.dll_iswctype
pop ecx
test eax, eax
pop ecx
je 0x4044fe
push esi
call ebx
mov esi, eax
jmp 0x40452f
movzx eax, ax
sub eax, 0x46
je 0x404577
sub eax, 6
je 0x404577
dec eax
dec eax
je 0x404577
sub eax, 0x1a
je 0x404570
sub eax, 4
jne 0x40457c
mov dword [ebp - 0x10], 0x20000
jmp 0x404577
mov dword [ebp - 0x10], 0x10000
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
or eax, dword [ebp - 0x10]
mov ecx, 0x10063
cmp eax, ecx
jg 0x404632
je 0x40466a
sub eax, 0x43
je 0x40466a
push 0x10
pop ecx
sub eax, ecx
je 0x404673
sub eax, ecx
je 0x40466a
sub eax, ecx
je 0x40461b
sub eax, 0xffd0
je 0x40466a
sub eax, ecx
je 0x404673
movzx eax, word [esi]
cmp eax, 0x69
jg 0x4046b7
je 0x4046e5
cmp eax, 0x45
je 0x404605
cmp eax, 0x47
je 0x404605
cmp eax, 0x58
je 0x4046e5
cmp eax, 0x64
je 0x4046e5
jle 0x4046f5
cmp eax, 0x67
jg 0x4046f5
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 0x4046f5
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
test eax, eax
je 0x404681
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x40468d
sub eax, 0x10073
je 0x404673
sub eax, 0xffd0
je 0x40466a
sub eax, 0x10
je 0x404653
sub eax, 0x10
je 0x40466a
sub eax, 0x10
jne 0x4045c8
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
test eax, eax
je 0x404681
push eax
call sub.MSVCRT.dll_wcslen
pop ecx
jmp 0x40468d
add dword [ebp + 0xc], 4
push 2
pop edi
jmp 0x40469f
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
test eax, eax
jne 0x404686
push 6
pop edi
jmp 0x40469f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x404697
push 1
pop edi
test edi, edi
je 0x4045c8
cmp edi, dword [ebp - 8]
jg 0x4046a7
mov edi, dword [ebp - 8]
cmp dword [ebp - 4], 0
je 0x4046f5
cmp edi, dword [ebp - 4]
jl 0x4046f5
mov edi, dword [ebp - 4]
jmp 0x4046f5
sub eax, 0x6e
je 0x4046f1
dec eax
je 0x4046e5
dec eax
je 0x4046ce
sub eax, 5
je 0x4046e5
sub eax, 3
je 0x4046e5
jmp 0x4046f5
add dword [ebp + 0xc], 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push 0x20
add eax, ecx
pop edi
cmp eax, edi
jl 0x4046f5
mov edi, eax
jmp 0x4046f5
test byte [ebp - 0xe], 4
je 0x4046ce
add dword [ebp + 0xc], 8
jmp 0x4046d2
add dword [ebp + 0xc], 4
add dword [ebp - 0xc], edi
jmp 0x4046fd
inc dword [ebp - 0xc]
push esi
call ebx
mov esi, eax
cmp word [esi], 0
jne 0x40443e
pop edi
pop ebx
mov esi, dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, esi
call fcn.004032b4
test eax, eax
je 0x404739
push dword [ebp - 0x18]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_wvsprintfW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00403333
push 1
pop eax
pop esi
leave
ret 8