joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801803d
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x18176bdc]
push ebx
push esi
push edi
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
mov edi, edx
push ebx
push eax
mov esi, ecx
call fcn.181374a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
jne 0x1801809c
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x180180eb
mov dword [ebp - 0x210], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 0x210]
call fcn.180076af
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x20c]
call fcn.1801cb8a
test eax, eax
js 0x180180db
push dword [ebp + 8]
mov ecx, dword [ebp - 0x210]
mov edx, edi
call fcn.18017f9b
pop ecx
mov bl, al
mov ecx, dword [ebp - 0x210]
add ecx, 0xfffffff0
call fcn.18006f72
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret
Function at 0x180180fa
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1230
call fcn.1815e2b0
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x122c], edx
push 0x5c
mov dword [ebp - 0x1220], ecx
mov ecx, edi
pop edx
call fcn.1801387f
mov esi, eax
cmp esi, 0xffffffff
setne byte [ebp - 0x1225]
xor ebx, ebx
mov dword [ebp - 0x1218], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 0x1218]
call fcn.180076af
cmp esi, 0xffffffff
je 0x18018177
lea edx, [ebp - 0x1218]
mov ecx, edi
call fcn.180182e7
test eax, eax
js 0x180182c8
mov edi, dword [ebp - 0x1218]
mov dword [ebp - 0x122c], edi
push ebx
xor edx, edx
push 5
inc edx
pop ecx
call fcn.18015a4e
pop ecx
test al, al
je 0x180181cd
call fcn.18015cdd
push dword [ebp - 0x1220]
movzx eax, al
neg eax
push ebx
sbb eax, eax
and eax, 0xc00
add eax, 0x400
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x180182c8
push dword [ebp - 0x1225]
mov edx, edi
mov ecx, esi
call fcn.1801803d
pop ecx
mov bl, al
jmp 0x180182c1
push dword [ebp - 0x1220]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x180182c8
push 0x1000
lea eax, [ebp - 0x1214]
push ebx
push eax
call fcn.181374a0
add esp, 0xc
mov dword [ebp - 0x121c], ebx
lea eax, [ebp - 0x121c]
push eax
push 4
lea eax, [ebp - 0x1214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
jne 0x18018236
push dword [ebp - 0x1225]
mov edx, edi
mov ecx, esi
call fcn.1801803d
pop ecx
mov bl, al
jmp 0x180182bd
mov edi, dword [ebp - 0x121c]
shr edi, 2
cmp edi, 1
jbe 0x18018249
xor edi, edi
inc edi
jmp 0x1801824d
test edi, edi
je 0x180182c1
mov dword [ebp - 0x1220], ebx
push 0x208
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.181374a0
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x104
push eax
mov eax, dword [ebp - 0x1220]
push dword [ebp + eax*4 - 0x1214]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x180182a8
push dword [ebp - 0x1225]
mov edx, dword [ebp - 0x122c]
lea ecx, [ebp - 0x214]
call fcn.18017f9b
pop ecx
test al, al
jne 0x180182bb
mov eax, dword [ebp - 0x1220]
inc eax
mov dword [ebp - 0x1220], eax
cmp eax, edi
jl 0x18018253
jmp 0x180182c1
mov bl, 1
test esi, esi
je 0x180182c8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1218]
add ecx, 0xfffffff0
call fcn.18006f72
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret
Function at 0x18018917
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.18015cdd
test al, al
je 0x18018a28
push esi
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
mov esi, eax
test esi, esi
js 0x18018a28
xor ebx, ebx
lea ecx, [ebp - 8]
push str.._
mov dword [ebp - 8], ebx
call fcn.180074fa
lea eax, [esi + 0x41]
push eax
lea ecx, [ebp - 8]
call fcn.18009f27
push 0x3a
lea ecx, [ebp - 8]
call fcn.18009f27
push ebx
push ebx
push 3
push ebx
push 7
pop edi
push edi
push 0x80
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x18018a19
mov dword [ebp - 0x18], edi
xor eax, eax
lea edi, [ebp - 0x24]
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
push ebx
mov dword [ebp - 0x14], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push 0xc
lea eax, [ebp - 0x24]
push eax
push 0xc
lea eax, [ebp - 0x18]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x180189ce
cmp byte [ebp - 0x1c], bl
sete bl
jmp 0x18018a0c
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x30]
mov dword [ebp - 0x18], 8
stosd dword es:[edi], eax
push ebx
mov dword [ebp - 0xc], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push 0xc
lea eax, [ebp - 0x30]
push eax
push 0xc
lea eax, [ebp - 0x18]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x18018a12
xor ebx, ebx
cmp byte [ebp - 0x28], bl
setne bl
inc ebx
cmp esi, 0xffffffff
je 0x18018a19
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, ebx
jmp 0x18018a2a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret
Function at 0x18018a92
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x18], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1800bf65
mov eax, dword [ebp - 0x1c]
push ebx
push esi
xor esi, esi
push esi
test eax, eax
jne 0x18018ad5
push esi
push esi
jmp 0x18018adb
push eax
push 0x400
push esi
push esi
push esi
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x18018af5
call fcn.1801bab5
mov esi, eax
jmp 0x18018b35
movzx ecx, byte [0x181dc05a]
neg ecx
sbb ecx, ecx
and ecx, 0x181dbf50
je 0x18018b35
push 7
pop edx
xor eax, eax
mov dword [ebp - 0x2c], ecx
inc eax
mov dword [ebp - 0x28], edx
push eax
push edx
mov dword [ebp - 0x24], eax
call fcn.18008b5d
push dword [ebx + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push str._Started_process___u_
push eax
call fcn.18007230
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1800bfbf
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret

Function at 0x18018cb6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov dword [ebp - 0x64], eax
lea edi, [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x6c], ecx
stosd dword es:[edi], eax
lea ecx, [ebp - 0x18]
mov esi, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1800bf65
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.1800a0da
add eax, 0x10
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.1801670f
push 0x20
lea ecx, [ebp - 8]
call fcn.18009f27
mov eax, dword [ebx]
lea ecx, [ebp - 8]
push dword [eax - 0xc]
push eax
call fcn.18009f54
push 0x40
xor edi, edi
mov dword [ebp - 0x60], 0x44
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.181374a0
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 0x58], str.WinSta0Default
inc edx
mov esi, 0x104
add esp, 0xc
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, esi
or edx, ecx
jge 0x18018d60
push esi
lea ecx, [ebp - 8]
call fcn.1800773c
mov eax, dword [ebp - 8]
push dword [ebp - 0x64]
lea ecx, [ebp - 0x60]
push ecx
push edi
push dword [ebp - 0x68]
push 0x400
push edi
push edi
push edi
push eax
push edi
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
mov esi, eax
call fcn.18009ed8
test esi, esi
jne 0x18018d95
call fcn.1801bab5
mov edi, eax
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea ecx, [ebp - 0x18]
call fcn.1800bfbf
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret
Function at 0x18019230
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xb8], edx
push edi
mov ebx, ecx
mov dword [ebp - 8], esi
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x24], 0x181a1928
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.180188a4
test al, al
jne 0x1801927d
mov esi, 0x80004005
jmp 0x180193f4
push 0x60
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.181374a0
add esp, 0xc
lea ecx, [ebp - 0xa8]
call fcn.1800a4b4
push ecx
push ecx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x24]
call fcn.1801024b
test al, al
jne 0x180192b9
mov esi, 0x80004005
jmp 0x180193e9
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x14], 0x181a1900
lea edi, [ebp - 0x44]
mov dword [ebp - 0x10], esi
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x44]
call fcn.1800aba9
push 0x12
push 1
mov edi, 0x181a18c4
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.1800a532
add esp, 0x10
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x44]
push esi
push 0xc0100000
push eax
call fcn.1800ac45
lea ecx, [ebp - 0x118]
call fcn.1800a61b
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.1800a532
add esp, 0x14
lea eax, [ebp - 0x118]
mov edi, 0xc0100000
lea ecx, [ebp - 0x44]
push esi
push edi
push eax
call fcn.1800ac45
lea ecx, [ebp - 0x118]
call fcn.1800a61b
push esi
push edi
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x44]
call fcn.1800ac45
push ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x14]
call fcn.1800b71a
lea ecx, [ebp - 0x14]
call fcn.1800b89f
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0xb0], eax
inc edi
push esi
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0xc
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xac], edi
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x180193cb
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x180193cb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xb8]
mov dword [ebx], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ecx], eax
jmp 0x180193d2
call fcn.1801bab5
mov esi, eax
lea ecx, [ebp - 0x44]
call fcn.1800abf2
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x181a1900
call fcn.18007bf0
lea ecx, [ebp - 0xa8]
call fcn.1800a61b
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x181a1928
call fcn.1800bba0
cmp dword [ebp - 0xc], 0
je 0x18019412
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x18019421
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret
Function at 0x1801a37d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x14], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov edi, 0x80070003
call fcn.180074fa
lea ecx, [ebp - 0x14]
call fcn.1801b011
mov esi, dword [ebp - 0x14]
test eax, eax
je 0x1801a4d8
xor ecx, ecx
mov dword [ebp - 0x10], 0x181a194c
push ecx
push ecx
or edx, 0xf003f
mov dword [ebp - 0xc], ecx
push edx
push ecx
push ecx
push esi
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 0x200
call fcn.1801a09c
mov edi, eax
test edi, edi
jne 0x1801a4c3
mov eax, dword [ebp + 8]
sub eax, 1
je 0x1801a480
sub eax, 1
je 0x1801a47c
sub eax, 1
je 0x1801a44d
sub eax, 1
je 0x1801a43e
sub eax, 3
je 0x1801a42b
sub eax, 4
je 0x1801a419
mov edi, 0x8007065d
jmp 0x1801a490
push dword [ebx + 4]
lea ecx, [ebp - 0x10]
push dword [ebx]
push dword [ebp - 0x18]
call fcn.1801aa08
jmp 0x1801a48e
push 7
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
push ebx
push dword [ebp - 0x18]
call fcn.1801aa6e
jmp 0x1801a48e
push dword [ebx]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.1801a9de
jmp 0x1801a48e
mov eax, ebx
neg eax
lfence
sbb eax, eax
and eax, dword [ebp + 0x10]
push eax
push ebx
push 3
push 0
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
jle 0x1801a490
movzx edi, di
or edi, 0x80070000
jmp 0x1801a490
push 2
jmp 0x1801a482
push 1
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.1801aa32
mov edi, eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
test eax, eax
je 0x1801a4bb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, eax
test ecx, ecx
jle 0x1801a4af
movzx ecx, cx
or ecx, 0x80070000
xor eax, eax
mov dword [ebp - 8], 0x200
mov dword [ebp - 0xc], eax
test edi, edi
jne 0x1801a4c6
mov edi, ecx
jmp 0x1801a4c6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x181a194c
test eax, eax
je 0x1801a4d8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret
Function at 0x1801a7d2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], eax
mov edi, ecx
xor ecx, ecx
lea eax, [ebp - 0xc]
push eax
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
push ecx
push ebx
push dword [edi + 4]
mov dword [ebp - 8], ecx
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x1801a81d
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x1801a870
mov eax, dword [ebp - 0xc]
xor ecx, ecx
shr eax, 1
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.181230d8
cmp dword [ebp - 0xc], 0
pop ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
je 0x1801a86b
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push 0
push ebx
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x1801a870
movzx esi, si
or esi, 0x80070000
jmp 0x1801a870
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret 8

