Function at 0x100158ad
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
and dword [esp + 4], 0
push ebx
push esi
mov esi, dword [esp + 0x24]
cmp word [esi], 0
mov ebx, eax
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
je 0x10015ba5
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
cmp word [esi], 0x25
jne 0x10015b8a
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x25
je 0x10015b8a
xor edi, edi
mov dword [esp + 0x10], edi
cmp ax, di
je 0x10015948
cmp ax, 0x23
jne 0x1001590b
add dword [esp + 0x14], 2
jmp 0x10015934
cmp ax, 0x2a
jne 0x1001591c
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x10], eax
jmp 0x10015934
cmp ax, 0x2d
je 0x10015934
cmp ax, 0x2b
je 0x10015934
cmp ax, 0x30
je 0x10015934
cmp ax, 0x20
jne 0x10015941
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x100158fe
cmp dword [esp + 0x10], 0
jne 0x10015970
push esi
call fcn.10084d91
pop ecx
mov dword [esp + 0x10], eax
jmp 0x10015968
movzx eax, ax
push eax
call fcn.10085649
pop ecx
test eax, eax
je 0x10015970
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x10015955
and dword [esp + 0x1c], 0
cmp word [esi], 0x2e
jne 0x100159bd
push esi
call ebp
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x10015996
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x20], eax
call ebp
mov esi, eax
jmp 0x100159bd
call fcn.10084d91
pop ecx
mov dword [esp + 0x1c], eax
jmp 0x100159b5
movzx eax, ax
push eax
call fcn.10085649
pop ecx
test eax, eax
je 0x100159bd
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x100159a2
movzx eax, word [esi]
and dword [esp + 0x18], 0
cmp ax, 0x49
jne 0x100159e6
cmp word [esi + 2], 0x36
jne 0x100159e6
cmp word [esi + 4], 0x34
jne 0x100159e6
add esi, 6
mov dword [esp + 0x18], 0x40000
jmp 0x10015a18
movzx eax, ax
sub eax, 0x46
je 0x10015a13
sub eax, 6
je 0x10015a13
dec eax
dec eax
je 0x10015a13
sub eax, 0x1a
je 0x10015a0b
sub eax, 4
jne 0x10015a18
mov dword [esp + 0x18], 0x20000
jmp 0x10015a13
mov dword [esp + 0x18], 0x10000
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
or eax, dword [esp + 0x18]
mov ecx, 0x10063
cmp eax, ecx
jg 0x10015acc
je 0x10015ac4
sub eax, 0x43
je 0x10015ac4
push 0x10
pop ecx
sub eax, ecx
je 0x10015b09
sub eax, ecx
je 0x10015ac4
sub eax, ecx
je 0x10015aad
sub eax, 0xffd0
je 0x10015ac4
sub eax, ecx
je 0x10015b09
movzx eax, word [esi]
cmp eax, 0x69
jg 0x10015b41
je 0x10015b56
cmp eax, 0x45
je 0x10015a97
cmp eax, 0x47
je 0x10015a97
cmp eax, 0x58
je 0x10015b56
cmp eax, 0x64
je 0x10015b56
add eax, 0xffffff9b
cmp eax, 2
ja 0x10015b80
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 0x10015b80
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x10015abb
push 6
pop edi
jmp 0x10015b2b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x10015b19
push 2
pop edi
add ebx, 4
jmp 0x10015b2b
sub eax, 0x10073
je 0x10015b09
sub eax, 0xffd0
je 0x10015ac4
sub eax, 0x10
je 0x10015aed
sub eax, 0x10
je 0x10015ac4
sub eax, 0x10
jne 0x10015a5d
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x10015ab6
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10015af9
sub eax, edx
sar eax, 1
jmp 0x10015b19
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x10015ab6
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x10015b23
xor edi, edi
inc edi
test edi, edi
je 0x10015a5d
cmp edi, dword [esp + 0x10]
jg 0x10015b35
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10015b80
cmp edi, eax
jmp 0x10015b77
sub eax, 0x6e
je 0x10015b7d
dec eax
je 0x10015b56
dec eax
je 0x10015b65
sub eax, 5
je 0x10015b56
sub eax, 3
jne 0x10015b80
test dword [esp + 0x18], 0x40000
je 0x10015b65
add ebx, 8
jmp 0x10015b68
add ebx, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0x20
pop edi
add eax, ecx
cmp eax, edi
jl 0x10015b80
mov edi, eax
jmp 0x10015b80
add ebx, 4
add dword [esp + 0x14], edi
mov edi, dword [esp + 0x28]
jmp 0x10015b95
push esi
call ebp
sub eax, esi
sar eax, 1
add dword [esp + 0x14], eax
push esi
call ebp
mov esi, eax
cmp word [esi], 0
jne 0x100158d7
pop ebp
push dword [esp + 0x10]
mov ebx, edi
call fcn.10015e52
test eax, eax
je 0x10015be3
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [edi]
call dword [sym.imp.USER32.dll_wvsprintfW]
mov eax, edi
call fcn.10015ee0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
mov dword [ecx - 8], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8