Function at 0x409510
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
cmp word [esi], 0
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
je 0x40987a
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
lea esp, [esp]
cmp word [esi], 0x25
jne 0x409860
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x25
je 0x409860
xor edi, edi
mov dword [ebp - 8], edi
cmp ax, di
je 0x4095b1
cmp ax, 0x23
jne 0x409571
add dword [ebp - 4], 2
jmp 0x40959f
cmp ax, 0x2a
jne 0x409587
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jmp 0x40959f
cmp ax, 0x2d
je 0x40959f
cmp ax, 0x2b
je 0x40959f
cmp ax, 0x30
je 0x40959f
cmp ax, 0x20
jne 0x4095ac
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x409565
cmp dword [ebp - 8], edi
jne 0x4095e2
push esi
call fcn.0040dfe6
mov dword [ebp - 8], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x4095e2
movzx eax, ax
push eax
call fcn.0040dfbd
add esp, 4
test eax, eax
je 0x4095e2
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x4095c5
cmp word [esi], 0x2e
mov dword [ebp - 0xc], edi
jne 0x40963d
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x40960b
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
add eax, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 0xc], edx
call ebx
mov esi, eax
jmp 0x40963d
call fcn.0040dfe6
mov dword [ebp - 0xc], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x40963d
mov edi, edi
movzx eax, ax
push eax
call fcn.0040dfbd
add esp, 4
test eax, eax
je 0x40963d
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x409620
movzx eax, word [esi]
xor ebx, ebx
cmp eax, 0x49
jne 0x40965f
cmp word [esi + 2], 0x36
jne 0x40965f
cmp word [esi + 4], 0x34
jne 0x40965f
add esi, 6
mov ebx, 0x40000
jmp case.0x40966e.71
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x40966e.71
movzx eax, byte [eax + 0x4098e0]
jmp dword [eax*4 + 0x4098d0]
mov ebx, 0x10000
jmp case.0x40966e.70
mov ebx, 0x20000
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
movzx eax, word [esi]
or eax, ebx
cmp eax, 0x10063
jg 0x409747
je 0x409707
cmp eax, 0x73
jg 0x409736
je 0x409715
cmp eax, 0x43
je 0x409707
cmp eax, 0x53
je 0x4096d3
cmp eax, 0x63
je 0x409707
movzx eax, word [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x4096cc.70
movzx ecx, byte [eax + 0x40991c]
jmp dword [ecx*4 + 0x409908]
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x4096eb
lea edi, [eax + 6]
jmp 0x4097ac
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x4097a4
mov edi, 1
jmp 0x4097ac
add dword [ebp + 0x10], 4
mov edi, 2
jmp 0x4097ac
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x40972d
lea edi, [eax + 6]
jmp 0x4097ac
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x4096f2
sub eax, 0x10043
je 0x409707
sub eax, 0x10
je 0x4096d3
jmp 0x4096b6
cmp eax, 0x20053
jg 0x409765
je 0x409775
cmp eax, 0x10073
je 0x4096d3
cmp eax, 0x20043
jmp 0x4096b4
sub eax, 0x20063
je 0x409707
sub eax, 0x10
jne 0x4096b6
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x40978a
lea edi, [eax + 6]
jmp 0x4097ac
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409790
sub eax, edx
sar eax, 1
jmp 0x4096f2
test edi, edi
je 0x4096b6
mov eax, dword [ebp - 8]
cmp edi, eax
jg 0x4097b5
mov edi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x4096cc.70
cmp edi, eax
jl case.0x4096cc.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp + 8]
jmp 0x40986a
test ebx, 0x40000
je 0x4097e9
add dword [ebp + 0x10], 8
jmp 0x4097ed
add dword [ebp + 0x10], 4
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov edi, 0x20
cmp eax, edi
jl case.0x4096cc.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp + 8]
jmp 0x40986a
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]
add dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x40986a
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
add dword [ebp + 0x10], 4
mov edi, 0x20
cmp eax, edi
jl case.0x4096cc.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp + 8]
jmp 0x40986a
add dword [ebp + 0x10], 4
add dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x40986a
push esi
call ebx
sub eax, esi
sar eax, 1
add dword [ebp - 4], eax
push esi
call ebx
mov esi, eax
cmp word [esi], 0
jne 0x409540
pop ebx
mov eax, dword [ebp - 4]
push edi
call fcn.00401a90
test eax, eax
jne 0x40988f
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [eax - 4]
push edx
inc ecx
push ecx
push eax
call fcn.0040dece
add esp, 0x10
call fcn.00401bb0
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi]
xor ecx, ecx
pop edi
mov word [edx + eax*2], cx
lea eax, [ecx + 1]
pop esi
mov esp, ebp
pop ebp
ret 0xc