Function at 0x1801a883
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
push edx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], edx
push ecx
push edx
push eax
push dword [ebx + 4]
mov dword [ebp - 8], edx
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x1801a8ce
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x1801a93f
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x1801a938
shr edx, 1
add edx, 1
js 0x1801a952
mov eax, dword [edi]
xor ecx, ecx
inc ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x1801a8fa
push edx
mov ecx, edi
lfence
call fcn.1800773c
cmp dword [edi], 0
jne 0x1801a906
mov esi, 0x8007000e
jmp 0x1801a92d
lea eax, [ebp - 0xc]
push eax
push dword [edi]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp - 0x10]
push dword [ebx + 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x1801a92d
movzx esi, si
or esi, 0x80070000
push 0xffffffffffffffff
mov ecx, edi
call fcn.18009ed8
jmp 0x1801a93f
mov ecx, edi
call fcn.18007546
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret 8
push 0x80070057
call fcn.18006be5
int3
Function at 0x1801af15
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x181d600c]
xor eax, esp
mov dword [esp + 0x220], eax
and dword [esp + 8], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 0x181a194c
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], 0x200
mov eax, dword [edi + 8]
or eax, 0xf003f
push eax
push ebx
push dword [edi + 4]
call fcn.1801a216
mov esi, eax
cmp esi, 0x80070002
je 0x1801af74
cmp esi, 0x80070003
jne 0x1801afb9
xor esi, esi
inc esi
cmp dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x181a194c
je 0x1801af90
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.181227f8
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.1801af15
mov esi, eax
test esi, esi
jne 0x1801af77
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1801afa9
cmp dword [esp + 0x14], esi
je 0x1801b002
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0x200
push ebx
mov ecx, edi
call fcn.18019fd5
mov esi, eax
jmp 0x1801af77

