Function at 0x10010183
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
and dword [esp], 0
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
cmp word [esi], 0
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
je 0x10010474
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
cmp word [esi], 0x25
jne 0x10010459
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x25
je 0x10010459
xor edi, edi
mov dword [esp + 0x2c], edi
cmp ax, di
je 0x10010221
cmp ax, 0x23
jne 0x100101e4
add dword [esp + 0x10], 2
jmp 0x1001020d
cmp ax, 0x2a
jne 0x100101f5
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x2c], eax
jmp 0x1001020d
cmp ax, 0x2d
je 0x1001020d
cmp ax, 0x2b
je 0x1001020d
cmp ax, 0x30
je 0x1001020d
cmp ax, 0x20
jne 0x1001021a
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x100101d7
cmp dword [esp + 0x2c], 0
jne 0x10010249
push esi
call fcn.10032e80
pop ecx
mov dword [esp + 0x2c], eax
jmp 0x10010241
movzx eax, ax
push eax
call fcn.10032e57
pop ecx
test eax, eax
je 0x10010249
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x1001022e
and dword [esp + 0x18], 0
cmp word [esi], 0x2e
jne 0x10010296
push esi
call ebp
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x1001026f
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x1c], eax
call ebp
mov esi, eax
jmp 0x10010296
call fcn.10032e80
pop ecx
mov dword [esp + 0x18], eax
jmp 0x1001028e
movzx eax, ax
push eax
call fcn.10032e57
pop ecx
test eax, eax
je 0x10010296
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x1001027b
movzx eax, word [esi]
and dword [esp + 0x14], 0
cmp ax, 0x49
jne 0x100102bf
cmp word [esi + 2], 0x36
jne 0x100102bf
cmp word [esi + 4], 0x34
jne 0x100102bf
add esi, 6
mov dword [esp + 0x14], 0x40000
jmp 0x100102f1
movzx eax, ax
sub eax, 0x46
je 0x100102ec
sub eax, 6
je 0x100102ec
dec eax
dec eax
je 0x100102ec
sub eax, 0x1a
je 0x100102e4
sub eax, 4
jne 0x100102f1
mov dword [esp + 0x14], 0x20000
jmp 0x100102ec
mov dword [esp + 0x14], 0x10000
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
or eax, dword [esp + 0x14]
mov ecx, 0x10063
cmp eax, ecx
jg 0x100103a5
je 0x1001039d
sub eax, 0x43
je 0x1001039d
push 0x10
pop ecx
sub eax, ecx
je 0x100103d8
sub eax, ecx
je 0x1001039d
sub eax, ecx
je 0x10010386
sub eax, 0xffd0
je 0x1001039d
sub eax, ecx
je 0x100103d8
movzx eax, word [esi]
cmp eax, 0x69
jg 0x10010410
je 0x10010425
cmp eax, 0x45
je 0x10010370
cmp eax, 0x47
je 0x10010370
cmp eax, 0x58
je 0x10010425
cmp eax, 0x64
je 0x10010425
add eax, 0xffffff9b
cmp eax, 2
ja 0x1001044f
push 0x1004b5c8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x1001044f
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x10010394
push 6
pop edi
jmp 0x100103fa
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x100103e8
push 2
pop edi
add ebx, 4
jmp 0x100103fa
sub eax, 0x10073
je 0x100103d8
sub eax, 0xffd0
je 0x1001039d
sub eax, 0x10
je 0x100103c6
sub eax, 0x10
je 0x1001039d
sub eax, 0x10
jne 0x10010336
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x1001038f
push eax
call fcn.10032c26
pop ecx
jmp 0x100103e8
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x1001038f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x100103f2
xor edi, edi
inc edi
test edi, edi
je 0x10010336
cmp edi, dword [esp + 0x2c]
jg 0x10010404
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001044f
cmp edi, eax
jmp 0x10010446
sub eax, 0x6e
je 0x1001044c
dec eax
je 0x10010425
dec eax
je 0x10010434
sub eax, 5
je 0x10010425
sub eax, 3
jne 0x1001044f
test dword [esp + 0x14], 0x40000
je 0x10010434
add ebx, 8
jmp 0x10010437
add ebx, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push 0x20
pop edi
add eax, ecx
cmp eax, edi
jl 0x1001044f
mov edi, eax
jmp 0x1001044f
add ebx, 4
add dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
jmp 0x10010464
push esi
call ebp
sub eax, esi
sar eax, 1
add dword [esp + 0x10], eax
push esi
call ebp
mov esi, eax
cmp word [esi], 0
jne 0x100101b0
pop ebp
push dword [esp + 0xc]
mov ecx, edi
call fcn.1000eeb8
test eax, eax
je 0x100104a7
mov eax, dword [edi]
push dword [esp + 0x1c]
mov ecx, dword [eax - 4]
push dword [esp + 0x28]
inc ecx
push ecx
push eax
call fcn.10032def
add esp, 0x10
push 0xffffffffffffffff
mov ecx, edi
call fcn.1000f92d
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8