Function at 0x101a7670
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
xor eax, eax
push ebx
mov ebx, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x82c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebp
lea eax, [ecx - 1]
push esi
cmp eax, 7
mov dword [esp + 0x14], ebx
mov ecx, 0xfffffff
ja case.0x101a76a1.3
jmp dword [eax*4 + 0x101a7940]
mov dword [esp + 0x10], 0
jmp 0x101a76ca
mov dword [esp + 0x10], 1
jmp 0x101a76ca
mov dword [esp + 0x10], 2
jmp 0x101a76ca
mov dword [esp + 0x10], ecx
mov dx, word [esp + 0x848]
cmp eax, 7
mov word [esp + 0x24], dx
mov dx, word [esp + 0x84a]
mov word [esp + 0x26], dx
ja case.0x101a76e9.2
jmp dword [eax*4 + 0x101a7960]
xor ecx, ecx
jmp case.0x101a76e9.2
mov ecx, 1
jmp case.0x101a76e9.2
mov ecx, 2
mov edx, dword [esp + 0x838]
xor eax, eax
or eax, ecx
xor esi, esi
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 8]
or edx, esi
xor ebp, ebp
test eax, eax
push edi
mov dword [esp + 0x10], eax
jle 0x101a774d
mov esi, dword [ebx + 4]
mov eax, dword [esi + 4]
mov edi, dword [esi]
xor ebx, ebx
xor ecx, ecx
or eax, ebx
or ecx, edi
cmp edx, eax
jb 0x101a7749
ja 0x101a773d
cmp dword [esp + 0x2c], ecx
jb 0x101a7749
mov eax, dword [esp + 0x10]
inc ebp
add esi, 0x10
cmp ebp, eax
jl 0x101a7724
mov ebx, dword [esp + 0x18]
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x848]
mov edx, dword [esp + 0x83c]
stosw word es:[edi], ax
mov eax, dword [esp + 0x844]
push eax
mov eax, dword [esp + 0x83c]
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
push str.CFilePolicyMgr::AddMatchObjPolicy_dwType__d__dwLevel__d__dwUserID__d__dwPolicy_0x_x_
push ecx
call fcn.100987f3
add esp, 0x18
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, dword [ebx + 8]
add ebx, 4
cmp ebp, esi
jl 0x101a78b7
mov eax, dword [ebx]
lea edi, [ebp + 1]
test edi, edi
jne 0x101a77d7
test eax, eax
je 0x101a77ca
push eax
call fcn.100639b7
add esp, 4
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
jmp 0x101a78fe
test eax, eax
jne 0x101a77fd
mov eax, edi
shl eax, 4
push eax
call fcn.10063988
push edi
push eax
mov dword [ebx], eax
call fcn.101a83a0
add esp, 0xc
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
jmp 0x101a78fe
mov ecx, dword [ebx + 8]
cmp edi, ecx
jg 0x101a7823
cmp edi, esi
jle 0x101a781b
mov ecx, edi
sub ecx, esi
shl esi, 4
add esi, eax
push ecx
push esi
call fcn.101a83a0
add esp, 8
mov dword [ebx + 4], edi
jmp 0x101a78fe
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x101a784d
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x101a7841
mov eax, 4
jmp 0x101a784d
cmp eax, 0x400
jle 0x101a784d
mov eax, 0x400
add eax, ecx
cmp edi, eax
mov dword [esp + 0x10], eax
jl 0x101a785b
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x10]
shl edx, 4
push edx
call fcn.10063988
mov ecx, dword [ebx + 4]
mov esi, dword [ebx]
shl ecx, 4
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x1c], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
lea esi, [ebp + 1]
mov edx, esi
sub edx, ecx
shl ecx, 4
add ecx, eax
push edx
push ecx
call fcn.101a83a0
mov eax, dword [ebx]
push eax
call fcn.100639b7
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add esp, 0x10
mov dword [ebx], ecx
mov dword [ebx + 4], esi
mov dword [ebx + 8], edx
jmp 0x101a78fe
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.101a8250
mov ecx, ebp
mov eax, dword [ebx]
shl ecx, 0x1c
sub ecx, ebp
mov edi, ebp
add ecx, esi
shl ecx, 4
push ecx
lea ecx, [ebp + 1]
shl edi, 4
shl ecx, 4
lea edx, [eax + edi]
add ecx, eax
push edx
push ecx
call fcn.10098cd0
mov eax, dword [ebx]
add esp, 0xc
add eax, edi
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x28]
xor eax, eax
shl ebp, 4
pop edi
mov edx, dword [ebx]
mov esi, dword [esp + 0x10]
add edx, ebp
add ebp, 0x10
mov dword [edx], esi
mov esi, dword [esp + 0x838]
mov dword [edx + 4], esi
mov esi, dword [esp + 0x840]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
mov edx, eax
dec eax
test edx, edx
jne 0x101a7908
pop esi
pop ebp
pop ebx
add esp, 0x824
ret 0x1c