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

Disassembly:
push 0xffffffffffffffff
push 0x101d4534
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c8
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x40]
call fcn.100d4540
xor ebx, ebx
lea ecx, [esp + 0x94]
mov dword [esp + 0x8e0], ebx
call fcn.100d4540
lea ecx, [esp + 0xc8]
mov byte [esp + 0x8e0], 1
call fcn.100ce1d0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x8e0], 2
call fcn.100ce1d0
mov eax, dword [esp + 0x8ec]
mov byte [esp + 0x8e0], 3
cmp eax, ebx
je 0x10199915
push eax
lea ecx, [esp + 0x98]
call fcn.100d46f0
mov eax, dword [esp + 0x8f0]
cmp eax, ebx
je 0x1019992a
push eax
lea ecx, [esp + 0x44]
call fcn.100d46f0
mov eax, dword [esp + 0x8f4]
cmp eax, ebx
je 0x10199942
push eax
lea ecx, [esp + 0xbc]
call fcn.100ce560
mov eax, dword [esp + 0x8f8]
cmp eax, ebx
je 0x1019995a
push eax
lea ecx, [esp + 0xcc]
call fcn.100ce560
fld qword [esp + 0x914]
fcomp qword [0x10200f40]
mov dword [esp + 0x50], ebx
fnstsw ax
test ah, 0x40
jne 0x1019997a
mov dword [esp + 0x50], 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x910]
lea ecx, [esp + 0x34]
push eax
mov eax, dword [esp + 0x8ec]
lea edx, [esp + 0x5c]
push ecx
push edx
push eax
mov byte [esp + 0x8f0], 4
call fcn.1019aae0
add esp, 0x10
test eax, eax
je 0x1019a25c
xor edi, edi
lea ecx, [esp + 0xa4]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.1019aa80
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x8e0], 6
cmp eax, ebx
mov dword [esp + 0x74], ebx
jle 0x10199fa3
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x58]
lea ecx, [eax + eax*2]
mov ebp, dword [edx + ecx*4]
lea eax, [edx + ecx*4]
lea esi, [eax + 4]
add eax, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x10199a52
mov eax, dword [esp + 0x918]
mov ecx, dword [esp + 0x914]
push eax
push ecx
push ebp
call fcn.1019bff0
add esp, 0xc
test eax, eax
je 0x10199f8e
mov al, byte [ebp + 1]
cmp al, 1
jne 0x10199b46
xor edx, edx
xor eax, eax
mov dl, byte [ebp + 2]
mov ax, word [ebp + 0x12]
shl edx, 0x10
add edx, eax
jne 0x10199ad3
cmp dword [esp + 0x44], ebx
je 0x10199f8e
mov ecx, dword [esp + 0x40]
mov eax, dword [ebp + 8]
mov edx, dword [ecx]
cmp edx, eax
jne 0x10199f8e
mov eax, dword [esp + 0x90c]
mov dword [esp + 0x14], 1
cmp eax, ebx
mov dword [esp + 0x10], ebp
je 0x10199f8e
cmp ebp, ebx
je 0x10199f8e
sub esp, 0x14
mov ecx, 5
mov esi, ebp
mov edi, esp
push ebx
push 1
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xc0]
call fcn.1019b640
mov edi, dword [esp + 0x28]
jmp 0x10199f8e
cmp dword [esp + 0xbc], ebx
je 0x10199f8e
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax]
push ecx
call fcn.10093a3f
add esp, 8
cmp eax, ebx
jne 0x10199f8e
mov eax, dword [esp + 0x90c]
mov dword [esp + 0x14], 1
cmp eax, ebx
mov dword [esp + 0x10], ebp
je 0x10199fa3
cmp ebp, ebx
je 0x10199f8e
sub esp, 0x14
mov ecx, 5
mov esi, ebp
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ebx
push 1
lea ecx, [esp + 0xc0]
call fcn.1019b640
mov edi, dword [esp + 0x28]
jmp 0x10199f8e
cmp al, 2
jne 0x10199e11
cmp dword [esp + 0x14], ebx
je 0x10199b61
cmp dword [esp + 0x90c], ebx
je 0x10199f8e
mov edx, dword [0x10200e98]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x2c], edx
xor eax, eax
xor ecx, ecx
mov al, byte [ebp + 2]
mov cx, word [ebp + 0x12]
shl eax, 0x10
add eax, ecx
mov byte [esp + 0x8e0], 7
je 0x10199d49
push esi
lea ecx, [esp + 0x30]
call fcn.100c8a40
mov edx, dword [esp + 0x2c]
mov eax, dword [edx - 8]
test eax, eax
je 0x10199c58
mov eax, dword [esp + 0x44]
mov ebx, 1
cmp eax, ebx
jle 0x10199c58
mov esi, ebx
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x2c]
push eax
mov edx, dword [ecx + ebx*4]
push edx
call fcn.10093a3f
add esp, 8
test eax, eax
jne 0x10199c3f
mov eax, dword [esp + 0x90c]
test eax, eax
je 0x10199c19
sub esp, 0x14
mov ecx, 5
mov esi, ebp
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ebx
push 2
lea ecx, [esp + 0xc0]
mov dword [esp + 0x84], 1
call fcn.1019b640
mov esi, 1
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10199c3f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10199c2f
cmp dword [esp + 0x1c], ebx
jle 0x10199c3f
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x44]
inc ebx
cmp ebx, eax
jl 0x10199bc5
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x10199df5
mov eax, dword [esp + 0x90c]
test eax, eax
je 0x10199c6f
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x10199df5
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x54]
push eax
call fcn.100c7eb0
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x8e0], 8
mov eax, dword [ecx - 8]
test eax, eax
je 0x10199d2c
mov eax, dword [esp + 0x44]
mov ebx, 1
cmp eax, ebx
jle 0x10199d2c
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x54]
push edx
mov ecx, dword [eax + ebx*4]
push ecx
call fcn.10093a3f
add esp, 8
test eax, eax
jne 0x10199d1f
mov eax, dword [esp + 0x90c]
test eax, eax
je 0x10199cf4
sub esp, 0x14
mov ecx, 5
mov esi, ebp
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ebx
push 2
lea ecx, [esp + 0xc0]
mov dword [esp + 0x94], 1
call fcn.1019b640
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10199d1f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10199d0a
cmp dword [esp + 0x1c], ebx
jle 0x10199d1f
mov eax, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x44]
inc ebx
cmp ebx, eax
jl 0x10199ca5
lea ecx, [esp + 0x54]
mov byte [esp + 0x8e0], 7
call fcn.100c88b0
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x10199df5
mov eax, dword [esp + 0x90c]
test eax, eax
je 0x10199d60
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x10199df5
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x10199df5
test eax, eax
je 0x10199d78
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x10199df5
mov edx, dword [esp + 0x2c]
mov eax, dword [edx - 8]
test eax, eax
jne 0x10199df5
mov eax, dword [esp + 0x44]
mov ebx, 1
cmp eax, ebx
jle 0x10199df5
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ebp + 8]
cmp ecx, eax
jne 0x10199dec
mov eax, dword [esp + 0x90c]
test eax, eax
je 0x10199dc6
sub esp, 0x14
mov ecx, 5
mov esi, ebp
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ebx
push 2
lea ecx, [esp + 0xc0]
call fcn.1019b640
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10199dec
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10199ddc
cmp dword [esp + 0x1c], ebx
jle 0x10199dec
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x44]
inc ebx
cmp ebx, eax
jl 0x10199d90
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8e0], 6
call fcn.100c88b0
mov edi, dword [esp + 0x28]
xor ebx, ebx
jmp 0x10199f8e
cmp al, 3
jne 0x10199e5b
cmp dword [esp + 0x14], ebx
jne 0x10199f8e
cmp dword [esp + 0x18], ebx
jne 0x10199f8e
cmp dword [esp + 0x98], ebx
je 0x10199f8e
mov edx, dword [esp + 0x94]
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
cmp eax, ecx
jne 0x10199f8e
mov dword [esp + 0x30], 1
mov dword [esp + 0x10], ebp
jmp 0x10199f8e
cmp al, 4
jne 0x10199ed1
cmp dword [esp + 0x14], ebx
jne 0x10199f8e
cmp dword [esp + 0x18], ebx
jne 0x10199f8e
cmp dword [esp + 0x30], ebx
jne 0x10199f8e
mov ecx, dword [esp + 0x98]
mov eax, 1
cmp ecx, eax
jle 0x10199f8e
mov ecx, dword [esp + 0x94]
mov edx, dword [ebp + 8]
add ecx, 4
cmp dword [ecx], edx
jne 0x10199eb9
cmp edi, ebx
je 0x10199eac
cmp dword [esp + 0x3c], eax
jle 0x10199eb9
mov edi, 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x98]
inc eax
add ecx, 4
cmp eax, esi
jl 0x10199e9e
mov dword [esp + 0x28], edi
jmp 0x10199f8e
cmp al, 6
jne 0x10199f28
cmp dword [esp + 0x14], ebx
jne 0x10199f00
cmp dword [esp + 0x18], ebx
jne 0x10199f00
cmp dword [esp + 0x30], ebx
jne 0x10199f00
cmp edi, ebx
jne 0x10199f00
mov edx, dword [esp + 0x44]
mov dword [esp + 0x6c], 1
dec edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x90c], ebx
je 0x10199f8e
mov eax, dword [esp + 0x44]
sub esp, 0x14
dec eax
mov ecx, 5
mov esi, ebp
mov edi, esp
push eax
push 6
rep movsd dword es:[edi], dword [esi]
jmp 0x10199abe
cmp al, 7
jne 0x10199f56
cmp dword [esp + 0x14], ebx
jne 0x10199f8e
cmp dword [esp + 0x18], ebx
jne 0x10199f8e
cmp dword [esp + 0x30], ebx
jne 0x10199f8e
cmp edi, ebx
jne 0x10199f8e
cmp dword [esp + 0x6c], ebx
jne 0x10199f8e
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], ebp
jmp 0x10199f8e
cmp al, 5
jne 0x10199f82
cmp dword [esp + 0x14], ebx
jne 0x10199f8e
cmp dword [esp + 0x18], ebx
jne 0x10199f8e
cmp dword [esp + 0x30], ebx
jne 0x10199f8e
cmp edi, ebx
jne 0x10199f8e
cmp dword [esp + 0x6c], ebx
jne 0x10199f8e
cmp dword [esp + 0x20], ebx
jne 0x10199f8e
mov dword [esp + 0x10], ebp
jmp 0x10199f8e
cmp al, 8
jne 0x10199f8e
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x74], eax
jl 0x10199a0e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp edx, ebx
setne cl
cmp eax, ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], ebx
je 0x1019a140
cmp dword [esp + 0x14], ebx
jne 0x1019a04d
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x10199fd8
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x24], eax
jle 0x1019a04d
mov ebp, dword [esp + 0x8fc]
mov ebx, dword [esp + 0x914]
mov edi, dword [esp + 0x918]
mov edx, dword [esp + 0x900]
mov ecx, dword [esp + 0x908]
push edi
push ebx
push edx
mov edx, dword [esp + 0x910]
lea eax, [esp + 0x64]
push ebp
push eax
push ecx
mov ecx, dword [esp + 0x58]
xor eax, eax
test esi, esi
push edx
mov edx, dword [ecx + esi*4]
sete al
push eax
push edx
call fcn.1019afa0
add esp, 0x24
test eax, eax
jne 0x1019a03e
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x10199ff7
jmp 0x1019a04b
mov eax, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], eax
xor ebx, ebx
cmp dword [esp + 0x90c], ebx
je 0x1019a136
xor eax, eax
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x81], eax
mov byte [esp + 0x80], 0
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov word [esp + 0x91], ax
test ebp, ebp
mov byte [esp + 0x93], al
jle 0x1019a136
xor ecx, ecx
mov edx, dword [esp + 0x918]
mov eax, dword [esp + 0x914]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
push edx
mov dword [esp + 0x8c], ecx
push eax
mov eax, dword [esp + 0x910]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x88]
push 0x14
lea edx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x914]
push edx
push eax
mov eax, dword [esp + 0x58]
xor edx, edx
test ebx, ebx
push ecx
mov ecx, dword [eax + ebx*4]
sete dl
push edx
push ecx
call fcn.1019afa0
add esp, 0x24
test eax, eax
je 0x1019a12d
sub esp, 0x14
mov ecx, 5
lea esi, [esp + 0x94]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ebx
push 8
lea ecx, [esp + 0xc0]
call fcn.1019b640
inc ebx
cmp ebx, ebp
jl 0x1019a09b
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1019a176
xor ebx, ebx
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x8fc]
cmp esi, ebx
je 0x1019a17f
cmp ebp, ebx
je 0x1019a17f
mov ecx, dword [esp + 0x900]
cmp ecx, 0x14
jbe 0x1019a164
mov ecx, 0x14
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1019a17f
mov ebp, dword [esp + 0x8fc]
xor ebx, ebx
cmp dword [esp + 0x90c], ebx
je 0x1019a1d8
mov edx, dword [esp + 0x50]
xor eax, eax
cmp edx, ebx
lea ecx, [esp + 0x3c]
sete al
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0xb4]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x4c], ebx
call fcn.1019b950
test eax, eax
je 0x1019a1d8
mov ecx, dword [esp + 0x24]
mov dx, word [esp + 0x20]
mov ax, word [esp + 0x3c]
mov dword [ebp + 4], ecx
mov word [ebp + 0xc], dx
mov word [ebp + 0xe], ax
mov ecx, dword [esp + 0x910]
push ecx
push ebx
push ebp
call fcn.1019bd70
add esp, 0xc
lea ecx, [esp + 0xa4]
mov byte [esp + 0x8e0], 4
call fcn.1019aac0
mov esi, dword [esp + 0x58]
mov byte [esp + 0x8e0], 3
cmp esi, ebx
je 0x1019a2b8
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x38], esi
cmp eax, ebx
je 0x1019a251
lea edi, [eax]
mov bl, 9
lea ecx, [esi + 8]
mov byte [esp + 0x8e0], bl
call fcn.100c88b0
lea ecx, [esi + 4]
mov byte [esp + 0x8e0], 3
call fcn.100c88b0
add esi, 0xc
dec edi
mov dword [esp + 0x38], esi
jne 0x1019a222
mov esi, dword [esp + 0x58]
xor ebx, ebx
push esi
call fcn.1005fbe1
add esp, 4
jmp 0x1019a2b8
mov esi, dword [esp + 0x58]
mov byte [esp + 0x8e0], 3
cmp esi, ebx
je 0x1019a2b1
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x38], esi
cmp eax, ebx
je 0x1019a2a8
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x8e0], 5
call fcn.100c88b0
lea ecx, [esi + 4]
mov byte [esp + 0x8e0], 3
call fcn.100c88b0
add esi, 0xc
dec edi
mov dword [esp + 0x38], esi
jne 0x1019a27a
mov esi, dword [esp + 0x58]
push esi
call fcn.1005fbe1
add esp, 4
mov ebp, dword [esp + 0x8fc]
cmp dword [esp + 0x34], ebx
je 0x1019a311
cmp ebp, ebx
je 0x1019a311
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0xda]
mov word [esp + 0xd8], bx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 4]
xor edx, edx
mov dx, word [ebp + 0xe]
stosw word es:[edi], ax
xor eax, eax
push edx
mov ax, word [ebp + 0xc]
lea edx, [esp + 0xdc]
push eax
push ecx
push str.HasFilePolicyAccessRight_dwPolicy_0x_x__wStartTime__d__wStopTime__d_
push edx
call fcn.10094933
add esp, 0x14
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0xb8]
mov byte [esp + 0x8e0], 2
call fcn.100ce1e0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x8e0], 1
call fcn.100ce1e0
lea ecx, [esp + 0x94]
mov byte [esp + 0x8e0], 0
call fcn.100d4550
lea ecx, [esp + 0x40]
mov dword [esp + 0x8e0], 0xffffffff
call fcn.100d4550
mov ecx, dword [esp + 0x8d8]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8d4
ret