joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c8f60
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4c91f9
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
nop
lea rax, [0x004e9360]
call fcn.0040c880
mov qword [rsp + 0x70], rax
mov qword [rax + 8], 9
lea rcx, [0x004f6a3d]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004e9360]
call fcn.0040c880
mov qword [rsp + 0x68], rax
mov qword [rax + 8], 8
lea rcx, [0x004f67bd]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004e92a0]
call fcn.0040c880
cmp dword [0x0061d530], 0
jne 0x4c8ff7
mov rcx, qword [rsp + 0x70]
jmp 0x4c9004
call fcn.00461540
mov rcx, qword [rsp + 0x70]
mov qword [r11], rcx
mov qword [rsp + 0x60], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xd
lea rcx, [0x004f7892]
mov qword [rax], rcx
nop
lea rax, [0x004e92a0]
call fcn.0040c880
cmp dword [0x0061d530], 0
jne 0x4c9040
mov rcx, qword [rsp + 0x68]
jmp 0x4c904d
call fcn.00461540
mov rcx, qword [rsp + 0x68]
mov qword [r11], rcx
mov qword [rsp + 0x58], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xc
lea rcx, [0x004f73fa]
mov qword [rax], rcx
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x48], rcx
lea rax, [0x004d68c0]
call fcn.0040c880
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0x3000
mov qword [rax + 0x18], 0x40
mov rbx, rax
mov edi, 4
mov rax, qword [rsp + 0x58]
mov rcx, rdi
call fcn.004c2280
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jbe 0x4c91ee
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rcx
lea rax, [0x004d6860]
call fcn.0040c880
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rbx, rax
mov ecx, 3
mov rdi, rcx
mov rax, qword [rsp + 0x60]
nop dword [rax]
call fcn.004c2280
movzx ecx, word [0x0061d284]
mov word [rsp + 0x3e], cx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x78], rdx
lea rax, [0x004d6920]
nop dword [rax]
call fcn.0040c880
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x20
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
movzx ecx, word [rsp + 0x3e]
mov word [rsp], cx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 5
mov qword [rsp + 0x18], 5
call fcn.004bcc20
xorps xmm15, xmm15
mov r14, qword [0x0061d4b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
xor ebx, ebx
mov rcx, rbx
mov rdi, rcx
mov rsi, rcx
nop dword [rax]
call fcn.0045df80
add rsp, 0x98
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.004618c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045f640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.004c8f60
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x18d09c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x18d09cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x18d09dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x18d09c5
lea eax, [rcx + 1]
jmp 0x18d09eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x18d09fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x18d09e4
sub eax, 3
jb 0x18d0a1e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x18d0a6d
sar eax, 1
movsxd rbp, eax
jb 0x18d0a54
jmp 0x18d0a2c
add ebx, ebx
jne 0x18d0a2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x18d0a54
inc ecx
add ebx, ebx
jne 0x18d0a3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x18d0a54
call r11
adc ecx, ecx
add ebx, ebx
jne 0x18d0a4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x18d0a3c
add ecx, 2
jmp 0x18d0a59
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.018d0982
jmp 0x18d09cd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x14ce000]
mov eax, dword [rdi]
or eax, eax
je 0x18d0ac9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x14d0000]
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 0x18d0a79
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 0x18d0ac3
mov qword [rbx], rax
add rbx, 8
jmp 0x18d0a99
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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 + 0x1af]
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
mov byte [fcn.018d0b4c], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.018d0b4c
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x18d0b3c
sub rsp, 0xffffffffffffff80
jmp 0x4014e0
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004044f0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x00404500]
mov dword [rax], 1
mov rax, qword [0x00404510]
mov dword [rax], 1
mov rax, qword [0x004044e0]
mov dword [rax], 1
mov rax, qword [0x004043b0]
cmp word [rax], 0x5a4d
jne 0x401067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010d0
mov rax, qword [0x004044d0]
mov dword [0x00407020], ecx
mov eax, dword [rax]
test eax, eax
je 0x4010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x00404490]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x00404470]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00404340]
cmp dword [rax], 1
je 0x401108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401120
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 0x4018f0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x401960
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x004070d4]
mov r12, rcx
test ebx, ebx
jle 0x401a90
mov rax, qword [0x004070d8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x4019ac
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401a33
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x401990
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x401ab2
mov rax, qword [0x004070d8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x004070d8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401a97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401a2c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x401a40
add dword [0x004070d4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x004070d8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401a2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x4019b7
mov rax, qword [0x004070d8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x401f80
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00407140]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00407120]
test rbx, rbx
je 0x401fd4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x401fcb
test r12, r12
je 0x401fcb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x401fb0
lea rcx, [0x00407140]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x4021f0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x402208
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x402210
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x402220
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x40226c
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x402263
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x40226e
add rax, 0x28
cmp rax, r9
jne 0x402250
xor eax, eax
ret

Function at 0x402270
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x402300
mov rdx, qword [0x004043b0]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x4022ee
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x4022ee
cmp word [rax + 0x18], 0x20b
jne 0x4022ee
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402300
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x4022d9
add r12, 0x28
cmp r12, rsi
je 0x402300
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x4022d0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

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

Disassembly:
mov rdx, qword [0x004043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x402330
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x402338
ret
cmp word [r8 + 0x18], 0x20b
jne 0x402330
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x402385
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x40237c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402330
add rax, 0x28
cmp rax, r9
jne 0x402368
xor eax, eax
ret

Function at 0x402390
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x004043b0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x4023b0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4023b8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x4023b0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x4023d0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x004043b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x4023f0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x4023f8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x4023f0
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x402438
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x40242f
test rcx, rcx
je 0x4023f0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x402420
xor eax, eax
ret

Function at 0x402440
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x004043b0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x402460
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x402468
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x402480
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x004043b0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x4024a0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x4024a8
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x4024a0
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x4024a0
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x4024e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4024f8
add rax, 0x28
cmp r9, rax
jne 0x4024d0
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

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

Disassembly:
mov r11, qword [0x004043b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x402532
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x402540
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x402532
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x402532
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x402532
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x40258d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x4025a0
add rdx, 0x28
cmp r10, rdx
jne 0x402578
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x4025af
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x4025bf
mov edx, dword [rax + 0xc]
test edx, edx
je 0x402596
test ecx, ecx
jg 0x4025a8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140003008]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov dword [rsp + 0x30], 0
mov edx, 0x114
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x140001105
mov r8, rax
lea rcx, [0x140003040]
mov r9d, 2
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [r8 - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [r8 - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [r8 - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [r8 - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [r8 - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [r8 - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [r8 - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [r8 - 0x10], xmm1
sub r9, 1
jne 0x140001050
movups xmm0, xmmword [rcx]
lea r9, [rsp + 0x30]
mov edx, 0x114
movups xmmword [r8], xmm0
mov eax, dword [rcx + 0x10]
mov rcx, rbx
mov dword [r8 + 0x10], eax
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140001105
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov r8, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001130
add rsp, 0x40
pop rbx
ret

Function at 0x140001a0c
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x140084b90
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140084b9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140084bad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140084b95
lea eax, [rcx + 1]
jmp 0x140084bbb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140084bce
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140084bb4
sub eax, 3
jb 0x140084bee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140084c3d
sar eax, 1
movsxd rbp, eax
jb 0x140084c24
jmp 0x140084bfc
add ebx, ebx
jne 0x140084bfa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140084c24
inc ecx
add ebx, ebx
jne 0x140084c0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140084c24
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140084c1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140084c0c
add ecx, 2
jmp 0x140084c29
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140084b52
jmp 0x140084b9d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1de00
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140084c89
cmp rsi, rcx
jae 0x140084c91
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140084c70
cmp al, 0x8f
ja 0x140084c70
cmp byte [rsi - 2], 0xf
je 0x140084c76
sub al, 0xe8
cmp al, 1
ja 0x140084c5a
cmp rsi, rcx
jae 0x140084c91
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140084c60
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140084c91
lodsb al, byte [rsi]
jmp 0x140084c70
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x82000]
mov eax, dword [rdi]
or eax, eax
je 0x140084cfa
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x84000]
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 0x140084c9e
jns 0x140084cd3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140084cdd
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 0x140084cf4
mov qword [rbx], rax
add rbx, 8
jmp 0x140084cbe
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 0x140084d34
cmp al, 0xef
ja 0x140084d26
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140084d06
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140084d15
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 0x140084d88
sub rsp, 0xffffffffffffff80
jmp 0x140004f10
Function at 0x180004380
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x1800043a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x180004390
mov byte [rcx + 0x47], 0
mov rax, rcx
ret

Function at 0x1800043b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x1800043e4
mov ecx, esi
lea eax, [rcx - 9]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x1800043d0
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x180004419
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.180008820
nop
cmp byte [rbx + 0xa], 0
je 0x180004443
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 9]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x180004430
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x180004478
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180008820
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.18000a710
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800044d1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800044cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800044cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bee68
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180004511
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000450c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000450c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bee68
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret