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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101d74d1
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 0x1019de03
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x1019de03
fld qword [ebp + 0x24]
fcomp qword [0x10204820]
mov dword [esp + 0x14], ebx
fnstsw ax
test ah, 0x40
jne 0x1019d6d8
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 0x1019ddbc
mov edi, dword [ebp + 0x18]
jmp 0x1019d722
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 0x1019dd92
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
mov ecx, dword [eax]
je 0x1019d747
cmp ecx, 1
je 0x1019d750
jmp 0x1019dd92
cmp ecx, 2
jne 0x1019dd92
mov ecx, dword [edi + 4]
xor esi, esi
cmp ecx, ebx
jle 0x1019dd92
lea edx, [esp + 0x40]
push esi
push edx
mov ecx, edi
call fcn.1019ecd0
mov eax, dword [eax]
cmp byte [eax + 1], 8
sete bl
lea ecx, [esp + 0x48]
mov dword [esp + 0x908], 0
call fcn.100c9e10
lea ecx, [esp + 0x44]
mov dword [esp + 0x908], 0xffffffff
call fcn.100c9e10
test bl, bl
je 0x1019dcb7
lea ecx, [esp + 0xb0]
push esi
push ecx
mov ecx, edi
call fcn.1019ecd0
add eax, 8
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x90c], 1
call fcn.100c9410
lea ecx, [esp + 0xb8]
mov byte [esp + 0x908], 4
call fcn.100c9e10
lea ecx, [esp + 0xb4]
mov byte [esp + 0x908], 3
call fcn.100c9e10
push 0x5c
lea ecx, [esp + 0x14]
call fcn.100cafc0
cmp eax, 0xffffffff
je 0x1019d836
inc eax
lea edx, [esp + 0x3c]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.100cc100
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x90c], 5
call fcn.100c9fa0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x908], 3
call fcn.100c9e10
lea eax, [esp + 0xf0]
push esi
push eax
mov ecx, edi
call fcn.1019ecd0
mov ebx, eax
lea ecx, [esp + 0x70]
push esi
push ecx
mov ecx, edi
mov byte [esp + 0x910], 6
call fcn.1019ecd0
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.10095ea3
add esp, 0x18
lea ecx, [esp + 0x78]
mov byte [esp + 0x908], 7
call fcn.100c9e10
lea ecx, [esp + 0x74]
mov byte [esp + 0x908], 6
call fcn.100c9e10
lea ecx, [esp + 0xf8]
mov byte [esp + 0x908], 8
call fcn.100c9e10
lea ecx, [esp + 0xf4]
mov byte [esp + 0x908], 3
call fcn.100c9e10
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.1019ecd0
mov eax, dword [eax + 4]
push ebx
push eax
call fcn.10094faf
add esp, 8
test eax, eax
sete bl
lea ecx, [esp + 0x98]
mov byte [esp + 0x908], 9
call fcn.100c9e10
lea ecx, [esp + 0x94]
mov byte [esp + 0x908], 3
call fcn.100c9e10
test bl, bl
je 0x1019da25
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1019dcc8
lea ecx, [esp + 0xd0]
push esi
push ecx
mov ecx, edi
call fcn.1019ecd0
mov ebx, dword [eax]
mov byte [esp + 0x908], 0xa
test ebx, ebx
mov dword [esp + 0xc], 0
je 0x1019d9df
fld qword [ebp + 0x24]
fcomp qword [0x10204820]
fnstsw ax
test ah, 0x40
jne 0x1019d9d7
mov ax, word [ebx + 0xc]
test ax, ax
jne 0x1019d97f
cmp word [ebx + 0xe], ax
je 0x1019d9d7
and eax, 0xffff
push eax
call fcn.1019ea50
fstp qword [esp + 0x28]
xor edx, edx
mov dx, word [ebx + 0xe]
push edx
call fcn.1019ead0
fcom qword [0x10204820]
add esp, 8
fnstsw ax
test ah, 0x40
jne 0x1019d9b6
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 1
jne 0x1019d9df
jmp 0x1019d9b8
fstp st(0)
fld qword [esp + 0x24]
fcomp qword [0x10204820]
fnstsw ax
test ah, 0x40
jne 0x1019d9d7
fld qword [esp + 0x24]
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 0x41
je 0x1019d9df
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.100c9e10
lea ecx, [esp + 0xd4]
mov byte [esp + 0x908], 3
call fcn.100c9e10
test bl, bl
je 0x1019dcc8
mov dword [esp + 0x1c], 1
jmp 0x1019dca3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.10094faf
add esp, 8
test eax, eax
jne 0x1019db2d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1019dd03
lea edx, [esp + 0x50]
push esi
push edx
mov ecx, edi
call fcn.1019ecd0
mov ebx, dword [eax]
mov byte [esp + 0x908], 0xd
test ebx, ebx
mov dword [esp + 0xc], 0
je 0x1019daed
fld qword [ebp + 0x24]
fcomp qword [0x10204820]
fnstsw ax
test ah, 0x40
jne 0x1019dae5
mov ax, word [ebx + 0xc]
test ax, ax
jne 0x1019da8d
cmp word [ebx + 0xe], ax
je 0x1019dae5
and eax, 0xffff
push eax
call fcn.1019ea50
fstp qword [esp + 0x28]
xor eax, eax
mov ax, word [ebx + 0xe]
push eax
call fcn.1019ead0
fcom qword [0x10204820]
add esp, 8
fnstsw ax
test ah, 0x40
jne 0x1019dac4
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 1
jne 0x1019daed
jmp 0x1019dac6
fstp st(0)
fld qword [esp + 0x24]
fcomp qword [0x10204820]
fnstsw ax
test ah, 0x40
jne 0x1019dae5
fld qword [esp + 0x24]
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 0x41
je 0x1019daed
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.100c9e10
lea ecx, [esp + 0x54]
mov byte [esp + 0x908], 3
call fcn.100c9e10
test bl, bl
je 0x1019dd03
mov dword [esp + 0x1c], 1
jmp 0x1019dca3
lea ecx, [esp + 0x60]
push esi
push ecx
mov ecx, edi
call fcn.1019ecd0
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.100c9e10
lea ecx, [esp + 0x64]
mov byte [esp + 0x908], 3
call fcn.100c9e10
test bl, bl
je 0x1019dca3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1019dc65
lea edx, [esp + 0x80]
push esi
push edx
mov ecx, edi
call fcn.1019ecd0
mov ebx, dword [eax]
mov byte [esp + 0x908], 0x11
test ebx, ebx
mov dword [esp + 0xc], 0
je 0x1019dc26
fld qword [ebp + 0x24]
fcomp qword [0x10204820]
fnstsw ax
test ah, 0x40
jne 0x1019dc1e
mov ax, word [ebx + 0xc]
test ax, ax
jne 0x1019dbc6
cmp word [ebx + 0xe], ax
je 0x1019dc1e
and eax, 0xffff
push eax
call fcn.1019ea50
fstp qword [esp + 0x28]
xor eax, eax
mov ax, word [ebx + 0xe]
push eax
call fcn.1019ead0
fcom qword [0x10204820]
add esp, 8
fnstsw ax
test ah, 0x40
jne 0x1019dbfd
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 1
jne 0x1019dc26
jmp 0x1019dbff
fstp st(0)
fld qword [esp + 0x24]
fcomp qword [0x10204820]
fnstsw ax
test ah, 0x40
jne 0x1019dc1e
fld qword [esp + 0x24]
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 0x41
je 0x1019dc26
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.100c9e10
lea ecx, [esp + 0x84]
mov byte [esp + 0x908], 3
call fcn.100c9e10
test bl, bl
je 0x1019dc65
mov dword [esp + 0x1c], 1
jmp 0x1019dca3
lea ecx, [esp + 0xa0]
push esi
push ecx
mov ecx, edi
call fcn.1019ecd0
mov edx, dword [eax]
mov dword [esp + 0x20], edx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x908], 0x13
call fcn.100c9e10
lea ecx, [esp + 0xa4]
mov byte [esp + 0x908], 3
call fcn.100c9e10
lea ecx, [esp + 0x10]
mov dword [esp + 0x908], 0xffffffff
call fcn.100c9e10
mov eax, dword [edi + 4]
inc esi
cmp esi, eax
jl 0x1019d75d
jmp 0x1019dd55
lea eax, [esp + 0xc0]
push esi
push eax
mov ecx, edi
call fcn.1019ecd0
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0xc8]
mov byte [esp + 0x908], 0xc
call fcn.100c9e10
mov byte [esp + 0x908], 3
lea ecx, [esp + 0xc4]
jmp 0x1019dd3c
lea edx, [esp + 0xe0]
push esi
push edx
mov ecx, edi
call fcn.1019ecd0
mov eax, dword [eax]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x908], 0xf
call fcn.100c9e10
mov byte [esp + 0x908], 3
lea ecx, [esp + 0xe4]
call fcn.100c9e10
lea ecx, [esp + 0x10]
mov dword [esp + 0x908], 0xffffffff
call fcn.100c9e10
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1019dd8e
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.1019d480
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 0x1019d71c
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
je 0x1019ddec
cmp dword [esp + 0x1c], ebx
je 0x1019ddea
cmp edi, ebx
jne 0x1019ddea
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