joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140063bf0
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140092010]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, dword [0x14009318c]
movsxd rax, dword [0x1400920bc]
xor esi, esi
mov edx, esi
cmp eax, 0x7b
ja 0x140063c36
lea rdx, [0x1400920f0]
mov rdx, qword [rdx + rax*8]
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], recv
mov byte [rbp - 0x28], 0
test rdx, rdx
jne 0x140063ca2
mov dword [rbp - 0x40], 0x63696150
mov dword [rbp - 0x3c], 0x41297c64
mov dword [rbp - 0x38], 0x100756e
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx + 3]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x140063c70
mov byte [rbp - 0x35], 0
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140063c92
lea rdx, [rbp - 0x40]
jmp 0x140063cba
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140063cb0
lea rcx, [rbp - 0x28]
call fcn.140054920
cmp edi, 1
jne 0x140063d29
movdqa xmm0, xmmword [0x1400873b0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x30], 0x77
mov byte [rbp - 0x2e], dil
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 3]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x11
jb 0x140063cf0
mov byte [rbp - 0x2e], 0
lea rax, [rbp - 0x40]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140063d10
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.140054920
movss xmm0, dword [0x1400867c8]
movss dword [rbp - 0x40], xmm0
movss xmm1, dword [0x140086790]
movss dword [rbp - 0x3c], xmm1
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x40]
call fcn.14003e2c0
test al, al
je 0x140063d80
test edi, edi
jne 0x140063d80
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x14005f5a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140063dbe
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063db9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c920
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14006c830
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140063de0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x12], 0
je 0x140063e03
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x11
jb 0x140063df0
mov byte [rcx + 0x12], 0
mov rax, rcx
ret
Function at 0x1400644f0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
movdqa xmm0, xmmword [0x140087310]
xor eax, eax
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x7379647e
mov dword [rsp + 0x34], 0x76787b37
mov dword [rsp + 0x38], 0x797977
mov byte [rsp + 0x3c], 1
nop dword [rax]
nop word [rax + rax]
lea edx, [rax + 3]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x1b
jb 0x140064530
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x3c], 0
call fcn.1400590b0
lea rdx, [0x140054cb0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov al, 1
add rsp, 0x48
ret
Function at 0x140065920
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
je 0x140065943
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 6
jb 0x140065930
mov byte [rcx + 7], 0
mov rax, rcx
ret
Function at 0x1400695c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
je 0x1400695e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x10
jb 0x1400695d0
mov byte [rcx + 0x11], 0
mov rax, rcx
ret
Function at 0x14006a980
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x5a], 0
je 0x14006a9a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x59
jb 0x14006a990
mov byte [rcx + 0x5a], 0
mov rax, rcx
ret

Function at 0x14006a9b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x5b], 0
je 0x14006a9d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x5a
jb 0x14006a9c0
mov byte [rcx + 0x5b], 0
mov rax, rcx
ret
Function at 0x140004000
Capabilities:
Encode data using xor

Disassembly:
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
xor r8, r8
mov rdx, rsp
fcmove st(0), st(3)
mov r8d, 0x10b86
and dx, 0xfbc0
loop 0x140003fd2
sti
movabs r11, 0xc8fc710a823efa00
fxsave64 [rdx]
add rdx, 8
mov rdi, qword [rdx]
dec r8
xor qword [rdi + r8*8 + 0x2f], r11
test r8, r8
jne 0x140004028
jae 0x140004010
retf 0xa33b
Function at 0x42bce0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x42bced
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x42bcfd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x42bce5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x42bd15
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x42bd02
sub eax, 3
jb 0x42bd2f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x42bd66
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x42bd56
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x42bd54
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x42bd43
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.0042bca2
jmp 0x42bced
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x14400
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x42bdb2
cmp rsi, rcx
jae 0x42bdba
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x42bd99
cmp al, 0x8f
ja 0x42bd99
cmp byte [rsi - 2], 0xf
je 0x42bd9f
sub al, 0xe8
cmp al, 1
ja 0x42bd83
cmp rsi, rcx
jae 0x42bdba
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x42bd89
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x42bdba
lodsb al, byte [rsi]
jmp 0x42bd99
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x28000]
mov eax, dword [rdi]
or eax, eax
je 0x42be17
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2d584]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x42bdc7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x42be11
mov qword [rbx], rax
add rbx, 8
jmp 0x42bde7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x42be51
cmp al, 0xef
ja 0x42be43
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x42be23
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x42be32
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x42bea5
sub rsp, 0xffffffffffffff80
jmp 0x414eb0

