Function at 0x1019f3e0
Capabilities:
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x102691e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8f4
mov edx, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push esi
cmp edx, ebx
push edi
je 0x1019fb63
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x1019fb63
fld qword [ebp + 0x24]
fcomp qword [0x1026bb40]
mov dword [esp + 0x14], ebx
fnstsw ax
test ah, 0x40
jne 0x1019f438
mov dword [esp + 0x14], 1
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x102]
mov word [esp + 0x100], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esi, edx
lea ecx, [edx + 0x18]
xor edi, edi
mov eax, edx
cmp ecx, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
jae 0x1019fb1c
mov edi, dword [ebp + 0x18]
jmp 0x1019f482
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
mov dword [esp + 0x20], ebx
jne 0x1019faf2
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
mov ecx, dword [eax]
je 0x1019f4a7
cmp ecx, 1
je 0x1019f4b0
jmp 0x1019faf2
cmp ecx, 2
jne 0x1019faf2
mov ecx, dword [edi + 4]
xor esi, esi
cmp ecx, ebx
jle 0x1019faf2
lea edx, [esp + 0x40]
push esi
push edx
mov ecx, edi
call fcn.101a0a30
mov eax, dword [eax]
cmp byte [eax + 1], 8
sete bl
lea ecx, [esp + 0x48]
mov dword [esp + 0x908], 0
call fcn.10090bf0
lea ecx, [esp + 0x44]
mov dword [esp + 0x908], 0xffffffff
call fcn.10090bf0
test bl, bl
je 0x1019fa17
lea ecx, [esp + 0xb0]
push esi
push ecx
mov ecx, edi
call fcn.101a0a30
add eax, 8
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x90c], 1
call fcn.100901f0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x908], 4
call fcn.10090bf0
lea ecx, [esp + 0xb4]
mov byte [esp + 0x908], 3
call fcn.10090bf0
push 0x5c
lea ecx, [esp + 0x14]
call fcn.10091da0
cmp eax, 0xffffffff
je 0x1019f596
inc eax
lea edx, [esp + 0x3c]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.10092ee0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x90c], 5
call fcn.10090d80
lea ecx, [esp + 0x3c]
mov byte [esp + 0x908], 3
call fcn.10090bf0
lea eax, [esp + 0xf0]
push esi
push eax
mov ecx, edi
call fcn.101a0a30
mov ebx, eax
lea ecx, [esp + 0x70]
push esi
push ecx
mov ecx, edi
mov byte [esp + 0x910], 6
call fcn.101a0a30
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 8]
mov ebx, dword [esp + 0x34]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
push ebx
lea eax, [esp + 0x110]
push str.CFilePolicyMgr::MatchUserFilePolicyRole_RolePath__s____NameOrSID__s__AliasOrPath__s__AliasOrPath2__s_
push eax
call fcn.10079fd1
add esp, 0x18
lea ecx, [esp + 0x78]
mov byte [esp + 0x908], 7
call fcn.10090bf0
lea ecx, [esp + 0x74]
mov byte [esp + 0x908], 6
call fcn.10090bf0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x908], 8
call fcn.10090bf0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x908], 3
call fcn.10090bf0
lea ecx, [esp + 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [esp + 0x90]
push esi
push edx
mov ecx, edi
call fcn.101a0a30
mov eax, dword [eax + 4]
push ebx
push eax
call fcn.10079579
add esp, 8
test eax, eax
sete bl
lea ecx, [esp + 0x98]
mov byte [esp + 0x908], 9
call fcn.10090bf0
lea ecx, [esp + 0x94]
mov byte [esp + 0x908], 3
call fcn.10090bf0
test bl, bl
je 0x1019f785
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1019fa28
lea ecx, [esp + 0xd0]
push esi
push ecx
mov ecx, edi
call fcn.101a0a30
mov ebx, dword [eax]
mov byte [esp + 0x908], 0xa
test ebx, ebx
mov dword [esp + 0xc], 0
je 0x1019f73f
fld qword [ebp + 0x24]
fcomp qword [0x1026bb40]
fnstsw ax
test ah, 0x40
jne 0x1019f737
mov ax, word [ebx + 0xc]
test ax, ax
jne 0x1019f6df
cmp word [ebx + 0xe], ax
je 0x1019f737
and eax, 0xffff
push eax
call fcn.101a07b0
fstp qword [esp + 0x28]
xor edx, edx
mov dx, word [ebx + 0xe]
push edx
call fcn.101a0830
fcom qword [0x1026bb40]
add esp, 8
fnstsw ax
test ah, 0x40
jne 0x1019f716
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 1
jne 0x1019f73f
jmp 0x1019f718
fstp st(0)
fld qword [esp + 0x24]
fcomp qword [0x1026bb40]
fnstsw ax
test ah, 0x40
jne 0x1019f737
fld qword [esp + 0x24]
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 0x41
je 0x1019f73f
mov dword [esp + 0xc], 1
mov ecx, dword [esp + 0xc]
test ecx, ecx
sete bl
lea ecx, [esp + 0xd8]
mov byte [esp + 0x908], 0xb
call fcn.10090bf0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x908], 3
call fcn.10090bf0
test bl, bl
je 0x1019fa28
mov dword [esp + 0x1c], 1
jmp 0x1019fa03
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.10079579
add esp, 8
test eax, eax
jne 0x1019f88d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1019fa63
lea edx, [esp + 0x50]
push esi
push edx
mov ecx, edi
call fcn.101a0a30
mov ebx, dword [eax]
mov byte [esp + 0x908], 0xd
test ebx, ebx
mov dword [esp + 0xc], 0
je 0x1019f84d
fld qword [ebp + 0x24]
fcomp qword [0x1026bb40]
fnstsw ax
test ah, 0x40
jne 0x1019f845
mov ax, word [ebx + 0xc]
test ax, ax
jne 0x1019f7ed
cmp word [ebx + 0xe], ax
je 0x1019f845
and eax, 0xffff
push eax
call fcn.101a07b0
fstp qword [esp + 0x28]
xor eax, eax
mov ax, word [ebx + 0xe]
push eax
call fcn.101a0830
fcom qword [0x1026bb40]
add esp, 8
fnstsw ax
test ah, 0x40
jne 0x1019f824
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 1
jne 0x1019f84d
jmp 0x1019f826
fstp st(0)
fld qword [esp + 0x24]
fcomp qword [0x1026bb40]
fnstsw ax
test ah, 0x40
jne 0x1019f845
fld qword [esp + 0x24]
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 0x41
je 0x1019f84d
mov dword [esp + 0xc], 1
mov ecx, dword [esp + 0xc]
test ecx, ecx
sete bl
lea ecx, [esp + 0x58]
mov byte [esp + 0x908], 0xe
call fcn.10090bf0
lea ecx, [esp + 0x54]
mov byte [esp + 0x908], 3
call fcn.10090bf0
test bl, bl
je 0x1019fa63
mov dword [esp + 0x1c], 1
jmp 0x1019fa03
lea ecx, [esp + 0x60]
push esi
push ecx
mov ecx, edi
call fcn.101a0a30
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov edx, dword [ecx + 8]
cmp eax, edx
sete bl
lea ecx, [esp + 0x68]
mov byte [esp + 0x908], 0x10
call fcn.10090bf0
lea ecx, [esp + 0x64]
mov byte [esp + 0x908], 3
call fcn.10090bf0
test bl, bl
je 0x1019fa03
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1019f9c5
lea edx, [esp + 0x80]
push esi
push edx
mov ecx, edi
call fcn.101a0a30
mov ebx, dword [eax]
mov byte [esp + 0x908], 0x11
test ebx, ebx
mov dword [esp + 0xc], 0
je 0x1019f986
fld qword [ebp + 0x24]
fcomp qword [0x1026bb40]
fnstsw ax
test ah, 0x40
jne 0x1019f97e
mov ax, word [ebx + 0xc]
test ax, ax
jne 0x1019f926
cmp word [ebx + 0xe], ax
je 0x1019f97e
and eax, 0xffff
push eax
call fcn.101a07b0
fstp qword [esp + 0x28]
xor eax, eax
mov ax, word [ebx + 0xe]
push eax
call fcn.101a0830
fcom qword [0x1026bb40]
add esp, 8
fnstsw ax
test ah, 0x40
jne 0x1019f95d
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 1
jne 0x1019f986
jmp 0x1019f95f
fstp st(0)
fld qword [esp + 0x24]
fcomp qword [0x1026bb40]
fnstsw ax
test ah, 0x40
jne 0x1019f97e
fld qword [esp + 0x24]
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 0x41
je 0x1019f986
mov dword [esp + 0xc], 1
mov ecx, dword [esp + 0xc]
test ecx, ecx
sete bl
lea ecx, [esp + 0x88]
mov byte [esp + 0x908], 0x12
call fcn.10090bf0
lea ecx, [esp + 0x84]
mov byte [esp + 0x908], 3
call fcn.10090bf0
test bl, bl
je 0x1019f9c5
mov dword [esp + 0x1c], 1
jmp 0x1019fa03
lea ecx, [esp + 0xa0]
push esi
push ecx
mov ecx, edi
call fcn.101a0a30
mov edx, dword [eax]
mov dword [esp + 0x20], edx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x908], 0x13
call fcn.10090bf0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x908], 3
call fcn.10090bf0
lea ecx, [esp + 0x10]
mov dword [esp + 0x908], 0xffffffff
call fcn.10090bf0
mov eax, dword [edi + 4]
inc esi
cmp esi, eax
jl 0x1019f4bd
jmp 0x1019fab5
lea eax, [esp + 0xc0]
push esi
push eax
mov ecx, edi
call fcn.101a0a30
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0xc8]
mov byte [esp + 0x908], 0xc
call fcn.10090bf0
mov byte [esp + 0x908], 3
lea ecx, [esp + 0xc4]
jmp 0x1019fa9c
lea edx, [esp + 0xe0]
push esi
push edx
mov ecx, edi
call fcn.101a0a30
mov eax, dword [eax]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x908], 0xf
call fcn.10090bf0
mov byte [esp + 0x908], 3
lea ecx, [esp + 0xe4]
call fcn.10090bf0
lea ecx, [esp + 0x10]
mov dword [esp + 0x908], 0xffffffff
call fcn.10090bf0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1019faee
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
xor ecx, ecx
test edx, edx
sete cl
xor edx, edx
push ecx
mov ecx, dword [ebp + 0x1c]
test esi, esi
sete dl
push edx
push eax
mov eax, dword [ebp + 0x20]
push eax
push ecx
call fcn.1019f1e0
add esp, 0x14
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
lea edx, [ecx + edx*2]
mov ecx, dword [esp + 0x38]
lea eax, [eax + edx + 0x1b]
mov dword [esp + 0x18], eax
add eax, 0x18
cmp eax, ecx
mov dword [esp + 0x34], eax
jb 0x1019f47c
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
je 0x1019fb4c
cmp dword [esp + 0x1c], ebx
je 0x1019fb4a
cmp edi, ebx
jne 0x1019fb4a
mov dword [eax], 1
mov eax, edi
mov ecx, dword [esp + 0x900]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax], ebx
mov eax, edi
mov ecx, dword [esp + 0x900]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x900]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret