Function at 0x40f500
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
jmp 0x40f52b
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
test ecx, ecx
je 0x40faac
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x25
jne 0x40f55c
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x25
jne 0x40f573
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
sub eax, dword [ebp - 0x10]
sar eax, 1
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x40f51e
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jmp 0x40f590
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
test ecx, ecx
je 0x40f601
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x23
jne 0x40f5b0
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
jmp 0x40f5ff
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x2a
jne 0x40f5cf
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x40f5ff
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x2d
je 0x40f5fb
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x2b
je 0x40f5fb
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x30
je 0x40f5fb
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x20
jne 0x40f5fd
jmp 0x40f5ff
jmp 0x40f601
jmp 0x40f583
cmp dword [ebp - 0x1c], 0
jne 0x40f644
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040fc70
add esp, 4
mov dword [ebp - 0x1c], eax
jmp 0x40f625
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
test eax, eax
je 0x40f644
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
push edx
call fcn.0040fc50
add esp, 4
test eax, eax
je 0x40f644
jmp 0x40f618
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x2e
jne 0x40f6cc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x2a
jne 0x40f68f
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
jmp 0x40f6cc
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040fc70
add esp, 4
mov dword [ebp - 0x20], eax
jmp 0x40f6ad
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
test eax, eax
je 0x40f6cc
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
push edx
call fcn.0040fc50
add esp, 4
test eax, eax
je 0x40f6cc
jmp 0x40f6a0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x49
jne 0x40f708
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 2]
cmp eax, 0x36
jne 0x40f708
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 4]
cmp edx, 0x34
jne 0x40f708
mov eax, dword [ebp - 0x10]
add eax, 6
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x40000
jmp case.0x40f72a.1
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
sub eax, 0x46
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x26
ja case.0x40f72a.1
mov ecx, dword [ebp - 0x38]
movzx edx, byte [ecx + 0x40fb14]
jmp dword [edx*4 + 0x40fb04]
mov dword [ebp - 0x14], 0x10000
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
jmp case.0x40f72a.1
mov dword [ebp - 0x14], 0x20000
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
jmp case.0x40f72a.1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
or ecx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0x10063
jg 0x40f7d2
cmp dword [ebp - 0x3c], 0x10063
je 0x40f833
cmp dword [ebp - 0x3c], 0x73
jg 0x40f7b7
cmp dword [ebp - 0x3c], 0x73
je 0x40f85d
cmp dword [ebp - 0x3c], 0x43
je 0x40f81e
cmp dword [ebp - 0x3c], 0x53
je 0x40f8ab
cmp dword [ebp - 0x3c], 0x63
je 0x40f81e
jmp 0x40f98f
cmp dword [ebp - 0x3c], 0x10043
je 0x40f833
cmp dword [ebp - 0x3c], 0x10053
je 0x40f8f9
jmp 0x40f98f
cmp dword [ebp - 0x3c], 0x20053
jg 0x40f803
cmp dword [ebp - 0x3c], 0x20053
je 0x40f944
cmp dword [ebp - 0x3c], 0x10073
je 0x40f8f9
cmp dword [ebp - 0x3c], 0x20043
je 0x40f848
jmp 0x40f98f
cmp dword [ebp - 0x3c], 0x20063
je 0x40f848
cmp dword [ebp - 0x3c], 0x20073
je 0x40f944
jmp 0x40f98f
mov dword [ebp - 0x18], 2
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
jmp 0x40f98f
mov dword [ebp - 0x18], 2
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
jmp 0x40f98f
mov dword [ebp - 0x18], 2
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
jmp 0x40f98f
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
jne 0x40f87e
mov dword [ebp - 0x18], 6
jmp 0x40f8a6
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x40f89a
mov dword [ebp - 0x40], 1
jmp 0x40f8a0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x18], ecx
jmp 0x40f98f
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
jne 0x40f8cc
mov dword [ebp - 0x18], 6
jmp 0x40f8f4
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x40f8e8
mov dword [ebp - 0x44], 1
jmp 0x40f8ee
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], ecx
jmp 0x40f98f
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
jne 0x40f91a
mov dword [ebp - 0x18], 6
jmp 0x40f942
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x40f936
mov dword [ebp - 0x48], 1
jmp 0x40f93c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
jmp 0x40f98f
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
jne 0x40f965
mov dword [ebp - 0x18], 6
jmp 0x40f98f
mov edx, dword [ebp - 0x30]
push edx
call fcn.0042b51b
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x40f983
mov dword [ebp - 0x4c], 1
jmp 0x40f989
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x40f9d8
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
jle 0x40f9a5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
jmp 0x40f9ab
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x20], 0
je 0x40f9d3
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
jge 0x40f9c7
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x54], ecx
jmp 0x40f9cd
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
jmp case.0x40f9fe.1
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
sub eax, 0x45
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x33
ja case.0x40f9fe.1
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x40fb50]
jmp dword [edx*4 + 0x40fb3c]
mov eax, dword [ebp - 0x14]
and eax, 0x40000
je 0x40fa1a
mov ecx, dword [ebp + 0xc]
add ecx, 8
mov dword [ebp + 0xc], ecx
jmp 0x40fa23
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x18], 0x20
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
cmp dword [ebp - 0x18], eax
jle 0x40fa3d
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x5c], ecx
jmp 0x40fa46
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
jmp case.0x40f9fe.1
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 case.0x40f9fe.1
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x18], 0x20
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
cmp dword [ebp - 0x18], edx
jle 0x40fa84
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
jmp 0x40fa8d
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x18], edx
jmp case.0x40f9fe.1
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
jmp 0x40f51e
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0040cd00
test eax, eax
jne 0x40fac0
xor eax, eax
jmp 0x40fafb
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0040fbb0
add eax, 1
push eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
push eax
call fcn.0040fb90
add esp, 0x10
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x34]
call fcn.0040cdd0
mov dword [ebp - 0xc], 0
mov eax, 1
mov esp, ebp
pop ebp
ret 8