Function at 0x1801b6e5
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x14]
mov word [ebp - 0xc], 0x500
push eax
mov esi, ecx
lea eax, [ebp - 0x10]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push 0x220
push 0x20
push 2
push eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 8], eax
test eax, eax
je 0x1801b74d
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 8]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop esi
call fcn.181227f8
leave
ret
Function at 0x1801b97c
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x44
pop eax
push eax
mov dword [ebp - 0x50], eax
xor esi, esi
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.181374a0
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
push 0xb
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x1801b9d6
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], esi
push eax
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x1801b9d6
cmp dword [ebp - 0x4c], esi
setne al
jmp 0x1801b9d8
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.181227f8
leave
ret

Function at 0x1801baf5
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1801bb64
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1801bb40
push ebx
push edi
push eax
call fcn.18136f20
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x1801bb5b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret

Function at 0x1801c053
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
cwde
pop ss
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1801bc97
push eax
push esi
push dword [ebp + 8]
call fcn.1801bc4c
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1801bc97
push eax
push esi
push dword [ebp + 8]
call fcn.1801bc4c
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1801bc87
lodsd eax, dword [esi]
hlt
Function at 0x1801c966
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xfffffc
je 0x1801cb45
cmp dword [ebp + 0xc], 1
je 0x1801cb45
cmp dword [ebp + 0xc], 8
jne 0x1801cb0d
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.1801bc97
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1801bc4c
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
invalid
test dword [edx - 7], esp
invalid
invalid

Function at 0x1801cb8a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.1801bc65
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.1801bc97
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1801bc4c
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.1801bc87
dec ebx
stosd dword es:[edi], eax
imul ecx, dword [ecx + 0x10468], 0xd4858d00
invalid