Function at 0x140001d9c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001de6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001de6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001de6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001de6
cmp dword [rcx + 0x84], 0xe
jbe 0x140001de6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001de8
xor al, al
add rsp, 0x28
ret
Function at 0x140004bf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140004c65
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140004c65
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140004c55
nop
cmp rbx, rcx
jae 0x140004c65
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140004c40
cmp rbx, rcx
jae 0x140004c65
cmp word [rbx], 0
je 0x140004c65
mov rax, rbx
jmp 0x140004c67
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140005720
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x48], rbx
cmp dword [0x14000ede4], ebx
jne 0x1400057db
mov eax, dword [0x14000ede0]
test eax, eax
jne 0x1400057db
mov edx, dword [0x14000edec]
test edx, edx
je 0x14000577b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14000ede0]
mov edx, dword [0x14000edec]
test eax, eax
jne 0x1400057db
test edx, edx
jne 0x14000578c
call fcn.140005850
test eax, eax
je 0x1400057a2
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14000e008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1400057db
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x1400057d1
cmp eax, 0x78
je 0x1400057d1
cmp eax, 1
je 0x1400057d1
cmp eax, 0x32
je 0x1400057d1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [0x14000ede0], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov qword [rsp + 0x20], rax
cmp dword [0x14000ede4], 0
je 0x1400057fe
cmp dword [0x14000ede0], 0
jne 0x14000582c
mov edi, ebx
test rsi, rsi
sete dil
test edi, edi
je 0x140005813
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14000582c
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000c43c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014c60], rbx
je 0x14000c4a3
cmp rax, rbx
jne 0x14000c496
mov ebx, 1
mov esi, ebx
jmp 0x14000c4a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c47b
mov ebx, 1
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c4c0
mov edi, 0x1f
mov ecx, edi
call fcn.140159000
jmp 0x14000c52c
mov eax, dword [0x140014c68]
test eax, eax
jne 0x14000c521
mov dword [0x140014c68], ebx
lea r15, [0x14000eba0]
lea rdi, [0x14000eb88]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c513
test eax, eax
jne 0x14000c517
cmp qword [rdi], r14
je 0x14000c508
mov rax, qword [rdi]
mov rcx, qword [0x14000eb40]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c4ea
test eax, eax
je 0x14000c527
mov eax, 0xff
jmp 0x14000c682
mov dword [0x1400143e4], ebx
mov edi, 0x1f
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c553
lea rdx, [0x14000eb80]
lea rcx, [0x14000eb48]
call sub.msvcrt.dll__initterm
mov dword [0x140014c68], 2
test esi, esi
jne 0x14000c561
mov rax, r14
xchg qword [0x140014c60], rax
cmp qword [0x140014c80], r14
je 0x14000c594
lea rcx, [0x140014c80]
call fcn.14000ca70
test eax, eax
je 0x14000c594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014c80]
mov r9, qword [0x14000eb40]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c5ad
mov eax, 0xff
jmp 0x14000c682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c633
test ax, ax
je 0x14000c5c8
test edx, edx
jne 0x14000c633
sub ax, bx
cmp ax, di
ja 0x14000c5de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c5c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001878
mov dword [0x1400143e0], eax
cmp dword [0x140014400], r14d
jne 0x14000c61c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400143e4], r14d
jne 0x14000c631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143e0]
jmp 0x14000c682
cmp ax, 0x22
jne 0x14000c647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c5b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000caf0
add rsp, 0x28
jmp 0x14000c43c
Function at 0x180002f5c
Capabilities:
Resume thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rsp + 0x68]
mov rax, r8
mov r8, qword [rsp + 0x60]
mov rsi, rdx
mov rbp, rcx
xor ebx, ebx
mov qword [r11 - 0x10], rbx
mov edx, 0x100000
mov rcx, rax
mov dword [rsp + 0x20], 4
call fcn.18000836c
mov rdi, rax
test rax, rax
jne 0x180002fb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180003001
test rbp, rbp
je 0x180002fe2
test rsi, rsi
je 0x180002fe2
xor r8d, r8d
mov edx, 0x20196
mov rcx, rsi
call fcn.18000440c
mov r8, rsi
mov rdx, rbp
xor ecx, ecx
call fcn.180004a6c
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x180002ff8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1800052a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov edx, 0x5c
mov rbx, rcx
call fcn.180014b0c
test rax, rax
je 0x1800052c3
lea rbx, [rax + 1]
xor ecx, ecx
mov edx, 0x1a0
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x180030ac8], rax
test rax, rax
je 0x180005374
mov rcx, rax
call fcn.1800056e4
mov rcx, qword [0x180030ac8]
mov r9d, 0xff
lea edx, [r9 + 1]
mov r8, rbx
call fcn.180014a50
mov rcx, qword [0x180030ac8]
call fcn.180013ee0
mov rcx, qword [0x180030ac8]
inc eax
mov dword [rcx + 0x100], eax
mov rax, qword [0x180030ac8]
mov qword [rax + 0x108], rdi
mov rcx, qword [0x180030ac8]
call fcn.180005a68
mov rcx, qword [0x180030ac8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [0x180030ac8]
mov rbx, rax
call fcn.18000592c
mov rcx, qword [0x180030ac8]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18000561c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x60
mov rbx, r8
lea rax, [r11 + 0x18]
mov rsi, r9
mov rdi, rdx
mov r8, rdx
mov r9d, 5
or rcx, 0xffffffffffffffff
mov rdx, rbx
mov qword [r11 - 0x48], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, edi
lea rdx, [rsp + 0x30]
sub eax, ebx
mov r8d, gethostbyname
mov rcx, rdi
sub eax, 5
mov byte [rbx + 5], 0xe9
mov dword [rbx + 6], eax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x54]
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
sub esi, edi
lea r9, [rsp + 0x78]
sub esi, 5
mov byte [rdi], 0xe9
mov dword [rdi + 1], esi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800056e4
Capabilities:
Link many functions at runtime

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, 0x20
mov r13, rcx
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x180005860
lea rdx, str.NtMapViewOfSection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtQueryAttributesFile
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtOpenFile
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtCreateSection
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtOpenSection
mov rcx, rbx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtClose
mov rcx, rbx
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rbx, [r13 + 0x144]
lea r9, [0x1800055bc]
mov rdx, rdi
mov rcx, r13
mov r8, rbx
mov r12, rax
call fcn.18000561c
mov qword [r13 + 0x190], rbx
lea rbx, [r13 + 0x126]
lea r9, [0x180005480]
mov r8, rbx
mov rdx, rsi
mov rcx, r13
call fcn.18000561c
mov qword [r13 + 0x178], rbx
lea rbx, [r13 + 0x130]
lea r9, [0x180005500]
mov r8, rbx
mov rdx, rbp
mov rcx, r13
call fcn.18000561c
mov qword [r13 + 0x180], rbx
lea rbx, [r13 + 0x13a]
lea r9, [0x18000558c]
mov r8, rbx
mov rdx, r14
mov rcx, r13
call fcn.18000561c
mov qword [r13 + 0x188], rbx
lea rbx, [r13 + 0x11c]
lea r9, [0x180005414]
mov r8, rbx
mov rdx, r15
mov rcx, r13
call fcn.18000561c
mov qword [r13 + 0x170], rbx
lea rbx, [r13 + 0x14e]
lea r9, [0x1800055fc]
mov r8, rbx
mov rdx, r12
mov rcx, r13
call fcn.18000561c
mov qword [r13 + 0x198], rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180005884
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rdi, rdx
mov rbx, r8
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov r8d, gethostbyname
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x5c]
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rbx
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
mov r9d, 5
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, dword [rsp + 0x5c]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x18000592c
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x20
mov r13, rcx
lea rcx, [0x1800236bc]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r15, rax
test rax, rax
je 0x180005a43
lea rdx, str.NtMapViewOfSection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtQueryAttributesFile
mov rcx, r15
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtOpenFile
mov rcx, r15
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtCreateSection
mov rcx, r15
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtOpenSection
mov rcx, r15
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtClose
mov rcx, r15
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [r13 + 0x144]
mov rdx, rbx
mov rcx, r13
mov r15, rax
call fcn.180005884
lea r8, [r13 + 0x126]
mov rdx, rdi
mov rcx, r13
call fcn.180005884
lea r8, [r13 + 0x130]
mov rdx, rsi
mov rcx, r13
call fcn.180005884
lea r8, [r13 + 0x13a]
mov rdx, rbp
mov rcx, r13
call fcn.180005884
lea r8, [r13 + 0x11c]
mov rdx, r14
mov rcx, r13
call fcn.180005884
lea r8, [r13 + 0x14e]
mov rdx, r15
mov rcx, r13
call fcn.180005884
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
Function at 0x180005a68
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx + 0x108]
mov rdi, rcx
mov esi, 0x40
movsxd rbx, dword [rax + 0x3c]
mov ebp, 0x3000
mov r9d, esi
add rbx, rax
mov r8d, ebp
mov edx, dword [rbx + 0x50]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor r14d, r14d
mov qword [rdi + 0x110], rax
test rax, rax
jne 0x180005acd
mov edx, dword [rbx + 0x50]
mov r9d, esi
mov r8d, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rdi + 0x110], rax
mov eax, dword [rbx + 0x50]
lea rcx, [0x1800236bc]
mov dword [rdi + 0x118], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtLockVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
or r15, 0xffffffffffffffff
test rax, rax
je 0x180005b22
mov rcx, qword [rdi + 0x110]
lea r9d, [r15 + 2]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x68], rcx
mov ecx, dword [rbx + 0x50]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x60], ecx
mov rcx, r15
call rax
mov r9d, dword [rbx + 0x54]
mov r8, qword [rdi + 0x108]
mov rdx, qword [rdi + 0x110]
mov rcx, r15
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rbx + 0x14]
mov ebp, r14d
cmp r14w, word [rbx + 6]
jae 0x180005b8b
lea rsi, [rbx + 0x2c]
add rsi, rax
mov r8d, dword [rsi]
mov edx, dword [rsi - 8]
mov r9d, dword [rsi - 4]
add r8, qword [rdi + 0x108]
add rdx, qword [rdi + 0x110]
mov rcx, r15
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rbx + 6]
inc ebp
lea rsi, [rsi + 0x28]
cmp ebp, eax
jl 0x180005b57
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret