Function at 0x10039b06
Capabilities:
Compare security identifiers

Disassembly:
mov eax, 0x1006d1d6
call fcn.1006bcec
sub esp, 0x88
push ebx
push esi
mov dword [ebp - 0x24], 5
xor ebx, ebx
push edi
mov dword [ebp - 0x1c], 0xc58f5537
mov edi, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ebx
jmp 0x10039c72
push dword [ebp - 0x28]
movdqa xmm0, xmmword [0x10008390]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x18], 0xc285ce96
push eax
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
movdqu xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.100325f4
mov dword [ebp - 0x20], ebx
jmp 0x10039b7a
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x64], 0xfffffff8
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x10039b6c
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov eax, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x24]
mov edx, dword [esi + 8]
cmp eax, edx
setle cl
xor eax, eax
cmp ecx, edx
mov ecx, dword [ebp - 0x18]
setle al
xor edx, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
cmp eax, ecx
setne dl
xor eax, eax
cmp edx, dword [ebp - 0x20]
setle al
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
setl cl
xor edx, edx
cmp ecx, 0xffffffff
setne dl
add edx, dword [esi + 8]
imul eax, edx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 0x1d
jmp 0x10039c57
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
jmp 0x10039c01
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x40]
mov dword [eax + ecx*4], 0xdd48
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x10039bf1
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x10039c4f
cmp dword [ebp - 0x20], ebx
je 0x10039c4f
xor eax, eax
inc eax
jmp 0x10039c51
mov eax, ebx
mov dword [ebp - 0x18], eax
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffe5
jge 0x10039be9
push dword [ebp - 0x40]
call fcn.10054b67
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
inc dword [ebp - 0x24]
pop ecx
cmp dword [ebp - 0x24], 0xc
je 0x10039b36
mov dword [ebp - 0x24], 8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x18], ebx
push 3
call fcn.1002cb22
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 0xfa8fad7
mov dword [ebp - 0x24], ebx
jmp 0x10039caf
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*4], 0xe0f758fc
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 3
jl 0x10039c9f
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], 0xfffffff3
jne 0x10039da7
mov esi, dword [ebp - 0x58]
push 3
lea ecx, [ebp - 0x34]
call fcn.1002cb22
mov dword [ebp - 0x1c], 0xe197e7c1
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x20], ebx
jmp 0x10039cf2
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [eax + ecx*4], 0x7d7c118
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x10039ce2
cmp dword [ebp - 0x24], ebx
je 0x10039d60
cmp dword [ebp - 0x18], ebx
jne 0x10039d2c
mov eax, dword [ebp - 0x34]
imul eax, dword [eax], 9
test eax, eax
je 0x10039d16
cmp dword [ebp - 0x1c], ebx
je 0x10039d16
xor edx, edx
inc edx
jmp 0x10039d18
mov edx, ebx
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp dword [eax], edx
setne cl
sub ecx, dword [eax]
jne 0x10039d29
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp dword [eax], 0xaed1d25b
sete cl
cmp ecx, dword [ebp - 0x24]
jne 0x10039d49
cmp dword [ebp - 0x1c], ebx
je 0x10039d49
xor eax, eax
inc eax
jmp 0x10039d4b
mov eax, ebx
mov ecx, dword [ebp - 0x34]
imul eax, dword [ecx]
imul eax, eax, 0x639e
cmp dword [ecx], eax
jne 0x10039d63
xor edx, edx
inc edx
jmp 0x10039d65
mov ecx, dword [ebp - 0x34]
mov edx, ebx
xor eax, eax
cmp edx, dword [ecx]
setge al
mov dword [ebp - 0x1c], eax
mov eax, 0x8ca8
mov dword [esi + 4], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ecx + 4]
push dword [ebp - 0x34]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x20], eax
call fcn.10054b67
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
dec dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0xfffffff3
pop ecx
je 0x10039cc5
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x58], 0
je 0x10039dc3
push dword [ebp - 0x58]
call fcn.10054b67
pop ecx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
push dword [ebp - 0x28]
movdqa xmm0, xmmword [0x10008380]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x24], 0x3f467215
push eax
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
movdqu xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.100325f4
mov dword [ebp - 4], 1
imul ecx, dword [ebp - 0x24], 0x9c9f
mov eax, dword [ebp - 0x24]
add eax, 0x7b04800f
add eax, ecx
je 0x10039e2e
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10039f12
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x10039f12
mov dword [ebp - 0x18], 0x876a
mov dword [ebp - 0x24], ebx
jmp 0x10039f08
mov dword [ebp - 0x1c], 0xb6bc3ec3
mov dword [ebp - 0x1c], ebx
jmp 0x10039ece
mov dword [ebp - 0x18], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x4c]
cmp dword [eax + ecx*4], ebx
jne 0x10039ed8
mov dword [ebp - 0x18], 3
cmp dword [ebp - 0x18], ebx
jl 0x10039ecb
push 3
lea ecx, [ebp - 0x70]
call fcn.1002cb22
mov dword [ebp - 0x20], ebx
jmp 0x10039e89
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x70]
mov dword [eax + ecx*4], 0xe665969a
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x10039e79
mov esi, dword [ebp - 0x70]
mov dword [esi + 8], ebx
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10039eab
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
inc dword [esi + 8]
cmp dword [esi + 8], 3
jle 0x10039e95
push dword [ebp - 0x70]
call fcn.10054b67
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
dec dword [ebp - 0x18]
pop ecx
jns 0x10039e6a
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jle 0x10039e4c
mov dword [ebp - 0x1c], ebx
jmp 0x10039eff
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x20], 3
cmp dword [ebp - 0x20], ebx
jl 0x10039efc
mov dword [ebp - 0x18], 0xd5467356
dec dword [ebp - 0x20]
jns 0x10039ef0
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jle 0x10039edd
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x1b
jle 0x10039e3d
cmp dword [ebp - 0x4c], 0
je 0x10039f2a
push dword [ebp - 0x4c]
call fcn.10054b67
pop ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [edi], 0x13
cmp dword [edi], 0xfffffff0
jle 0x10039f43
mov eax, dword [ebp - 0x28]
cmp dword [eax], ebx
jne 0x10039f43
dec dword [edi]
cmp dword [edi], 0xfffffff0
jg 0x10039f38
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret