Function at 0x403670
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
je 0x4039da
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, edi
cmp word [esi], 0x25
jne 0x4039c0
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x25
je 0x4039c0
xor edi, edi
mov dword [ebp - 8], edi
cmp ax, di
je 0x403711
cmp ax, 0x23
jne 0x4036d1
add dword [ebp - 4], 2
jmp 0x4036ff
cmp ax, 0x2a
jne 0x4036e7
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
jmp 0x4036ff
cmp ax, 0x2d
je 0x4036ff
cmp ax, 0x2b
je 0x4036ff
cmp ax, 0x30
je 0x4036ff
cmp ax, 0x20
jne 0x40370c
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x4036c5
cmp dword [ebp - 8], edi
jne 0x403742
push esi
call fcn.00407c15
mov dword [ebp - 8], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x403742
movzx eax, ax
push eax
call fcn.00407bec
add esp, 4
test eax, eax
je 0x403742
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403725
cmp word [esi], 0x2e
mov dword [ebp - 0xc], edi
jne 0x40379d
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x40376b
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], edx
call ebx
mov esi, eax
jmp 0x40379d
call fcn.00407c15
mov dword [ebp - 0xc], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x40379d
mov edi, edi
movzx eax, ax
push eax
call fcn.00407bec
add esp, 4
test eax, eax
je 0x40379d
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403780
movzx eax, word [esi]
xor ebx, ebx
cmp eax, 0x49
jne 0x4037bf
cmp word [esi + 2], 0x36
jne 0x4037bf
cmp word [esi + 4], 0x34
jne 0x4037bf
add esi, 6
mov ebx, 0x40000
jmp case.0x4037ce.71
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x4037ce.71
movzx eax, byte [eax + 0x403a3c]
jmp dword [eax*4 + 0x403a2c]
mov ebx, 0x10000
jmp case.0x4037ce.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 0x4038a7
je 0x403867
cmp eax, 0x73
jg 0x403896
je 0x403875
cmp eax, 0x43
je 0x403867
cmp eax, 0x53
je 0x403833
cmp eax, 0x63
je 0x403867
movzx eax, word [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x40382c.70
movzx ecx, byte [eax + 0x403a78]
jmp dword [ecx*4 + 0x403a64]
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x40384b
lea edi, [eax + 6]
jmp 0x40390c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x403904
mov edi, 1
jmp 0x40390c
add dword [ebp + 0xc], 4
mov edi, 2
jmp 0x40390c
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x40388d
lea edi, [eax + 6]
jmp 0x40390c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x403852
sub eax, 0x10043
je 0x403867
sub eax, 0x10
je 0x403833
jmp 0x403816
cmp eax, 0x20053
jg 0x4038c5
je 0x4038d5
cmp eax, 0x10073
je 0x403833
cmp eax, 0x20043
jmp 0x403814
sub eax, 0x20063
je 0x403867
sub eax, 0x10
jne 0x403816
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x4038ea
lea edi, [eax + 6]
jmp 0x40390c
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4038f0
sub eax, edx
sar eax, 1
jmp 0x403852
test edi, edi
je 0x403816
mov eax, dword [ebp - 8]
cmp edi, eax
jg 0x403915
mov edi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x40382c.70
cmp edi, eax
jl case.0x40382c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4039ca
test ebx, 0x40000
je 0x403949
add dword [ebp + 0xc], 8
jmp 0x40394d
add dword [ebp + 0xc], 4
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov edi, 0x20
cmp eax, edi
jl case.0x40382c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4039ca
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 - 0x10]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x4039ca
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
add dword [ebp + 0xc], 4
mov edi, 0x20
cmp eax, edi
jl case.0x40382c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4039ca
add dword [ebp + 0xc], 4
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x4039ca
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 0x4036a0
pop ebx
mov eax, dword [ebp - 4]
push eax
mov ecx, edi
call fcn.00403310
test eax, eax
jne 0x4039f1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edi]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
mov ecx, edi
call fcn.00403420
mov ecx, dword [edi]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [edi]
mov dword [edx - 8], eax
mov ecx, dword [edi]
xor edx, edx
pop edi
mov word [ecx + eax*2], dx
lea eax, [edx + 1]
pop esi
mov esp, ebp
pop ebp
ret 8