Function at 0x1019b640
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.0x1019b671.3
jmp dword [eax*4 + 0x1019b910]
mov dword [esp + 0x10], 0
jmp 0x1019b69a
mov dword [esp + 0x10], 1
jmp 0x1019b69a
mov dword [esp + 0x10], 2
jmp 0x1019b69a
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.0x1019b6b9.2
jmp dword [eax*4 + 0x1019b930]
xor ecx, ecx
jmp case.0x1019b6b9.2
mov ecx, 1
jmp case.0x1019b6b9.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 0x1019b71d
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 0x1019b719
ja 0x1019b70d
cmp dword [esp + 0x2c], ecx
jb 0x1019b719
mov eax, dword [esp + 0x10]
inc ebp
add esi, 0x10
cmp ebp, eax
jl 0x1019b6f4
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.10094983
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 0x1019b887
mov eax, dword [ebx]
lea edi, [ebp + 1]
test edi, edi
jne 0x1019b7a7
test eax, eax
je 0x1019b79a
push eax
call fcn.1005fc33
add esp, 4
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
jmp 0x1019b8ce
test eax, eax
jne 0x1019b7cd
mov eax, edi
shl eax, 4
push eax
call fcn.1005fc04
push edi
push eax
mov dword [ebx], eax
call fcn.1019c2e0
add esp, 0xc
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
jmp 0x1019b8ce
mov ecx, dword [ebx + 8]
cmp edi, ecx
jg 0x1019b7f3
cmp edi, esi
jle 0x1019b7eb
mov ecx, edi
sub ecx, esi
shl esi, 4
add esi, eax
push ecx
push esi
call fcn.1019c2e0
add esp, 8
mov dword [ebx + 4], edi
jmp 0x1019b8ce
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x1019b81d
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x1019b811
mov eax, 4
jmp 0x1019b81d
cmp eax, 0x400
jle 0x1019b81d
mov eax, 0x400
add eax, ecx
cmp edi, eax
mov dword [esp + 0x10], eax
jl 0x1019b82b
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x10]
shl edx, 4
push edx
call fcn.1005fc04
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.1019c2e0
mov eax, dword [ebx]
push eax
call fcn.1005fc33
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 0x1019b8ce
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.1019c190
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.10094e60
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 0x1019b8d8
pop esi
pop ebp
pop ebx
add esp, 0x824
ret 0x1c