Function at 0x405e80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp word [esi], 0
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
je 0x4061d6
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
lea esp, [esp]
cmp word [esi], 0x25
jne 0x4061bd
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x25
je 0x4061bd
xor edi, edi
mov dword [ebp - 8], edi
test ax, ax
je 0x405f21
cmp ax, 0x23
jne 0x405ee1
add dword [ebp - 4], 2
jmp 0x405f0f
cmp ax, 0x2a
jne 0x405ef7
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jmp 0x405f0f
cmp ax, 0x2d
je 0x405f0f
cmp ax, 0x2b
je 0x405f0f
cmp ax, 0x30
je 0x405f0f
cmp ax, 0x20
jne 0x405f1c
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x405ed5
cmp dword [ebp - 8], edi
jne 0x405f52
push esi
call fcn.0041f3fa
mov dword [ebp - 8], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x405f52
movzx eax, ax
push eax
call fcn.00416be5
add esp, 4
test eax, eax
je 0x405f52
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x405f35
cmp word [esi], 0x2e
mov dword [ebp - 0xc], edi
jne 0x405fad
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x405f7b
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 0x405fad
call fcn.0041f3fa
mov dword [ebp - 0xc], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x405fad
mov edi, edi
movzx eax, ax
push eax
call fcn.00416be5
add esp, 4
test eax, eax
je 0x405fad
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x405f90
movzx eax, word [esi]
xor ebx, ebx
cmp eax, 0x49
jne 0x405fcf
cmp word [esi + 2], 0x36
jne 0x405fcf
cmp word [esi + 4], 0x34
jne 0x405fcf
add esi, 6
mov ebx, 0x40000
jmp case.0x405fde.71
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x405fde.71
movzx eax, byte [eax + 0x406304]
jmp dword [eax*4 + 0x4062f4]
mov ebx, 0x10000
jmp case.0x405fde.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 0x4060b7
je 0x406077
cmp eax, 0x73
jg 0x4060a6
je 0x406085
cmp eax, 0x43
je 0x406077
cmp eax, 0x53
je 0x406043
cmp eax, 0x63
je 0x406077
movzx eax, word [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x40603c.70
movzx ecx, byte [eax + 0x406340]
jmp dword [ecx*4 + 0x40632c]
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x40605b
lea edi, [eax + 6]
jmp 0x40611c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x406114
mov edi, 1
jmp 0x40611c
add dword [ebp + 0x10], 4
mov edi, 2
jmp 0x40611c
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x40609d
lea edi, [eax + 6]
jmp 0x40611c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x406062
sub eax, 0x10043
je 0x406077
sub eax, 0x10
je 0x406043
jmp 0x406026
cmp eax, 0x20053
jg 0x4060d5
je 0x4060e5
cmp eax, 0x10073
je 0x406043
cmp eax, 0x20043
jmp 0x406024
sub eax, 0x20063
je 0x406077
sub eax, 0x10
jne 0x406026
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x4060fa
lea edi, [eax + 6]
jmp 0x40611c
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406100
sub eax, edx
sar eax, 1
jmp 0x406062
test edi, edi
je 0x406026
mov eax, dword [ebp - 8]
cmp edi, eax
jg 0x406125
mov edi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x40603c.70
cmp edi, eax
jl case.0x40603c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
jmp 0x4061c7
test ebx, 0x40000
je 0x406152
add dword [ebp + 0x10], 8
jmp 0x406156
add dword [ebp + 0x10], 4
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov edi, 0x20
cmp eax, edi
jl case.0x40603c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
jmp 0x4061c7
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 ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x4061c7
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
add dword [ebp + 0x10], 4
mov edi, 0x20
cmp eax, edi
jl case.0x40603c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
jmp 0x4061c7
add dword [ebp + 0x10], 4
add dword [ebp - 4], edi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x4061c7
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 0x405eb0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], 1
mov edi, dword [ebp - 4]
lea esi, [eax - 0xc]
jg 0x4061ec
cmp edi, dword [eax - 4]
jle 0x406247
mov ebx, dword [eax - 8]
cmp dword [ebp - 4], ebx
jge 0x4061f6
mov edi, ebx
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.004013a0
test eax, eax
je 0x406250
lea eax, [ebx + ebx + 2]
lea ecx, [edi + edi + 2]
cmp ecx, eax
jb 0x406223
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [esi + 0xc]
push edx
push ecx
call fcn.00417890
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax - 8], ebx
cmp esi, 0x4362b8
je 0x406247
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x406247
push esi
call fcn.0041121b
add esp, 4
mov edi, dword [ebp + 8]
mov eax, dword [edi]
test eax, eax
jne 0x40625b
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
mov eax, dword [edi]
cmp dword [eax - 0xc], 1
lea esi, [eax - 0xc]
jle 0x4062d0
add eax, 0xfffffff4
cmp eax, 0x4362b8
je 0x4062a0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x406298
mov eax, dword [edi]
sub eax, 0xc
push eax
call fcn.0041121b
add esp, 4
mov ecx, dword [0x4362c8]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov edx, edi
call fcn.004013a0
test eax, eax
je 0x4062d0
mov ecx, dword [edi]
mov eax, dword [esi + 4]
mov edx, dword [ecx - 4]
lea eax, [eax + eax + 2]
lea edx, [edx + edx + 2]
cmp edx, eax
jb 0x4062d0
push eax
add esi, 0xc
push esi
push ecx
call fcn.00417890
add esp, 0xc
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi]
pop edi
xor ecx, ecx
pop esi
mov word [edx + eax*2], cx
lea eax, [ecx + 1]
pop ebx
mov esp, ebp
pop ebp
ret 0xc