joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b8d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aff48
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5036c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x1a
push eax
call fcn.0045c1b0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x45b937
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45b9b5
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov ecx, esi
push 1
push eax
call fcn.0045c1b0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x45b97b
mov ecx, eax
call fcn.00406ea0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45b9b5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b9ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45babd
push edx
push ecx
call fcn.0043b7c2
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x45b9e0
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x4c4de8
mov word [edi], ax
call fcn.0040a8a0
jmp 0x45ba96
call fcn.004080e0
mov ecx, eax
test ecx, ecx
je 0x45bac2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004060b0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00410b20
mov edx, dword [ebp - 0x48]
add esp, 8
mov byte [ebp - 4], 1
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ba47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44]
xor eax, eax
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ba62
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.0040a8a0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45ba96
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.00406ea0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043ba78
mov esp, ebp
pop ebp
ret 8
call fcn.0046d258
push 0x80004005
call fcn.00407b40
int3
Function at 0x45e780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0512
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x5036c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x81c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x818], 0
mov word [esi], dx
mov dword [ebp - 4], edx
mov dword [ebp - 0x81c], 1
test ecx, ecx
je 0x45e8b0
test eax, eax
je 0x45e8b0
test ebx, ebx
je 0x45e8b0
lea edx, [ebp - 0x818]
push edx
push 0x20219
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45e89f
cmp dword [ebp - 0x818], eax
je 0x45e8b0
push 0x802
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00469cf0
add esp, 0xc
mov dword [ebp - 0x820], 0x800
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push 0xffff
push ebx
push 0
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x45e89f
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e881
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040a8a0
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x45e8b0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043ba78
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4889ff
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004886bf

Function at 0x48f010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b12cb
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
mov eax, dword [0x5036c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x14]
push 0x20000
push 0
push edi
mov dword [ebp - 0x1c], eax
call fcn.00469cf0
add esp, 0xc
lea eax, [ebx + 0x20014]
mov dword [ebp - 0x18], eax
push 0
push eax
push 0x20000
push edi
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48f1bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x14], esi
call fcn.00438c20
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x48f190
cmp dword [ebx + 0x2006c], 8
lea eax, [ebx + 0x20058]
mov dword [ebp - 0x10], eax
jb 0x48f0b7
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push 0x61
push str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_src_rpc_instance_rpc_client_instance.cpp
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.0040a7b0
push 3
push 0x4c4f7c
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.0040a7b0
mov byte [ebp - 4], 1
call fcn.00438c20
mov edi, eax
lea ecx, [ebp - 0xe4]
push 0x61
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00406590
mov esi, eax
push str.RecvData_failed__error_code_:
push esi
mov byte [ebp - 4], 2
call fcn.00407430
add esp, 8
mov ecx, esi
push dword [ebp - 0x14]
call fcn.004072c0
push str.__channel_name:
push esi
call fcn.00407430
mov ecx, dword [ebp - 0x10]
mov eax, 0x4b5fd8
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.004056a0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.00407560
lea ecx, [ebp - 0x34]
call fcn.00406e50
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.00406e50
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x14]
mov dword [ebx + 0xc], 6
cmp esi, 0xe8
je 0x48f1b1
cmp esi, 0xe9
je 0x48f1b1
cmp esi, 0x6d
je 0x48f1b1
cmp esi, 6
jne 0x48f1bf
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
push dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], 0
mov eax, dword [eax]
add eax, edi
push eax
push edi
push dword [ecx + 4]
call fcn.00452210
mov dword [ebx + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x493b23
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x100035d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10003632
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10003632
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x10003622
cmp esi, ecx
jae 0x10003632
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x10003610
cmp esi, ecx
jae 0x10003632
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x10003634
xor eax, eax
pop esi
pop ebp
ret
Function at 0x100091cf
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x10031726
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp + 0x250], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x25c]
lea ecx, [ebp - 0x14]
push edi
call fcn.100027a7
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push str..
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10009480
add esp, 0xc
lea ecx, [ebp]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x18]
mov esi, eax
add ecx, 0xfffffff0
call fcn.100034a0
cmp esi, 0xffffffff
je 0x10009395
mov ecx, 0x10033cd0
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000927f
test dx, dx
je 0x1000927b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000927f
add eax, 4
add ecx, 4
test dx, dx
jne 0x10009259
xor eax, eax
jmp 0x10009284
sbb eax, eax
or eax, 1
test eax, eax
je 0x10009374
mov ecx, 0x10033cd4
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100092ba
test dx, dx
je 0x100092b6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100092ba
add eax, 4
add ecx, 4
test dx, dx
jne 0x10009294
xor eax, eax
jmp 0x100092bf
sbb eax, eax
or eax, 1
test eax, eax
je 0x10009374
test byte [ebp], 0x10
lea eax, [ebp - 0x14]
je 0x1000932f
push 0x10033cdc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10009480
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10009480
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.100034a0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x1000931a
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.10003042
mov eax, dword [ebp - 0x10]
push eax
call fcn.100091cf
push dword [ebp - 0x10]
call fcn.100093c2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
jmp 0x10009368
push 0x10033ce0
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10009480
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10009480
push dword [eax]
call fcn.100093c2
mov ecx, dword [ebp - 0x20]
add esp, 0x1c
lea ecx, [ecx - 0x10]
call fcn.100034a0
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
mov byte [ebp - 4], 0
call fcn.100034a0
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10009251
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call fcn.100093c2
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.100034a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.1000e62d
add ebp, 0x254
leave
ret
Function at 0x10009919
Capabilities:
Set environment variable

