Function at 0x409bf8
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
and dword [esp], 0
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, ecx
mov dword [esp + 0x1c], ebx
cmp word [esi], 0
mov dword [esp + 0x18], edi
je 0x409ef0
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
cmp word [esi], 0x25
jne 0x409ed5
push esi
call ebp
mov esi, eax
mov ax, word [esi]
cmp ax, 0x25
je 0x409ed5
xor edi, edi
cmp ax, di
mov dword [esp + 0x2c], edi
je 0x409c97
cmp ax, 0x23
jne 0x409c5a
add dword [esp + 0x10], 2
jmp 0x409c83
cmp ax, 0x2a
jne 0x409c6b
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x2c], eax
jmp 0x409c83
cmp ax, 0x2d
je 0x409c83
cmp ax, 0x2b
je 0x409c83
cmp ax, 0x30
je 0x409c83
cmp ax, 0x20
jne 0x409c90
push esi
call ebp
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x409c4d
cmp dword [esp + 0x2c], 0
jne 0x409cbe
push esi
call dword [sym.imp.MSVCRT.dll__wtoi]
pop ecx
mov dword [esp + 0x2c], eax
mov ax, word [esi]
test ax, ax
je 0x409cbe
push eax
call dword [sym.imp.MSVCRT.dll_iswdigit]
test eax, eax
pop ecx
je 0x409cbe
push esi
call ebp
mov esi, eax
jmp 0x409ca3
and dword [esp + 0x18], 0
cmp word [esi], 0x2e
jne 0x409ce2
push esi
call ebp
mov esi, eax
cmp word [esi], 0x2a
jne 0x409d0b
mov eax, dword [ebx]
add ebx, 4
push esi
mov dword [esp + 0x1c], eax
call ebp
mov esi, eax
mov ax, word [esi]
and dword [esp + 0x14], 0
cmp ax, 0x49
jne 0x409d32
cmp word [esi + 2], 0x36
jne 0x409d32
cmp word [esi + 4], 0x34
jne 0x409d32
add esi, 6
mov dword [esp + 0x14], 0x40000
jmp 0x409d64
push esi
call dword [sym.imp.MSVCRT.dll__wtoi]
pop ecx
mov dword [esp + 0x18], eax
mov ax, word [esi]
test ax, ax
je 0x409ce2
push eax
call dword [sym.imp.MSVCRT.dll_iswdigit]
test eax, eax
pop ecx
je 0x409ce2
push esi
call ebp
mov esi, eax
jmp 0x409d17
movzx eax, ax
sub eax, 0x46
je 0x409d5f
sub eax, 6
je 0x409d5f
dec eax
dec eax
je 0x409d5f
sub eax, 0x1a
je 0x409d57
sub eax, 4
jne 0x409d64
mov dword [esp + 0x14], 0x20000
jmp 0x409d5f
mov dword [esp + 0x14], 0x10000
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
or eax, dword [esp + 0x14]
mov ecx, 0x10063
cmp eax, ecx
jg 0x409e16
je 0x409e4a
sub eax, 0x43
je 0x409e4a
push 0x10
pop ecx
sub eax, ecx
je 0x409e52
sub eax, ecx
je 0x409e4a
sub eax, ecx
je 0x409e04
sub eax, 0xffd0
je 0x409e4a
sub eax, ecx
je 0x409e52
movzx eax, word [esi]
cmp eax, 0x69
jg 0x409e93
je 0x409ea8
cmp eax, 0x45
je 0x409dee
cmp eax, 0x47
je 0x409dee
cmp eax, 0x58
je 0x409ea8
cmp eax, 0x64
je 0x409ea8
jle 0x409ecb
cmp eax, 0x67
jg 0x409ecb
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 0x409ecb
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x409e5b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x409e67
sub eax, 0x10073
je 0x409e52
sub eax, 0xffd0
je 0x409e4a
sub eax, 0x10
je 0x409e37
sub eax, 0x10
je 0x409e4a
sub eax, 0x10
jne 0x409db1
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x409e5b
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
jmp 0x409e67
push 2
add ebx, 4
pop edi
jmp 0x409e79
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x409e60
push 6
pop edi
jmp 0x409e79
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x409e71
push 1
pop edi
test edi, edi
je 0x409db1
cmp edi, dword [esp + 0x2c]
jg 0x409e83
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x409ecb
cmp edi, eax
jl 0x409ecb
mov edi, eax
jmp 0x409ecb
sub eax, 0x6e
je 0x409ec8
dec eax
je 0x409ea8
dec eax
je 0x409eb4
sub eax, 5
je 0x409ea8
sub eax, 3
jne 0x409ecb
test byte [esp + 0x16], 4
je 0x409eb4
add ebx, 8
jmp 0x409eb7
add ebx, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push 0x20
add eax, ecx
pop edi
cmp eax, edi
jmp 0x409e8d
add ebx, 4
add dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
jmp 0x409ee0
push esi
call ebp
sub eax, esi
sar eax, 1
add dword [esp + 0x10], eax
push esi
call ebp
mov esi, eax
cmp word [esi], 0
jne 0x409c26
pop ebp
push dword [esp + 0xc]
mov ecx, edi
call fcn.00404b50
test eax, eax
je 0x409f1b
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [edi]
call dword [sym.imp.USER32.dll_wvsprintfW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00404bc2
push 1
pop eax
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8