joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406519
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x840]
mov edi, edx
push eax
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x820], ecx
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp - 0x840]
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x838]
push eax
xor ebx, ebx
push 1
lea eax, [ebp - 0x810]
push eax
mov dword [ebp - 0x838], 0x18
mov dword [ebp - 0x834], ebx
mov dword [ebp - 0x82c], 0x40
mov dword [ebp - 0x828], ebx
mov dword [ebp - 0x824], ebx
call dword [sym.imp.ntdll.dll_NtOpenDirectoryObject]
test eax, eax
js 0x40663a
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x814]
push eax
push ebx
mov dword [ebp - 0x814], ebx
push ebx
mov ebx, dword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
jmp 0x40660e
test esi, esi
js 0x40665b
cmp word [ebp - 0x80c], 0
je 0x4065fc
lea esi, [ebp - 0x808]
push dword [ebp - 0x820]
push dword [esi + 8]
push dword [esi]
call edi
mov edi, eax
test edi, edi
js 0x40664b
mov edi, dword [ebp - 0x818]
add esi, 0x10
xor eax, eax
cmp word [esi - 4], ax
jne 0x4065d8
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x814]
push eax
xor eax, eax
push eax
push eax
push 0x800
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 0x810]
call ebx
mov esi, eax
cmp esi, 0x8000001a
jne 0x4065c0
push dword [ebp - 0x810]
call dword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408e85
leave
ret 4
push dword [ebp - 0x810]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
jmp 0x40663a
push dword [ebp - 0x810]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, esi
jmp 0x40663a
Function at 0x406670
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
test ebx, ebx
je 0x406739
test edi, edi
je 0x406739
xor edx, edx
cmp word [edi], dx
je 0x406739
push esi
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x4066a4
sub esi, ecx
push ebx
sar esi, 1
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
jne 0x4066df
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x4066df
push 0
lea eax, [ebp - 8]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x406738
lea eax, [esi + esi]
mov dword [ebp - 4], eax
add eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x406738
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push esi
push 0xffffffffffffffff
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x406731
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406719
push 0
lea eax, [ebp - 8]
push eax
sub ecx, edx
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
pop ebx
leave
ret

Function at 0x409510
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x409526
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x409541
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x409550
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
movzx ebx, word [ecx + 6]
add eax, 0x18
push esi
xor edx, edx
add eax, ecx
push edi
test ebx, ebx
je 0x40958e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x409586
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x409590
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x409576
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40bf2b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x40bf5c
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x16
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00408ed5
add esp, 0x14
or eax, 0xffffffff
jmp 0x40c063
push ebx
lea ebx, [edi + 0xc]
mov eax, dword [ebx]
test al, 0x83
je 0x40c05f
test al, 0x40
jne 0x40c05f
test al, 2
je 0x40bf80
or eax, 0x20
mov dword [ebx], eax
jmp 0x40c05f
or eax, 1
mov dword [ebx], eax
test eax, 0x10c
jne 0x40bfac
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x16
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00408ed5
add esp, 0x14
jmp 0x40c05f
push dword [edi + 0x18]
mov eax, dword [edi + 8]
mov esi, dword [sym.imp.msvcrt.dll__fileno]
push eax
push edi
mov dword [edi], eax
call esi
pop ecx
push eax
call dword [sym.imp.msvcrt.dll__read]
add esp, 0xc
lea ecx, [edi + 4]
mov dword [ecx], eax
test eax, eax
je 0x40c050
cmp eax, 0xffffffff
je 0x40c050
test byte [ebx], 0x82
jne 0x40c027
push edi
call esi
pop ecx
cmp eax, 0xffffffff
je 0x40c010
push edi
call esi
pop ecx
cmp eax, 0xfffffffe
je 0x40c010
push edi
call esi
mov ecx, dword [sym.imp.msvcrt.dll___pioinfo]
sar eax, 5
push edi
lea esi, [ecx + eax*4]
call dword [sym.imp.msvcrt.dll__fileno]
and eax, 0x1f
imul eax, eax, 0x24
add eax, dword [esi]
pop ecx
pop ecx
jmp 0x40c015
mov eax, dword [sym.imp.msvcrt.dll___badioinfo]
mov al, byte [eax + 4]
and al, 0x82
lea ecx, [edi + 4]
cmp al, 0x82
jne 0x40c027
or dword [ebx], 0x2000
cmp dword [edi + 0x18], 0x200
jne 0x40c044
test byte [ebx], 8
je 0x40c044
test dword [ebx], 0x400
jne 0x40c044
mov dword [edi + 0x18], 0x1000
dec dword [ecx]
mov ecx, dword [edi]
movzx eax, byte [ecx]
inc ecx
mov dword [edi], ecx
jmp 0x40c062
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [ebx], eax
and dword [ecx], 0
or eax, 0xffffffff
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x40da11
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x40da44
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x16
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00408ed5
add esp, 0x14
mov eax, 0xffff
jmp 0x40db5d
push ebx
lea ebx, [edi + 0xc]
mov eax, dword [ebx]
test al, 0x83
je 0x40db57
test al, 0x40
jne 0x40db57
test al, 2
je 0x40da68
or eax, 0x20
mov dword [ebx], eax
jmp 0x40db57
or eax, 1
mov dword [ebx], eax
test eax, 0x10c
jne 0x40da94
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x16
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00408ed5
add esp, 0x14
jmp 0x40db57
push dword [edi + 0x18]
mov eax, dword [edi + 8]
mov esi, dword [sym.imp.msvcrt.dll__fileno]
push eax
push edi
mov dword [edi], eax
call esi
pop ecx
push eax
call dword [sym.imp.msvcrt.dll__read]
add esp, 0xc
lea ecx, [edi + 4]
mov dword [ecx], eax
test eax, eax
je 0x40db48
cmp eax, 1
je 0x40db48
cmp eax, 0xffffffff
je 0x40db48
test byte [ebx], 0x82
jne 0x40db1c
push edi
call esi
pop ecx
cmp eax, 0xffffffff
je 0x40db05
push edi
call esi
pop ecx
cmp eax, 0xfffffffe
je 0x40db05
push edi
call esi
mov ecx, dword [sym.imp.msvcrt.dll___pioinfo]
sar eax, 5
push edi
lea esi, [ecx + eax*4]
call dword [sym.imp.msvcrt.dll__fileno]
and eax, 0x1f
imul eax, eax, 0x24
add eax, dword [esi]
pop ecx
pop ecx
jmp 0x40db0a
mov eax, dword [sym.imp.msvcrt.dll___badioinfo]
mov al, byte [eax + 4]
and al, 0x82
lea ecx, [edi + 4]
cmp al, 0x82
jne 0x40db1c
or dword [ebx], 0x2000
cmp dword [edi + 0x18], 0x200
jne 0x40db39
test byte [ebx], 8
je 0x40db39
test dword [ebx], 0x400
jne 0x40db39
mov dword [edi + 0x18], 0x1000
add dword [ecx], 0xfffffffe
mov ecx, dword [edi]
movzx eax, word [ecx]
add ecx, 2
mov dword [edi], ecx
jmp 0x40db5c
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [ebx], eax
and dword [ecx], 0
mov eax, 0xffff
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x100019dd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x400
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.1003ac70
add esp, 0xc
cmp dword [esi + 0xc], ebx
je 0x10001b4c
mov dword [esi + 0xc], ebx
cmp dword [esi + 8], ebx
jne 0x10001b4c
push edi
push str..GlobalPipe_s
lea eax, [ebp - 0x404]
push 0x3ff
push eax
call fcn.100014b9
add esp, 0x10
lea eax, [ebp - 0x404]
push ebx
push 0x40000000
push 3
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 8], eax
test eax, eax
je 0x10001b60
cmp eax, 0xffffffff
je 0x10001b60
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0xc4], eax
test eax, eax
jne 0x10001a92
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
xor eax, eax
jmp 0x10001b4f
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0xec], eax
test eax, eax
je 0x10001a84
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0x114], eax
test eax, eax
je 0x10001a84
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
push esi
push 0x10002596
push ebx
push ebx
call edi
mov dword [esi + 0xc0], eax
test eax, eax
je 0x10001a84
push ebx
push ebx
push esi
push 0x10002665
push ebx
push ebx
call edi
mov dword [esi + 0xe8], eax
test eax, eax
je 0x10001a84
push ebx
push ebx
push esi
push 0x10002734
push ebx
push ebx
call edi
mov dword [esi + 0x110], eax
test eax, eax
je 0x10001a84
push ebx
push ebx
push esi
push 0x10002456
push ebx
push ebx
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x10001a84
push ebx
push ebx
lea ecx, [esi + 0x10]
mov dword [ebp - 0x408], ebx
call fcn.100035a2
push eax
push str.MethodSupport
lea ecx, [ebp - 0x408]
call fcn.1000319f
lea eax, [ebp - 0x408]
mov ecx, esi
push eax
call fcn.10001da4
push dword [ebp - 0x408]
call fcn.1007aeb0
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001fe6c
leave
ret 4
mov dword [esi + 8], ebx
jmp 0x10001a84
Function at 0x10007be4
Capabilities:
Create process on windows

Disassembly:
push 0x4d4
mov eax, 0x1007ea7b
call fcn.1001fefb
mov edi, ecx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
and dword [ebp - 4], 0
mov ecx, eax
call sub.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x4dc]
call fcn.10006f10
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call sub.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov esi, dword [ebp - 0x4dc]
push str.sysclosebutton
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
je 0x10007d9f
push str.btn_cancel
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
je 0x10007d9f
push str.sysminbutton
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
jne 0x10007c7c
push eax
push 0xf020
jmp 0x10007da6
push str.btn_inst
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
jne 0x10007c99
mov ecx, edi
call fcn.100096f4
jmp 0x10007db4
push str.btn_browser
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
jne 0x10007d3c
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx]
call dword [eax + 0xbc]
mov ecx, eax
call sub.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x4e0]
call fcn.10006f10
push 1
push dword [ebp - 0x4e0]
lea ecx, [ebp - 0x4d8]
push dword [edi + 4]
call fcn.10006e92
mov byte [ebp - 4], 4
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.10007b6a
cmp eax, 1
jne 0x10007d20
mov ecx, dword [edi + 0x6f4]
lea edx, [ebp - 0x2a6]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
lea eax, [ebp - 0x2a6]
mov ecx, edi
push eax
call fcn.10009839
push dword [ebp - 0x9c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x4e0]
lea ecx, [ecx - 0x10]
call fcn.1000918a
jmp 0x10007db4
push str.btn_ok
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
jne 0x10007d53
push eax
push eax
push 0x10
jmp 0x10007dab
push str.btn_license
push esi
call fcn.100096be
pop ecx
pop ecx
test eax, eax
jne 0x10007dba
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx]
call dword [eax + 0xbc]
mov ecx, eax
call sub.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x4e0]
call fcn.10006f10
push 1
xor eax, eax
push eax
push eax
push dword [ebp - 0x4e0]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10007d2c
push 0
push 0xf060
push 0x112
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebp - 0x4dc]
lea ecx, [esi - 0x10]
call fcn.1000918a
call fcn.1001fea5
ret 4
Function at 0x10009781
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
push 4
pop eax
test edi, edi
mov dword [ebp - 0x18], edi
lea ebx, [edi - 0x384]
cmove ebx, eax
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10009829
push esi
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10009828
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x1000981d
push dword [ebx]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x1000981d
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000981d
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.1000772d
cmp dword [ebp + 8], 0
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov esi, eax
lea eax, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
lea ecx, [ecx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x10009811
push 1
push eax
call fcn.1000834c
jmp 0x10009828
push 0x50
push eax
push dword [ebx]
call fcn.100094da
jmp 0x10009828
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001fe6c
leave
ret 4

Function at 0x10009839
Capabilities:
Get disk information

Disassembly:
push 8
mov eax, 0x1007eb88
call fcn.1001fec7
mov dword [ebp - 0x14], ecx
call fcn.100081c1
push eax
lea ecx, [ebp - 0x10]
call fcn.10006ee7
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
test edi, edi
je 0x100098b0
push edi
call fcn.1000757f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.10009466
push 3
lea ecx, [ebp - 0x10]
call fcn.10008d1b
push 3
lea ecx, [ebp - 0x10]
call fcn.1000927b
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x100098b3
push edi
call fcn.1000757f
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push edi
add ecx, 0x708
call fcn.10009466
inc ebx
jmp 0x100098b3
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.1000918a
mov eax, ebx
call fcn.1001fe90
ret 4
Function at 0x1000c013
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xc
mov eax, 0x1007ee83
call fcn.1001fec7
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10006f10
push dword [ebp - 0x10]
and dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000c0a9
push eax
jmp 0x1000c098
call fcn.100081c1
push eax
lea ecx, [ebp - 0x14]
call fcn.10006ee7
inc edi
mov byte [ebp - 4], 1
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000cddd
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1000b93b
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1000918a
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000c08b
push esi
call fcn.1004fd76
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.1000918a
push edi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.1000c2cb
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000c03e
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000918a
call fcn.1001fe90
ret

Function at 0x1000c0ba
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1003ac70
add esp, 0xc
lea edi, [ebp - 0x22c]
xor eax, eax
lea edx, [ebp - 0x20c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
sub edx, ecx
stosw word es:[edi], ax
pop edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000c0ff
and dword [ebp - 0x220], 0
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x224], eax
mov eax, 0x214
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x22c]
push esi
push eax
mov dword [ebp - 0x228], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
pop esi
sete al
xor ecx, ebp
call fcn.1001fe6c
leave
ret
Function at 0x1000c54d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
push edi
test esi, esi
je 0x1000c616
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.1003ac70
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000c616
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1000c5d6
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1004f267
pop ecx
pop ecx
test eax, eax
je 0x1000c5dc
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000c5b6
jmp 0x1000c60b
push dword [ebp - 0x228]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x234]
mov esi, eax
push 0xf01ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1000c618
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001fe6c
leave
ret 8

Function at 0x1000c629
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x1007eb65
call fcn.1001fec7
call fcn.100081c1
push eax
lea ecx, [ebp - 0x10]
call fcn.10006ee7
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.10008d1b
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.1000d160
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x1000c68e
mov ecx, dword [ebp + 8]
push 0x100930fc
call fcn.10006f10
lea ecx, [esi - 0x10]
call fcn.1000918a
mov eax, dword [ebp + 8]
jmp 0x1000c6e7
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.1000c431
cmp ax, 0x5c
je 0x1000c6ad
push 1
push 0x10082858
lea ecx, [ebp - 0x10]
call fcn.1000be41
push 9
push str.FastWifi_
lea ecx, [ebp - 0x10]
call fcn.1000be41
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp - 0x10]
je 0x1000c6cc
push esi
call fcn.1000c013
pop ecx
lea edi, [esi - 0x10]
push edi
call fcn.1000bee8
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, edi
mov dword [esi], eax
call fcn.1000918a
mov eax, esi
call fcn.1001fe90
ret
Function at 0x1000cbe2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.1003ac70
add esp, 0xc
mov dword [ebp - 0x12c], esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x11c], esi
push eax
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1000ccef
cmp dword [ebp - 0x114], 5
jbe 0x1000ccef
push 0x20119
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push SysStringLen
lea ecx, [ebp - 0x12c]
call fcn.1000cf78
test eax, eax
jne 0x1000ccef
cmp dword [ebp - 0x114], 6
jb 0x1000cccc
jne 0x1000cc89
cmp dword [ebp - 0x110], 2
jb 0x1000cccc
lea eax, [ebp - 0x11c]
push eax
push str.ConsentPromptBehaviorAdmin
lea ecx, [ebp - 0x12c]
call fcn.1000cfcd
lea eax, [ebp - 0x120]
push eax
push str.PromptOnSecureDesktop
lea ecx, [ebp - 0x12c]
call fcn.1000cfcd
cmp dword [ebp - 0x11c], esi
jne 0x1000ccc7
cmp dword [ebp - 0x120], esi
je 0x1000ccef
xor esi, esi
inc esi
jmp 0x1000ccef
lea eax, [ebp - 0x11c]
push eax
push str.EnableLUA
lea ecx, [ebp - 0x12c]
call fcn.1000cfcd
xor eax, eax
cmp eax, dword [ebp - 0x11c]
sbb esi, esi
neg esi
lea ecx, [ebp - 0x12c]
call fcn.1000bf43
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1001fe6c
leave
ret

Function at 0x1000cd30
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1000cd88
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb eax, eax
and dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
pop ebx
je 0x1000cd98
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001fe6c
leave
ret

Function at 0x1000d1e4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x1000d1f6
push 0xd
pop eax
jmp 0x1000d228
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1000d1ff
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc