Function at 0x101a51b0
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.0x101a51e1.3
jmp dword [eax*4 + 0x101a5480]
mov dword [esp + 0x10], 0
jmp 0x101a520a
mov dword [esp + 0x10], 1
jmp 0x101a520a
mov dword [esp + 0x10], 2
jmp 0x101a520a
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.0x101a5229.2
jmp dword [eax*4 + 0x101a54a0]
xor ecx, ecx
jmp case.0x101a5229.2
mov ecx, 1
jmp case.0x101a5229.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 0x101a528d
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 0x101a5289
ja 0x101a527d
cmp dword [esp + 0x2c], ecx
jb 0x101a5289
mov eax, dword [esp + 0x10]
inc ebp
add esi, 0x10
cmp ebp, eax
jl 0x101a5264
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.10098623
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 0x101a53f7
mov eax, dword [ebx]
lea edi, [ebp + 1]
test edi, edi
jne 0x101a5317
test eax, eax
je 0x101a530a
push eax
call fcn.100637e1
add esp, 4
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
jmp 0x101a543e
test eax, eax
jne 0x101a533d
mov eax, edi
shl eax, 4
push eax
call fcn.100637b2
push edi
push eax
mov dword [ebx], eax
call fcn.101a5ee0
add esp, 0xc
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
jmp 0x101a543e
mov ecx, dword [ebx + 8]
cmp edi, ecx
jg 0x101a5363
cmp edi, esi
jle 0x101a535b
mov ecx, edi
sub ecx, esi
shl esi, 4
add esi, eax
push ecx
push esi
call fcn.101a5ee0
add esp, 8
mov dword [ebx + 4], edi
jmp 0x101a543e
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x101a538d
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x101a5381
mov eax, 4
jmp 0x101a538d
cmp eax, 0x400
jle 0x101a538d
mov eax, 0x400
add eax, ecx
cmp edi, eax
mov dword [esp + 0x10], eax
jl 0x101a539b
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x10]
shl edx, 4
push edx
call fcn.100637b2
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.101a5ee0
mov eax, dword [ebx]
push eax
call fcn.100637e1
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 0x101a543e
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.101a5d90
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.10098b00
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 0x101a5448
pop esi
pop ebp
pop ebx
add esp, 0x824
ret 0x1c