Function at 0x10022bc0
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 0x10022f2a
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, edi
cmp word [esi], 0x25
jne 0x10022f10
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x25
je 0x10022f10
xor edi, edi
mov dword [ebp - 8], edi
cmp ax, di
je 0x10022c61
cmp ax, 0x23
jne 0x10022c21
add dword [ebp - 4], 2
jmp 0x10022c4f
cmp ax, 0x2a
jne 0x10022c37
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
jmp 0x10022c4f
cmp ax, 0x2d
je 0x10022c4f
cmp ax, 0x2b
je 0x10022c4f
cmp ax, 0x30
je 0x10022c4f
cmp ax, 0x20
jne 0x10022c5c
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x10022c15
cmp dword [ebp - 8], edi
jne 0x10022c92
push esi
call fcn.100574aa
mov dword [ebp - 8], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x10022c92
movzx eax, ax
push eax
call fcn.1005746e
add esp, 4
test eax, eax
je 0x10022c92
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x10022c75
cmp word [esi], 0x2e
mov dword [ebp - 0xc], edi
jne 0x10022ced
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x10022cbb
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 0x10022ced
call fcn.100574aa
mov dword [ebp - 0xc], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x10022ced
mov edi, edi
movzx eax, ax
push eax
call fcn.1005746e
add esp, 4
test eax, eax
je 0x10022ced
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x10022cd0
movzx eax, word [esi]
xor ebx, ebx
cmp eax, 0x49
jne 0x10022d0f
cmp word [esi + 2], 0x36
jne 0x10022d0f
cmp word [esi + 4], 0x34
jne 0x10022d0f
add esi, 6
mov ebx, 0x40000
jmp case.0x10022d1e.71
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x10022d1e.71
movzx eax, byte [eax + 0x10022f8c]
jmp dword [eax*4 + 0x10022f7c]
mov ebx, 0x10000
jmp case.0x10022d1e.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 0x10022df7
je 0x10022db7
cmp eax, 0x73
jg 0x10022de6
je 0x10022dc5
cmp eax, 0x43
je 0x10022db7
cmp eax, 0x53
je 0x10022d83
cmp eax, 0x63
je 0x10022db7
movzx eax, word [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x10022d7c.70
movzx ecx, byte [eax + 0x10022fc8]
jmp dword [ecx*4 + 0x10022fb4]
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x10022d9b
lea edi, [eax + 6]
jmp 0x10022e5c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x10022e54
mov edi, 1
jmp 0x10022e5c
add dword [ebp + 0xc], 4
mov edi, 2
jmp 0x10022e5c
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x10022ddd
lea edi, [eax + 6]
jmp 0x10022e5c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x10022da2
sub eax, 0x10043
je 0x10022db7
sub eax, 0x10
je 0x10022d83
jmp 0x10022d66
cmp eax, 0x20053
jg 0x10022e15
je 0x10022e25
cmp eax, 0x10073
je 0x10022d83
cmp eax, 0x20043
jmp 0x10022d64
sub eax, 0x20063
je 0x10022db7
sub eax, 0x10
jne 0x10022d66
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x10022e3a
lea edi, [eax + 6]
jmp 0x10022e5c
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10022e40
sub eax, edx
sar eax, 1
jmp 0x10022da2
test edi, edi
je 0x10022d66
mov eax, dword [ebp - 8]
cmp edi, eax
jg 0x10022e65
mov edi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x10022d7c.70
cmp edi, eax
jl case.0x10022d7c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x10022f1a
test ebx, 0x40000
je 0x10022e99
add dword [ebp + 0xc], 8
jmp 0x10022e9d
add dword [ebp + 0xc], 4
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov edi, 0x20
cmp eax, edi
jl case.0x10022d7c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x10022f1a
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 0x10022f1a
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
add dword [ebp + 0xc], 4
mov edi, 0x20
cmp eax, edi
jl case.0x10022d7c.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x10022f1a
add dword [ebp + 0xc], 4
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x10022f1a
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 0x10022bf0
pop ebx
mov eax, dword [ebp - 4]
push eax
mov ecx, edi
call fcn.100013f0
test eax, eax
jne 0x10022f41
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.10001480
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