Function at 0x402ae8
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]
cmp word [esi], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
je 0x402deb
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push edi
cmp word [esi], 0x25
jne 0x402dd7
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x25
je 0x402dd7
xor edi, edi
mov dword [ebp - 8], edi
cmp ax, di
je 0x402b83
cmp ax, 0x23
jne 0x402b43
add dword [ebp - 0xc], 2
jmp 0x402b70
cmp ax, 0x2a
jne 0x402b58
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x402b70
cmp ax, 0x2d
je 0x402b70
cmp ax, 0x2b
je 0x402b70
cmp ax, 0x30
je 0x402b70
cmp ax, 0x20
jne 0x402b7d
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x402b37
cmp dword [ebp - 8], 0
jne 0x402baa
push esi
call fcn.004176a0
pop ecx
mov dword [ebp - 8], eax
jmp 0x402ba2
movzx eax, ax
push eax
call fcn.00417677
pop ecx
test eax, eax
je 0x402baa
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x402b8f
and dword [ebp - 4], 0
cmp word [esi], 0x2e
jne 0x402bf9
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x402bd3
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
mov dword [ebp - 4], eax
call ebx
mov esi, eax
jmp 0x402bf9
call fcn.004176a0
pop ecx
mov dword [ebp - 4], eax
jmp 0x402bf1
movzx eax, ax
push eax
call fcn.00417677
pop ecx
test eax, eax
je 0x402bf9
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x402bde
movzx eax, word [esi]
and dword [ebp - 0x10], 0
cmp ax, 0x49
jne 0x402c20
cmp word [esi + 2], 0x36
jne 0x402c20
cmp word [esi + 4], 0x34
jne 0x402c20
add esi, 6
mov dword [ebp - 0x10], 0x40000
jmp 0x402c50
movzx eax, ax
sub eax, 0x46
je 0x402c4b
sub eax, 6
je 0x402c4b
dec eax
dec eax
je 0x402c4b
sub eax, 0x1a
je 0x402c44
sub eax, 4
jne 0x402c50
mov dword [ebp - 0x10], 0x20000
jmp 0x402c4b
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 0x402d10
je 0x402d07
sub eax, 0x43
je 0x402d07
push 0x10
pop ecx
sub eax, ecx
je 0x402d48
sub eax, ecx
je 0x402d07
sub eax, ecx
je 0x402ceb
sub eax, 0xffd0
je 0x402d07
sub eax, ecx
je 0x402d48
movzx eax, word [esi]
cmp eax, 0x6e
jg 0x402da0
je 0x402d9a
cmp eax, 0x47
je 0x402d87
cmp eax, 0x58
je 0x402cd5
cmp eax, 0x64
je 0x402cd5
jle 0x402dd2
cmp eax, 0x67
jle 0x402d87
cmp eax, 0x69
jne 0x402dd2
test dword [ebp - 0x10], 0x40000
je 0x402dbd
add dword [ebp + 0xc], 8
jmp 0x402dc1
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
test eax, eax
jne 0x402cfe
push 6
pop edi
jmp 0x402d6f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x402d5d
add dword [ebp + 0xc], 4
push 2
pop edi
jmp 0x402d6f
sub eax, 0x10073
je 0x402d48
sub eax, 0xffd0
je 0x402d07
sub eax, 0x10
je 0x402d31
sub eax, 0x10
je 0x402d07
sub eax, 0x10
jne 0x402c98
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
test eax, eax
je 0x402cf9
push eax
call fcn.00416d21
pop ecx
jmp 0x402d5d
add dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
test eax, eax
je 0x402cf9
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x402d67
xor edi, edi
inc edi
test edi, edi
je 0x402c98
cmp edi, dword [ebp - 8]
jg 0x402d77
mov edi, dword [ebp - 8]
cmp dword [ebp - 4], 0
je 0x402dd2
cmp edi, dword [ebp - 4]
jl 0x402dd2
mov edi, dword [ebp - 4]
jmp 0x402dd2
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 0x402dd2
add dword [ebp + 0xc], 4
jmp 0x402dd2
sub eax, 0x6f
je 0x402cd5
dec eax
je 0x402dbd
sub eax, 5
je 0x402cd5
sub eax, 3
jmp 0x402ccf
add dword [ebp + 0xc], 4
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
push 0x20
pop edi
add eax, ecx
cmp eax, edi
jl 0x402dd2
mov edi, eax
add dword [ebp - 0xc], edi
jmp 0x402dda
inc dword [ebp - 0xc]
push esi
call ebx
mov esi, eax
cmp word [esi], 0
jne 0x402b11
pop edi
pop ebx
mov esi, dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, esi
call fcn.00402a30
test eax, eax
je 0x402e16
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.00402abb
xor eax, eax
inc eax
pop esi
leave
ret 8