Function at 0x10047833
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e84e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10047ff3
lea eax, [ebp + 0x3c]
mov dword [ebp - 0xb8], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x138]
movzx eax, byte [eax]
test eax, eax
je 0x10047d10
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x40], 0xfffffffc
mov dword [ebp - 0x38], 0
jmp 0x10047912
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x10047928
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x194], 1
jmp 0x1004790b
mov dword [ebp - 0x40], 3
jmp 0x10047938
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x10047959
mov byte [ebp - 0x19], 0
push 0x50d2
push 0
push 1
lea eax, [ebp - 0x19]
push eax
call fcn.1004895e
add esp, 0x10
jmp 0x10047931
xor eax, eax
mov word [ebp - 0x4a], ax
lea eax, [ebp - 0x4a]
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
shr eax, 1
inc eax
push eax
lea ecx, [ebp - 0x148]
call fcn.1004f488
and dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
push 4
lea ecx, [ebp - 0x160]
call fcn.1000f72c
mov byte [ebp - 4], 1
mov dword [ebp - 0x164], 0x2fd2d1a4
mov dword [ebp - 0x120], 0xfffa
push 0x6174
lea eax, [ebp - 0x160]
push eax
push 1
lea eax, [ebp - 0x178]
push eax
push 0x5a69
push 0
call fcn.10047752
add esp, 0x18
mov dword [ebp - 0x30], 0xfffffff5
jmp 0x100479de
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x13
jg 0x10047b02
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0xd0], 0xffffffff
mov dword [ebp - 0x180], 0xa22db785
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10047a2f
push 0x694c
push 0x791e
push 1
push 0xb48
push 0x5331
push 1
call fcn.10047752
add esp, 0x18
mov dword [ebp - 0x20], 0
jmp 0x10047a3f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x10047afd
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x2c], 0x26c312fb
mov dword [ebp - 0x17c], 4
mov dword [ebp - 0x28], 0
jmp 0x10047a71
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jg 0x10047ae2
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x24], 0
jmp 0x10047a8e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jg 0x10047ae0
push 0x1e6a
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1004cfe4
add esp, 0x18
mov dword [ebp - 0x2c], 0x11
jmp 0x10047ac6
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xe
jg 0x10047ade
lea eax, [ebp - 0x120]
push eax
push 0
call fcn.1004ace2
pop ecx
pop ecx
jmp 0x10047abf
jmp 0x10047a87
jmp 0x10047a6a
push dword [ebp - 0x20]
lea ecx, [ebp - 0x160]
call fcn.1000f7aa
mov eax, dword [eax]
mov dword [ebp - 0xd0], eax
jmp 0x10047a38
jmp 0x100479d7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.1000f78e
and dword [ebp - 0x34], 0
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x148]
call fcn.1004f5f5
dec eax
mov dword [ebp - 0x14c], eax
jmp 0x10047b34
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x14c]
jae 0x10047bac
push dword [ebp - 0x48]
lea ecx, [ebp - 0x148]
call fcn.1004f5fd
mov dword [ebp - 0xd8], eax
and dword [ebp - 0x3c], 0
jmp 0x10047b67
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x3c], 2
jae 0x10047baa
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
add eax, dword [ebp - 0x34]
xor edx, edx
div dword [0x10615120]
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.10042935
mov ecx, dword [ebp - 0xd8]
add ecx, dword [ebp - 0x3c]
mov byte [ecx], al
jmp 0x10047b59
jmp 0x10047b2d
mov dword [ebp - 0x18], 0xb13638ec
mov dword [ebp - 0x50], 0x84bc9c3
mov dword [ebp - 0xe0], 0x22ba
mov dword [ebp - 0x12c], 0x589b
mov dword [ebp - 0x13c], 0xff18c9a0
mov dword [ebp - 0x44], 0
jmp 0x10047be8
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x10047bfe
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x170], 1
jmp 0x10047be1
cmp dword [ebp - 0x18], 0
je 0x10047c18
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x18]
je 0x10047c18
mov dword [ebp - 0x88], 1
jmp 0x10047c1f
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x88]
jle 0x10047c39
mov dword [ebp - 0x68], 1
jmp 0x10047c3d
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x68], eax
jne 0x10047c51
mov dword [ebp - 0x154], 1
jmp 0x10047c58
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x12c]
je 0x10047c8b
mov eax, 0xc587
test eax, eax
je 0x10047c8b
push 5
pop eax
test eax, eax
je 0x10047c8b
mov dword [ebp - 0xe8], 1
jmp 0x10047c92
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa8], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xa8]
mov dword [ebp + eax - 0x170], ecx
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0xa8]
imul eax, eax, 0xfffffffc
cmp dword [ebp - 0x18], eax
jne 0x10047cc9
mov dword [ebp - 0x70], 1
jmp 0x10047ccd
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.1004f52c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.1004f527
jmp 0x10048085
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x10047f15
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x10047dfa
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x10047dc3
mov dword [ebp - 0x90], 1
jmp 0x10047dca
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x90], eax
jl 0x10047de0
mov dword [ebp - 0x78], 1
jmp 0x10047de4
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x78]
sub ecx, dword [eax]
je 0x10047dfa
mov dword [ebp - 0xcc], 1
jmp 0x10047e01
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x184], eax
push 8
pop eax
cmp eax, 0xfffffff9
jbe 0x10047e1d
mov dword [ebp - 0x54], 1
jmp 0x10047e21
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
cmp dword [ebp - 0x54], 0
je 0x10047e35
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx]
cmp eax, 0x7c629c4d
jg 0x10047e5f
mov dword [ebp - 0x80], 1
jmp 0x10047e63
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x80], eax
jl 0x10047e79
mov dword [ebp - 0x98], 1
jmp 0x10047e80
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
dec eax
cmp eax, 0x6c7a
je 0x10047e97
mov dword [ebp - 0x5c], 1
jmp 0x10047e9b
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x5c], eax
je 0x10047eae
mov dword [ebp - 0x64], 1
jmp 0x10047eb2
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x64], eax
jge 0x10047ec5
mov dword [ebp - 0x6c], 1
jmp 0x10047ec9
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 1
ja 0x10047ed8
mov dword [ebp - 0x74], 1
jmp 0x10047edc
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x74], eax
jg 0x10047ef2
mov dword [ebp - 0xd4], 1
jmp 0x10047ef9
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x7c]
cmp dword [eax], 0
jne 0x10047f15
and dword [ebp - 0x84], 0
jmp 0x10047f1f
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x84]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x10047f46
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x10047f46
and dword [ebp - 0x8c], 0
jmp 0x10047f50
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x8c], eax
jne 0x10047f69
mov dword [ebp - 0x94], 1
jmp 0x10047f70
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x94], eax
jge 0x10047f89
mov dword [ebp - 0x9c], 1
jmp 0x10047f90
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x9c], eax
jg 0x10047fa9
mov dword [ebp - 0xa4], 1
jmp 0x10047fb0
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul eax, dword [ebp - 0xa4]
test eax, eax
je 0x10047fd5
mov eax, 0x2959af2c
test eax, eax
je 0x10047fd5
mov dword [ebp - 0xac], 1
jmp 0x10047fdc
and dword [ebp - 0xac], 0
imul eax, dword [ebp - 0xac], 0xffff
mov ecx, dword [ebp - 0xe4]
mov dword [ecx], eax
jmp 0x10048085
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10c], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
movzx eax, byte [eax]
test eax, eax
je 0x10048056
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
movzx eax, byte [eax]
test eax, eax
je 0x10048054
push 0x3ac3
push 0x7f9
push 0
call fcn.10044dfb
add esp, 0xc
jmp 0x10048085
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
movzx eax, byte [eax]
test eax, eax
je 0x10048085
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret