Function at 0x40421c
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
and dword [esp], 0
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
cmp byte [esi], 0
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
je 0x4044e5
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
cmp byte [esi], 0x25
jne 0x4044cd
push esi
call ebx
mov esi, eax
mov al, byte [esi]
cmp al, 0x25
je 0x4044cd
xor edi, edi
test al, al
mov dword [esp + 0x2c], edi
je 0x4042a7
cmp al, 0x23
jne 0x404275
add dword [esp + 0x10], 2
jmp 0x404295
cmp al, 0x2a
jne 0x404285
mov eax, dword [ebp]
add ebp, 4
mov dword [esp + 0x2c], eax
jmp 0x404295
cmp al, 0x2d
je 0x404295
cmp al, 0x2b
je 0x404295
cmp al, 0x30
je 0x404295
cmp al, 0x20
jne 0x4042a0
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x40426a
cmp dword [esp + 0x2c], 0
jne 0x4042cc
push esi
call fcn.00404056
mov dword [esp + 0x30], eax
pop ecx
xor eax, eax
jmp 0x4042c6
push eax
call fcn.00404000
test eax, eax
pop ecx
je 0x4042cc
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x4042b6
and dword [esp + 0x18], 0
cmp byte [esi], 0x2e
jne 0x404315
push esi
call ebx
mov esi, eax
cmp byte [esi], 0x2a
push esi
jne 0x4042f1
mov eax, dword [ebp]
add ebp, 4
mov dword [esp + 0x1c], eax
call ebx
mov esi, eax
jmp 0x404315
call fcn.00404056
mov dword [esp + 0x1c], eax
pop ecx
xor eax, eax
jmp 0x40430f
push eax
call fcn.00404000
test eax, eax
pop ecx
je 0x404315
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x4042ff
mov al, byte [esi]
and dword [esp + 0x14], 0
cmp al, 0x49
jne 0x404339
cmp byte [esi + 1], 0x36
jne 0x404339
cmp byte [esi + 2], 0x34
jne 0x404339
add esi, 3
mov dword [esp + 0x14], 0x40000
jmp 0x40436b
movsx eax, al
sub eax, 0x46
je 0x404366
sub eax, 6
je 0x404366
dec eax
dec eax
je 0x404366
sub eax, 0x1a
je 0x40435e
sub eax, 4
jne 0x40436b
mov dword [esp + 0x14], 0x20000
jmp 0x404366
mov dword [esp + 0x14], 0x10000
push esi
call ebx
mov esi, eax
movsx eax, byte [esi]
or eax, dword [esp + 0x14]
mov ecx, 0x10063
cmp eax, ecx
jg 0x40441e
je 0x404441
sub eax, 0x43
je 0x404441
push 0x10
pop ecx
sub eax, ecx
je 0x40440b
sub eax, ecx
je 0x404441
sub eax, ecx
je 0x404449
sub eax, 0xffd0
je 0x404441
sub eax, ecx
je 0x404449
movsx eax, byte [esi]
cmp eax, 0x69
jg 0x40448b
je 0x4044a0
cmp eax, 0x45
je 0x4043f5
cmp eax, 0x47
je 0x4043f5
cmp eax, 0x58
je 0x4044a0
cmp eax, 0x64
je 0x4044a0
jle 0x4044c3
cmp eax, 0x67
jg 0x4044c3
push str.Floating_point____e____f____g__and___G__is_not_supported_by_the_WTL::CString_class.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x4044c3
mov eax, dword [ebp]
add ebp, 4
test eax, eax
je 0x404453
push eax
call fcn.00407270
pop ecx
jmp 0x40445f
sub eax, 0x10073
je 0x404449
sub eax, 0xffd0
je 0x404441
sub eax, 0x10
je 0x40440b
sub eax, 0x10
je 0x404441
sub eax, 0x10
jne 0x4043b8
jmp 0x40440b
push 2
pop edi
add ebp, 4
jmp 0x404471
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x404458
push 6
pop edi
jmp 0x404471
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x404469
xor edi, edi
inc edi
test edi, edi
je 0x4043b8
cmp edi, dword [esp + 0x2c]
jg 0x40447b
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4044c3
cmp edi, eax
jl 0x4044c3
mov edi, eax
jmp 0x4044c3
sub eax, 0x6e
je 0x4044c0
dec eax
je 0x4044a0
dec eax
je 0x4044ac
sub eax, 5
je 0x4044a0
sub eax, 3
jne 0x4044c3
test byte [esp + 0x16], 4
je 0x4044ac
add ebp, 8
jmp 0x4044af
add ebp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push 0x20
pop edi
add eax, ecx
cmp eax, edi
jmp 0x404485
add ebp, 4
add dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
jmp 0x4044d6
push esi
call ebx
sub eax, esi
add dword [esp + 0x10], eax
push esi
call ebx
mov esi, eax
cmp byte [esi], 0
jne 0x404248
pop ebx
push dword [esp + 0xc]
mov ecx, edi
call fcn.004041a2
test eax, eax
je 0x404510
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [edi]
call dword [sym.imp.USER32.dll_wvsprintfA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004041f4
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8