Disassembly:
push 4
mov eax, 0x1003178c
call fcn.1000e65e
lea ecx, [ebp - 0x10]
call fcn.10002851
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x10033d9c
push dword [0x10044234]
push str._s_s___s_
push eax
call fcn.100030b2
mov esi, dword [ebp - 0x10]
push esi
call fcn.10009bb2
add esp, 0x18
test al, al
jne 0x10009896
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x10033dd4
call esi
push 0x10033e00
push 0x10033e04
call esi
push 0x10044234
lea ecx, [ebp - 0x10]
call fcn.10009a5b
push 0x10033e34
lea ecx, [ebp - 0x10]
call fcn.10002b9e
mov esi, dword [ebp - 0x10]
push esi
call fcn.10009d9b
pop ecx
test al, al
jne 0x10009896
push 0
push dword [ebp + 8]
call fcn.10009f08
pop ecx
pop ecx
lea ecx, [esi - 0x10]
call fcn.100034a0
call fcn.1000e63b
ret
push dword [esp + 4]
call fcn.10009bb2
pop ecx
test al, al
je 0x10009802
ret
Function at 0x10009bb2
Capabilities:
Get explorer pid

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1003186d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetShellWindow]
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
jne 0x10009c10
xor al, al
jmp 0x10009d78
push dword [ebp - 0x20]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x24], esi
and dword [ebp - 4], 0
test esi, esi
jne 0x10009c34
xor bl, bl
jmp 0x10009d76
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
push 0xb
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10009d47
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
inc ebx
push ebx
push 2
push 0
push 0x2000000
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x10009d47
push 0x44
pop edi
push edi
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.100111b0
mov dword [ebp - 0x78], edi
lea ecx, [ebp - 0x18]
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x1c]
push edi
call fcn.100027a7
push str.CreateProcessWithTokenW
push str.Advapi32.dll
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x208
mov dword [ebp - 0x1c], eax
lea eax, [ebp]
push 0
push eax
call fcn.100111b0
push edi
lea eax, [ebp]
push 0x104
push eax
call fcn.1001c2d0
add esp, 0x18
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x10009d38
mov eax, dword [ebp - 0x18]
cmp dword [eax - 4], ebx
jle 0x10009d08
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.10003042
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp]
push ecx
xor ecx, ecx
push ecx
push ecx
push eax
push ecx
push ecx
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x10009d38
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10009d3a
xor bl, bl
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100034a0
jmp 0x10009d49
xor bl, bl
cmp dword [ebp - 0x10], 0
je 0x10009d5c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x14], 0
je 0x10009d6f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x14], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1000e62d
add ebp, 0x20c
leave
ret
Function at 0x10009d9b
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x100318b4
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x7c]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp + 4], ebx
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
push 1
push 0x20000
push 2
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_SaferCreateLevel]
push ebx
push 4
lea eax, [ebp + 4]
push eax
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_SaferComputeTokenFromLevel]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_SaferCloseLevel]
push 0x2000
push 1
lea eax, [ebp + 0x68]
mov dword [ebp + 0x68], ebx
push eax
lea eax, [ebp + 8]
mov word [ebp + 0x6c], 0x1000
push eax
call fcn.10009945
add esp, 0x10
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x19
push dword [ebp + 4]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10009ed6
push 0x44
pop edi
push edi
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.100111b0
mov dword [ebp - 0x70], edi
lea ecx, [ebp]
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
add esp, 0xc
push dword [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100027a7
mov eax, dword [ebp]
mov byte [ebp - 4], 2
cmp dword [eax - 4], 1
jle 0x10009ea2
push dword [eax - 0xc]
lea ecx, [ebp]
call fcn.10003042
mov eax, dword [ebp]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push dword [ebp + 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x10009ecb
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x28]
call esi
mov bl, 1
mov ecx, dword [ebp]
lea ecx, [ecx - 0x10]
call fcn.100034a0
lea ecx, [ebp + 8]
call fcn.10009a25
cmp dword [ebp + 4], 0
je 0x10009ee9
push dword [ebp + 4]
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.1000e62d
add ebp, 0x74
leave
ret

Function at 0x10009f08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.100111b0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret
Function at 0x1000a48b
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall rule properties via inetfwrule

Disassembly:
push 0x10
mov eax, 0x10031a20
call fcn.1000e65e
xor ebx, ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
push 0x10034094
push 0x17
push ebx
push 0x10034064
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x1000a602
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push eax
mov byte [ebp - 4], 1
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
jne 0x1000a5f1
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
push edx
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push dword [edi]
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x1000a4fe
mov bl, 1
jmp 0x1000a5e0
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
push 0x10034084
push 0x17
push ebx
push 0x10034074
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x1000a5cf
mov eax, dword [ebp - 0x10]
push dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
jne 0x1000a5cf
mov eax, dword [ebp - 0x10]
push dword [0x10044248]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jne 0x1000a5cf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
push dword [ecx]
push eax
call dword [edx + 0x30]
test eax, eax
jne 0x1000a5cf
mov eax, dword [ebp - 0x10]
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
jne 0x1000a5cf
mov eax, dword [ebp - 0x10]
push SysReAllocString
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
test eax, eax
jne 0x1000a5cf
mov eax, dword [ebp - 0x10]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
test eax, eax
jne 0x1000a5cf
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
jne 0x1000a5cf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
push dword [ecx]
push eax
call dword [edx + 0x70]
test eax, eax
jne 0x1000a5cf
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
jne 0x1000a5cf
mov bl, 1
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x1000a5e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
test eax, eax
je 0x1000a5f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test eax, eax
je 0x1000a602
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1000a613
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
call fcn.1000e63b
ret
Function at 0x1000a896
Capabilities:
Check mutex on windows

Disassembly:
push esi
push 0xa
call sym.setuphlp.dll_GetVar
pop ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
jne 0x1000a8c0
push 0x10034120
push 0xb
call sym.setuphlp.dll_SetVar
pop ecx
pop ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov edx, 0x10034128
mov ecx, 0x10034124
cmovne ecx, edx
push ecx
push 0xb
call sym.setuphlp.dll_SetVar
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x1000aa55
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100446ac], 0
jne 0x1000aaa9
push edi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
push 6
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
pop edi
test eax, eax
jle 0x1000aaa9
lea eax, [ebp - 0x18]
push eax
call fcn.1000b254
pop ecx
mov dword [0x10043008], eax
mov byte [0x100446ac], 1
jmp 0x1000aaae
mov eax, dword [0x10043008]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e62d
leave
ret