Function at 0x51f180
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jmp 0x51f1ab
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
je 0x51f745
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x25
jne 0x51f1dc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x25
jne 0x51f1f3
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
sub eax, dword [ebp - 4]
sar eax, 1
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
jmp 0x51f19e
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
jmp 0x51f210
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
je 0x51f281
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x23
jne 0x51f230
mov ecx, dword [ebp - 0x18]
add ecx, 2
mov dword [ebp - 0x18], ecx
jmp 0x51f27f
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x2a
jne 0x51f24f
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 - 0x10], eax
jmp 0x51f27f
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x2d
je 0x51f27b
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x2b
je 0x51f27b
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x30
je 0x51f27b
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x20
jne 0x51f27d
jmp 0x51f27f
jmp 0x51f281
jmp 0x51f203
cmp dword [ebp - 0x10], 0
jne 0x51f2c4
mov eax, dword [ebp - 4]
push eax
call fcn.00520a20
add esp, 4
mov dword [ebp - 0x10], eax
jmp 0x51f2a5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
je 0x51f2c4
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
push edx
call fcn.005209a0
add esp, 4
test eax, eax
je 0x51f2c4
jmp 0x51f298
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x2e
jne 0x51f34c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x2a
jne 0x51f30f
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 - 0x14], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 4], eax
jmp 0x51f34c
mov eax, dword [ebp - 4]
push eax
call fcn.00520a20
add esp, 4
mov dword [ebp - 0x14], eax
jmp 0x51f32d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
je 0x51f34c
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
push edx
call fcn.005209a0
add esp, 4
test eax, eax
je 0x51f34c
jmp 0x51f320
mov dword [ebp - 0x1c], 0
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movzx eax, word [edx + ecx]
cmp eax, 0x49
jne 0x51f3a0
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, word [edx + ecx]
cmp eax, 0x36
jne 0x51f3a0
mov ecx, 2
shl ecx, 1
mov edx, dword [ebp - 4]
movzx eax, word [edx + ecx]
cmp eax, 0x34
jne 0x51f3a0
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0x40000
jmp case.0x51f3c2.1
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
sub ecx, 0x46
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0x26
ja case.0x51f3c2.1
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x51f7ac]
jmp dword [eax*4 + 0x51f79c]
mov dword [ebp - 0x1c], 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 4], eax
jmp case.0x51f3c2.1
mov dword [ebp - 0x1c], 0x20000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 4], eax
jmp case.0x51f3c2.1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
or edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x10063
jg 0x51f46a
cmp dword [ebp - 0xc], 0x10063
je 0x51f4cb
cmp dword [ebp - 0xc], 0x73
jg 0x51f44f
cmp dword [ebp - 0xc], 0x73
je 0x51f4f5
cmp dword [ebp - 0xc], 0x43
je 0x51f4b6
cmp dword [ebp - 0xc], 0x53
je 0x51f543
cmp dword [ebp - 0xc], 0x63
je 0x51f4b6
jmp 0x51f627
cmp dword [ebp - 0xc], 0x10043
je 0x51f4cb
cmp dword [ebp - 0xc], 0x10053
je 0x51f591
jmp 0x51f627
cmp dword [ebp - 0xc], 0x20053
jg 0x51f49b
cmp dword [ebp - 0xc], 0x20053
je 0x51f5dc
cmp dword [ebp - 0xc], 0x10073
je 0x51f591
cmp dword [ebp - 0xc], 0x20043
je 0x51f4e0
jmp 0x51f627
cmp dword [ebp - 0xc], 0x20063
je 0x51f4e0
cmp dword [ebp - 0xc], 0x20073
je 0x51f5dc
jmp 0x51f627
mov dword [ebp - 8], 2
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
jmp 0x51f627
mov dword [ebp - 8], 2
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
jmp 0x51f627
mov dword [ebp - 8], 2
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
jmp 0x51f627
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx - 4]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
jne 0x51f516
mov dword [ebp - 8], 6
jmp 0x51f53e
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x51f532
mov dword [ebp - 0x30], 1
jmp 0x51f538
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 8], edx
jmp 0x51f627
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx - 4]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jne 0x51f564
mov dword [ebp - 8], 6
jmp 0x51f58c
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x51f580
mov dword [ebp - 0x38], 1
jmp 0x51f586
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 8], edx
jmp 0x51f627
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx - 4]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
jne 0x51f5b2
mov dword [ebp - 8], 6
jmp 0x51f5da
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x51f5ce
mov dword [ebp - 0x40], 1
jmp 0x51f5d4
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 8], edx
jmp 0x51f627
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx - 4]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0
jne 0x51f5fd
mov dword [ebp - 8], 6
jmp 0x51f627
mov eax, dword [ebp - 0x44]
push eax
call fcn.00548069
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x51f61b
mov dword [ebp - 0x48], 1
jmp 0x51f621
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x51f670
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jle 0x51f63d
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x4c], ecx
jmp 0x51f643
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x14], 0
je 0x51f66b
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x14]
jge 0x51f65f
mov edx, dword [ebp - 8]
mov dword [ebp - 0x50], edx
jmp 0x51f665
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 8], ecx
jmp case.0x51f696.1
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 0x45
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x33
ja case.0x51f696.1
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx + 0x51f7e8]
jmp dword [eax*4 + 0x51f7d4]
mov ecx, dword [ebp - 0x1c]
and ecx, 0x40000
je 0x51f6b3
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp + 0xc], edx
jmp 0x51f6bc
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], 0x20
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x14]
cmp dword [ebp - 8], ecx
jle 0x51f6d6
mov edx, dword [ebp - 8]
mov dword [ebp - 0x54], edx
jmp 0x51f6df
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 8], ecx
jmp case.0x51f696.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.0x51f696.1
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov dword [ebp - 8], 0x20
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
cmp dword [ebp - 8], eax
jle 0x51f71d
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x58], ecx
jmp 0x51f726
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 8], eax
jmp case.0x51f696.1
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
jmp 0x51f19e
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.005115b0
test eax, eax
jne 0x51f759
xor eax, eax
jmp 0x51f794
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.0051f820
add eax, 1
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
call fcn.005231b0
add esp, 0x10
mov dword [ebp - 0x60], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x28]
call fcn.00511900
mov dword [ebp - 0x5c], 0
mov eax, 1
mov esp, ebp
pop ebp
ret 8