Function at 0x10051900
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 0x1005192b
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 0x10051ea1
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x25
jne 0x1005195c
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 0x10051967
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x1005191e
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jmp 0x10051984
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 0x100519f5
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x23
jne 0x100519a4
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
jmp 0x100519f3
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x2a
jne 0x100519c3
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 0x100519f3
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x2d
je 0x100519ef
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x2b
je 0x100519ef
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x30
je 0x100519ef
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x20
jne 0x100519f1
jmp 0x100519f3
jmp 0x100519f5
jmp 0x10051977
cmp dword [ebp - 0x1c], 0
jne 0x10051a38
mov eax, dword [ebp - 0x10]
push eax
call fcn.10051f90
add esp, 4
mov dword [ebp - 0x1c], eax
jmp 0x10051a19
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 0x10051a38
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
push edx
call fcn.10051f70
add esp, 4
test eax, eax
je 0x10051a38
jmp 0x10051a0c
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x2e
jne 0x10051ac0
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 0x10051a83
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 0x10051ac0
mov eax, dword [ebp - 0x10]
push eax
call fcn.10051f90
add esp, 4
mov dword [ebp - 0x20], eax
jmp 0x10051aa1
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 0x10051ac0
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
push edx
call fcn.10051f70
add esp, 4
test eax, eax
je 0x10051ac0
jmp 0x10051a94
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x49
jne 0x10051afc
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 2]
cmp eax, 0x36
jne 0x10051afc
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 4]
cmp edx, 0x34
jne 0x10051afc
mov eax, dword [ebp - 0x10]
add eax, 6
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x40000
jmp case.0x10051b1e.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.0x10051b1e.1
mov ecx, dword [ebp - 0x38]
movzx edx, byte [ecx + 0x10051ef8]
jmp dword [edx*4 + 0x10051ee8]
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.0x10051b1e.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.0x10051b1e.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 0x10051bc6
cmp dword [ebp - 0x3c], 0x10063
je 0x10051c27
cmp dword [ebp - 0x3c], 0x73
jg 0x10051bab
cmp dword [ebp - 0x3c], 0x73
je 0x10051c51
cmp dword [ebp - 0x3c], 0x43
je 0x10051c12
cmp dword [ebp - 0x3c], 0x53
je 0x10051c9f
cmp dword [ebp - 0x3c], 0x63
je 0x10051c12
jmp 0x10051d84
cmp dword [ebp - 0x3c], 0x10043
je 0x10051c27
cmp dword [ebp - 0x3c], 0x10053
je 0x10051ced
jmp 0x10051d84
cmp dword [ebp - 0x3c], 0x20053
jg 0x10051bf7
cmp dword [ebp - 0x3c], 0x20053
je 0x10051d38
cmp dword [ebp - 0x3c], 0x10073
je 0x10051ced
cmp dword [ebp - 0x3c], 0x20043
je 0x10051c3c
jmp 0x10051d84
cmp dword [ebp - 0x3c], 0x20063
je 0x10051c3c
cmp dword [ebp - 0x3c], 0x20073
je 0x10051d38
jmp 0x10051d84
mov dword [ebp - 0x18], 2
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
jmp 0x10051d84
mov dword [ebp - 0x18], 2
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
jmp 0x10051d84
mov dword [ebp - 0x18], 2
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
jmp 0x10051d84
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 0x10051c72
mov dword [ebp - 0x18], 6
jmp 0x10051c9a
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 0x10051c8e
mov dword [ebp - 0x40], 1
jmp 0x10051c94
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x18], ecx
jmp 0x10051d84
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 0x10051cc0
mov dword [ebp - 0x18], 6
jmp 0x10051ce8
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 0x10051cdc
mov dword [ebp - 0x44], 1
jmp 0x10051ce2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], ecx
jmp 0x10051d84
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 0x10051d0e
mov dword [ebp - 0x18], 6
jmp 0x10051d36
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 0x10051d2a
mov dword [ebp - 0x48], 1
jmp 0x10051d30
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
jmp 0x10051d84
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 0x10051d59
mov dword [ebp - 0x18], 6
jmp 0x10051d84
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.MSVCR90.dll_wcslen]
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10051d78
mov dword [ebp - 0x4c], 1
jmp 0x10051d7e
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 0x10051dcd
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
jle 0x10051d9a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
jmp 0x10051da0
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 0x10051dc8
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
jge 0x10051dbc
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x54], ecx
jmp 0x10051dc2
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
jmp case.0x10051df3.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.0x10051df3.1
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x10051f34]
jmp dword [edx*4 + 0x10051f20]
mov eax, dword [ebp - 0x14]
and eax, 0x40000
je 0x10051e0f
mov ecx, dword [ebp + 0xc]
add ecx, 8
mov dword [ebp + 0xc], ecx
jmp 0x10051e18
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 0x10051e32
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x5c], ecx
jmp 0x10051e3b
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.0x10051df3.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.0x10051df3.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 0x10051e79
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
jmp 0x10051e82
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.0x10051df3.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 0x1005191e
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.10051fb0
test eax, eax
jne 0x10051eb5
xor eax, eax
jmp 0x10051ee2
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x34]
call fcn.10052060
mov dword [ebp - 0xc], 0
mov eax, 1
mov esp, ebp
pop ebp
ret 8