joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042db40
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x430059
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.0042aeb0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.0042aea0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0042f6b0
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x48c3e4]
push 0
lea ecx, [esp + 0x4c]
call fcn.004821ef
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00446260
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0042d560
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x48c0c8]
mov ecx, ebx
call fcn.0042ae20
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x430124
push edi
mov ecx, esi
call fcn.0042d670
push eax
push ebp
mov ecx, esi
call fcn.0042d830
cmp eax, dword [esp + 0x40]
jg 0x430120
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x4300fe
mov eax, ebx
jmp 0x43012a
cmp edi, ebx
jl 0x430128
mov eax, ebx
jmp 0x43012a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x43013b
mov dword [esp + 0x30], eax
jmp 0x430146
cmp edi, ebx
jl 0x430141
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.0042ade0
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x43018d
push edi
mov ecx, esi
call fcn.0042d590
push eax
push ebx
mov ecx, esi
call fcn.0042d960
cmp eax, dword [esp + 0x44]
jg 0x430185
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x43015f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x430197
cmp edi, ebp
jl 0x430191
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x430197
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x4301a0
mov ecx, eax
jmp 0x4301a9
cmp edi, ebp
jl 0x4301a6
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0042d580
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.00482261
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x4361c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4898e8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4361f9
inc eax
mov dword [esi + 0x10], eax
jmp 0x43630c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43620d
mov eax, 0xffffffc7
jmp 0x43630e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43621e
cmp dword [esi + 8], eax
jne 0x43620d
cmp dword [esi + 8], eax
jne 0x436237
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x436237
mov eax, 0xffffffc7
jmp 0x43630e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43624b
push eax
mov ecx, ebx
call fcn.004359f0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00403480
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43627c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004034a0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00435160
test eax, eax
mov dword [esp + 0x38], eax
je 0x4362af
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1c8b7c8
call fcn.00403680
mov eax, dword [esp + 0x38]
jmp 0x43630e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00436020
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4362f3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00436040
mov esi, eax
test esi, esi
jne 0x436323
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00436020
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4362c5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1c8b7c8
call fcn.00403680
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1c8b7c8
call fcn.00403680
mov eax, esi
jmp 0x43630e
Function at 0x446900
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48a1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x48c3e4]
push 0
lea ecx, [esp + 0x20]
call fcn.004821ef
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00446260
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0048211d
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047e9db
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047e9db
push 1
push 0
push 0
mov ecx, esi
call fcn.0047e983
push 1
push 0
push 1
mov ecx, esi
call fcn.0047e983
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00482261
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x446a80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48a1f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004821ef
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00446260
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0048211d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x48c3e4]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x446b44
cmp dword [esp + 0x40], 1
jne 0x446b42
cmp ecx, eax
jge 0x446b44
mov eax, ecx
cmp eax, 0xc8
jge 0x446b50
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00446900
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x48c3e8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00482261
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x447350
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48a2a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047cdf9
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x1c8d268
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x1c8d1b0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x48c090]
push eax
mov ecx, edi
call fcn.00482497
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00483aad
test eax, eax
je 0x44746c
mov ecx, dword [esp + 0x3c]
call fcn.004824c4
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x48c3c0]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x447430
push edi
mov ecx, esi
call fcn.0047fb25
mov ecx, esi
call fcn.00447610
cmp dword [esp + 0x38], 1
jne 0x447465
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047fc60
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x449670
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4496a3
push esi
call fcn.00457a30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44969c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x449729
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x449712
mov eax, dword [esi + 8]
test eax, eax
je 0x4496c7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44970e
cmp eax, 2
je 0x449712
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4496ba
cmp eax, 3
je 0x4496ed
cmp eax, 1
jne 0x4496ba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4496ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4496ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00449750
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x449738
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00449750
add esp, 4
pop esi
ret
Function at 0x468390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48aa10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00467f40
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00467fc0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00467fc0
lea ecx, [esi + 0xc]
call fcn.0047b7d5
lea ecx, [esi + 0x10]
call fcn.0047b7d5
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00469550
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00469550
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00469550
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0047b84a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047b84a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40288e
pop dword [ebp - 0x10]
mov eax, 0x63c9fafd
add eax, 0x9c762d91
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xc551ec94
add dword [ebp - 0x20], 0x890058b7
mov dword [ebp - 0x1c], 0x3615af94
add dword [ebp - 0x1c], 0xfc1d9cb1
mov dword [ebp - 0x18], 0x3be62ab4
add dword [ebp - 0x18], 0x1066197a
mov dword [ebp - 0x14], 0x339a0aca
add dword [ebp - 0x14], 0xcc65f536
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x56da4b11
add dword [ebp - 0x20], 0x1d981e45
mov dword [ebp - 0x1c], 0xffcbbfdd
add dword [ebp - 0x1c], 0x41a0a198
mov dword [ebp - 0x18], 0x9f111e8c
sub dword [ebp - 0x18], 0x3ba1b220
mov dword [ebp - 0x14], 0x2b89955d
sub dword [ebp - 0x14], 0x2b89955d
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xcac49603
sub eax, 0xca84255b
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3be0e
push 0
call eax
mov ecx, 0x5d21
mov edx, eax
mov ebx, 0xf9ac8a77
add ebx, 0x6947589
add ebx, dword [ebp - 0x10]
mov esi, 0x15e3a009
add esi, 0xf3abf041
add dword [ebp - 8], 0x5e2e8aac
mov edi, dword [ebx]
xor dword [ebp - 0xc], edx
add edi, esi
add dword [ebp - 8], esi
mov dword [edx], edi
add edx, 0x6a4c1249
sub edx, 0x6a4c1245
add ebx, 4
loop 0x4029a5
add eax, 0x16757
mov ebx, eax
add eax, 0x331932a6
sub eax, 0x331932a1
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x11651190
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x117b2838]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
test eax, eax
jne 0x116511d0
mov esi, str.Wtsapi32.dll
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x116511bb
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x117b2838], eax
je 0x1165121e
push ebx
push dword [ebp + 8]
call eax
mov edi, eax
test edi, edi
jne 0x1165121e
call fcn.116ba0e0
cmp eax, dword [ebp + 8]
je 0x1165121e
push 1
push str.SeDebugPrivilege
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.116a69d0
call fcn.11651df0
push eax
call fcn.116a7620
add esp, 0x10
mov esi, eax
push ebx
push dword [ebp + 8]
call dword [0x117b2838]
test esi, esi
mov edi, eax
je 0x1165121e
call fcn.116a7930
xor eax, eax
cmp dword [0x117bf470], eax
je 0x1165124c
cmp ebx, eax
je 0x1165122e
mov eax, dword [ebx]
push eax
push dword [ebp + 8]
push edi
push str.CAdminTokenMgr::UseWTSQueryUserToken__Ret___d__dwSessionId__d__hToken__08x_
push str.AdminToken
push 0xffffffffffffffff
push 0x117bebdc
call fcn.116bd9a0
add esp, 0x1c
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x11651362
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [eax], ebx
je 0x11651445
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 8]
push eax
push 2
push dword [ebp + 8]
call fcn.116510ce
add esp, 0x10
test eax, eax
je 0x11651434
cmp dword [ebp - 8], ebx
je 0x11651434
lea eax, [ebp - 4]
mov byte [ebp - 0x1c], bl
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x1c]
push 2
push eax
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x11651434
push esi
push edi
mov edi, dword [ebp - 8]
xor esi, esi
cmp dword [edi], ebx
jbe 0x11651432
lea eax, [edi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x11651412
add dword [ebp - 0xc], 8
inc esi
cmp esi, dword [edi]
jb 0x116513f5
jmp 0x11651432
test byte [edi + esi*8 + 8], 8
push 1
lea eax, [edi + esi*8 + 8]
pop ecx
mov dword [ebp - 0x10], ecx
je 0x11651428
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
test byte [eax], 4
je 0x11651432
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
pop edi
pop esi
cmp dword [ebp - 4], ebx
je 0x11651445
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call fcn.116510a0
cmp dword [0x117bf470], ebx
pop ecx
pop ebx
je 0x11651480
mov eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
push dword [ebp - 0x10]
push str.CAdminTokenMgr::IsInAdminGroup__bIsAdmin___d__hToken__08x__bOwner___d___bEnabled__d_
push str.AdminToken
push 0xffffffffffffffff
push 0x117bebdc
call fcn.116bd9a0
add esp, 0x20
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x1165170e
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
je 0x116517a0
cmp dword [ebp + 0x18], edi
je 0x116517a0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.11651669
mov ebx, eax
pop ecx
cmp ebx, edi
pop ecx
je 0x116517a0
mov esi, dword [ebp + 0x14]
cmp esi, 0xffffffff
je 0x1165175e
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push ebx
call fcn.116a4fb0
pop ecx
test eax, eax
pop ecx
je 0x11651797
cmp dword [ebp - 8], esi
jne 0x11651797
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 1
push ebx
call fcn.116510ce
add esp, 0x10
test eax, eax
je 0x11651797
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x11651797
push dword [eax]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x11651797
push ebx
call fcn.116512f7
cmp dword [ebp + 0x18], eax
pop ecx
jbe 0x116517a0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
push dword [ebp - 4]
call fcn.116510a0
cmp dword [0x117bf470], 0
pop ecx
mov edi, str.CAdminTokenMgr::IsMatchProcessToken__Match___d___hNewToken__08x___dwTargetProcessId___d____hTargetHandle__08x____dwSessionId__d_
mov esi, 0x117bebdc
je 0x116517df
push dword [ebp + 0x14]
xor eax, eax
test ebx, ebx
push dword [ebp + 0xc]
setne al
push dword [ebp + 8]
push ebx
push eax
push edi
push str.AdminTokenAll
push 0xffffffffffffffff
push esi
call fcn.116bd9a0
add esp, 0x24
test ebx, ebx
je 0x11651809
cmp dword [0x117bf470], 0
je 0x11651809
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push 1
push edi
push str.AdminToken
push 0xffffffffffffffff
push esi
call fcn.116bd9a0
add esp, 0x24
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x116568da
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x1176ad94
call fcn.116bf770
sub esp, 0x434
cmp dword [0x117bd934], 0
je 0x116568fd
mov eax, dword [0x117bd930]
jmp 0x11656aab
push ebx
push esi
push edi
push 1
pop eax
mov esi, 0x20019
mov dword [0x117bd934], eax
mov dword [0x117bd930], eax
call fcn.116d2960
test eax, eax
je 0x11656920
mov esi, 0x20219
lea ecx, [ebp - 0x18]
call fcn.11694100
and dword [ebp - 4], 0
push esi
push str.softwareTECOcular.3Agent
push SysStringLen
lea ecx, [ebp - 0x18]
call fcn.11694270
push 4
test eax, eax
pop ebx
je 0x116569a1
mov esi, str.RunAs
push ebx
push esi
lea ecx, [ebp - 0x18]
call fcn.11696740
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.11694410
movzx eax, al
test eax, eax
jne 0x11656971
and dword [0x117bd930], eax
jmp 0x11656991
push 2
pop ecx
cmp eax, ecx
jne 0x11656980
mov dword [0x117bd930], ecx
jmp 0x11656991
push 3
pop ecx
cmp eax, ecx
je 0x11656978
cmp eax, ebx
jne 0x11656991
mov dword [0x117bd930], ebx
lea ecx, [ebp - 0x18]
call fcn.116942c0
test edi, edi
jne 0x11656a94
and word [ebp - 0x238], 0
mov edx, 0x81
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x236]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x43e]
mov word [ebp - 0x440], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x440]
push 0x104
push eax
call fcn.116aabf0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], esi
add esp, 0xc
mov dword [ebp - 0x24], str.ingress_sdm.exe
mov dword [ebp - 0x20], str.ist.exe
mov dword [ebp - 0x1c], str.OGuard.exe
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], 3
lea esi, [ebp - 0x24]
mov ebx, 0x103
push dword [esi]
lea eax, [ebp - 0x440]
push eax
push 0x1178f20c
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.116bfef0
add esp, 0x14
lea eax, [ebp - 0x238]
push eax
call edi
cmp eax, 0xffffffff
je 0x11656a7a
lea eax, [ebp - 0x440]
push str.winrdlv3.exe
push eax
push 0x1178f20c
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.116bfef0
add esp, 0x14
lea eax, [ebp - 0x238]
push eax
call edi
cmp eax, 0xffffffff
je 0x11656a88
inc dword [ebp - 0x10]
add esi, 4
cmp dword [ebp - 0x10], 3
jb 0x11656a1f
jmp 0x11656a94
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [0x117bd930], eax
mov esi, dword [0x117bd930]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.116941f0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret