joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400334b0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov qword [rcx], 0
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jae 0x1400334de
cmp qword [rsi], rbx
jne 0x1400334e8
jmp 0x14003350a
call fcn.140075ef0
cmp qword [rsi], rbx
je 0x14003350a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140033517
cmp r14, 2
jae 0x140033531
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140075ef0
mov rcx, qword [rsi]
call fcn.140053e50
mov qword [rsi], 0
cmp r14, 2
jb 0x140033502
mov qword [rsi], rbx
call fcn.140075ef0
jmp 0x140033502

Function at 0x140033550
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jae 0x140033577
cmp qword [rsi], rbx
jne 0x140033581
jmp 0x1400335a3
call fcn.140075ef0
cmp qword [rsi], rbx
je 0x1400335a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400335b0
cmp r14, 2
jae 0x1400335ca
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140075ef0
mov rcx, qword [rsi]
call fcn.140053e50
mov qword [rsi], 0
cmp r14, 2
jb 0x14003359b
mov qword [rsi], rbx
call fcn.140075ef0
jmp 0x14003359b

Function at 0x140036028
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
lea rax, vtable.std::__Cr::ios_base.0
mov qword [rcx], rax
mov rdi, qword [rcx + 0x48]
test rdi, rdi
je 0x140036074
mov rax, qword [rsi + 0x38]
mov rcx, qword [rsi + 0x40]
mov rax, qword [rax + rdi*8 - 8]
mov r8d, dword [rcx + rdi*4 - 4]
xor ecx, ecx
mov rdx, rsi
call qword [0x1401b8a48]
dec rdi
jne 0x140036052
mov rcx, qword [rsi + 0x30]
lea rax, [0x1401d7088]
cmp rcx, rax
je 0x14003609f
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x14003609f
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1401b8a48]
mov rdx, qword [rsi + 0x38]
lea rdi, fcn.1400b5400
mov rcx, rdi
xor r8d, r8d
call fcn.1400b8f60
mov rdx, qword [rsi + 0x40]
mov rcx, rdi
xor r8d, r8d
call fcn.1400b8f60
mov rdx, qword [rsi + 0x58]
mov rcx, rdi
xor r8d, r8d
call fcn.1400b8f60
mov rdx, qword [rsi + 0x70]
mov rcx, rdi
xor r8d, r8d
add rsp, 0x30
pop rdi
pop rsi
pop rbp
jmp fcn.1400b8f60

Function at 0x140037d40
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x140037d77
movabs rcx, 0xf000000000000000
shl rax, 4
movsx r9, byte [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
inc rdx
cmp rdx, r8
jne 0x140037d51
ret
Function at 0x140044b7d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov r14, rcx
call fcn.14004fcbe
mov ebp, eax
test rdi, rdi
je 0x140044bb2
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x140044bc7
movzx eax, word [rax]
jmp 0x140044bd7
xor r15d, r15d
mov eax, 6
test bpl, bpl
jne 0x140044c61
xor edi, edi
jmp 0x140044bef
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1401b8a48]
xor r15d, r15d
cmp ax, 0xffff
sete cl
cmove rdi, r15
mov eax, 6
cmp bpl, cl
je 0x140044c61
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x140044c01
movzx ebp, word [rax]
jmp 0x140044c10
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1401b8a48]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov dx, 4
mov r8d, ebp
call qword [0x1401b8a48]
test al, al
je 0x140044c59
mov rax, qword [rbx]
mov rax, qword [rax + 0x68]
mov rcx, rbx
mov edx, ebp
xor r8d, r8d
call qword [0x1401b8a48]
mov ebp, eax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x140044c75
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x140044c82
xor r15d, r15d
mov eax, 4
or dword [rsi], eax
mov eax, r15d
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1401b8a48]
mov r12d, dword [rsp + 0x80]
movsx r15d, bpl
mov rcx, r14
call fcn.14004fcbe
mov ebp, eax
test rdi, rdi
je 0x140044cac
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x140044cb0
movzx eax, word [rax]
jmp 0x140044cc0
mov al, 1
jmp 0x140044cc9
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1401b8a48]
cmp ax, 0xffff
sete al
jne 0x140044ccb
xor edi, edi
add r15d, 0xffffffd0
cmp bpl, al
je 0x140044d71
cmp r12d, 2
jl 0x140044d71
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x140044cf4
movzx ebp, word [rax]
jmp 0x140044d03
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1401b8a48]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov dx, 4
mov r8d, ebp
call qword [0x1401b8a48]
test al, al
je 0x140044c63
mov rax, qword [rbx]
mov rax, qword [rax + 0x68]
mov rcx, rbx
mov edx, ebp
xor r8d, r8d
call qword [0x1401b8a48]
mov ebp, eax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x140044d50
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x140044d5d
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1401b8a48]
lea eax, [r15 + r15*4]
movsx ecx, bpl
lea r15d, [rcx + rax*2]
dec r12d
jmp 0x140044c8e
mov rcx, r14
call fcn.14004fcbe
mov ebx, eax
test rdi, rdi
je 0x140044d8f
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x140044da1
movzx eax, word [rax]
jmp 0x140044db1
mov eax, 2
test bl, bl
jne 0x140044c61
jmp 0x140044c63
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1401b8a48]
cmp ax, 0xffff
sete al
xor bl, al
mov eax, 2
je 0x140044c61
jmp 0x140044c63
Function at 0x1400bd928
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rcx + 8]
mov ebx, 8
inc rax
cmp rax, 1
ja 0x1400bda9e
mov rdi, rcx
cmp qword [rcx + 0x18], 0
jne 0x1400bda9e
lea rbx, [rdi + 8]
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rcx, rbx
mov rdx, rax
call fcn.140028a00
mov r15, qword [rbx]
mov ebx, 0x3b
lea rax, [r15 + 1]
cmp rax, 2
jb 0x1400bda9e
movabs r12, 0xfffffffc00000000
mov ecx, 0x20
call fcn.140150d68
mov rbx, rax
mov qword [rax], rax
mov qword [rax + 8], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov ecx, 0x18
call fcn.140150d68
mov r14, rax
mov rax, qword [rsi]
mov qword [rsi], 0
mov qword [r14], r15
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rbx
mov qword [rsp + 0x38], r14
mov rcx, qword [rdi + 0x18]
mov rax, rcx
and rax, r12
cmp rax, qword [0x1401c8588]
jne 0x1400bda09
call fcn.1400845e0
mov rax, rbx
and rax, r12
cmp rax, qword [0x1401c8588]
jne 0x1400bda20
mov rcx, rbx
call fcn.1400844a0
mov qword [rdi + 0x18], rbx
lea r15, [rdi + 0x10]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400bdae0]
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov r9, r14
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, r15
mov rdx, rax
call fcn.140028a00
mov rax, qword [rdi + 0x10]
inc rax
cmp rax, 1
ja 0x1400bda8b
mov rcx, qword [rdi + 0x18]
and r12, rcx
cmp r12, qword [0x1401c8588]
jne 0x1400bda7c
call fcn.1400845e0
mov qword [rdi + 0x18], 0
mov ebx, 0x3b
jmp 0x1400bda94
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.1400be08a
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400bdabf
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1401b8a48]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140152280
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14010a8c0
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov byte [rcx], 0
mov eax, dword [0x1401d52c8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x228]
mov qword [rsi + 8], rcx
mov rcx, qword [rax + 0x228]
mov qword [rax + 0x228], rsi
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x38], 0
mov dword [rsi + 0x40], 0
mov byte [rsi + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x58], r8
mov qword [rsi + 0x60], r9
movzx eax, byte [0x1401d7e2f]
test al, al
setne byte [rsi + 0x30]
je 0x14010a95e
lea rdi, [rsi + 0x20]
mov rax, qword [0x1401c8548]
lea rcx, [rsp + 0x28]
call qword [0x1401b8a48]
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140152280
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14010c6b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, dword [0x1401de2a0]
mov ecx, dword [0x1401d52c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010c7da
mov ecx, dword [0x1401d466c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010c70f
mov rcx, qword [0x1401de290]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1401de298]
jne 0x14010c70f
cmp qword [rax + rcx], 0
jne 0x14010c796
mov ecx, 4
call fcn.140150d68
mov rsi, rax
mov dword [rax], 0
mov ecx, dword [0x1401d466c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010c751
mov rcx, qword [0x1401de290]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1401de298]
jne 0x14010c751
mov rdi, qword [rax + rcx]
jmp 0x14010c753
xor edi, edi
mov ecx, dword [0x1401d466c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010c7ce
mov rcx, qword [0x1401de290]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x1401de298]
mov rdx, qword [0x1401de290]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
test rdi, rdi
je 0x14010c796
mov rcx, rdi
call fcn.140150da4
mov ecx, dword [0x1401d466c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010c7c5
mov rcx, qword [0x1401de290]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1401de298]
jne 0x14010c7c5
mov rax, qword [rax + rcx]
jmp 0x14010c7c7
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
test rsi, rsi
je 0x14010c789
call fcn.1400c81d0
jmp 0x14010c765
lea rcx, [0x1401de2a0]
call fcn.140150ec0
cmp dword [0x1401de2a0], 0xffffffff
jne 0x14010c6db
mov qword [0x1401de298], 0
lea rcx, [0x1401de290]
mov qword [0x1401de290], 0xffffffffffffffff
lea rdx, [0x140063770]
call fcn.1400c8040
lea rcx, [0x1401de2a0]
call fcn.140150f58
jmp 0x14010c6db
Function at 0x140001ca0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0xa0
mov qword [rax + 8], rbx
mov edx, 2
xor ecx, ecx
mov qword [rax + 0x18], rsi
mov edi, 0xc0000022
mov qword [rax + 0x10], 0
call qword [sym.imp.ole32.dll_CoInitializeEx]
movups xmm0, xmmword [0x140003330]
xor ecx, ecx
cmp dword [0x140005058], 2
mov esi, eax
movups xmm1, xmmword [0x140003340]
mov eax, dword [0x140003378]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x140003350]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140003370]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x140003360]
mov dword [rsp + 0x78], eax
movzx eax, word [0x14000337c]
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x7c], ax
jl 0x140001e74
movdqa xmm5, xmmword [0x140003440]
lea rdx, [rsp + 0x30]
movdqa xmm4, xmmword [0x140003490]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [str.8888]
movaps xmmword [rsp + 0x80], xmm7
movdqa xmm7, xmmword [0x140003470]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x20
jl 0x140001d70
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x27
jge 0x140001eb3
movsxd rax, ecx
lea r8, [rsp + 0x30]
lea r8, [r8 + rax*2]
mov eax, 0x92492493
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x38
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x32
xor word [r8 - 2], ax
cmp ecx, 0x27
jl 0x140001e80
lea r9, [rsp + 0xb8]
lea rcx, [rsp + 0x30]
call section..text
mov rbx, qword [rsp + 0xb8]
test eax, eax
jne 0x140001f01
test rbx, rbx
je 0x140001f0f
mov rax, qword [rbx]
lea rdx, str.c:windows_system32cmd.exe
mov dword [rsp + 0x28], 5
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov rcx, rbx
call qword [rax + 0x48]
sar eax, 0x1f
and edi, eax
test rbx, rbx
je 0x140001f0f
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
mov rbx, qword [rsp + 0xb0]
test esi, esi
mov rsi, qword [rsp + 0xc0]
jne 0x140001f29
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
add rsp, 0xa0
pop rdi
ret
Function at 0x140002838
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x14000a82d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000a83d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14000a825
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14000a855
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14000a842
sub eax, 3
jb 0x14000a86f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14000a8a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14000a896
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14000a894
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14000a883
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14000a7e2
jmp 0x14000a82d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1600
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14000a8f2
cmp rsi, rcx
jae 0x14000a8fa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14000a8d9
cmp al, 0x8f
ja 0x14000a8d9
cmp byte [rsi - 2], 0xf
je 0x14000a8df
sub al, 0xe8
cmp al, 1
ja 0x14000a8c3
cmp rsi, rcx
jae 0x14000a8fa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14000a8c9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14000a8fa
lodsb al, byte [rsi]
jmp 0x14000a8d9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x8000]
mov eax, dword [rdi]
or eax, eax
je 0x14000a957
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xa1dc]
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 0x14000a907
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 0x14000a951
mov qword [rbx], rax
add rbx, 8
jmp 0x14000a927
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 0x14000a991
cmp al, 0xef
ja 0x14000a983
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14000a963
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14000a972
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 + 0x227]
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 0x14000a9e5
sub rsp, 0xffffffffffffff80
jmp 0x1400016a8
Function at 0x14002b230
Capabilities:
Write file on windows

Disassembly:
jmp 0x14004f550
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400a5126]
call fcn.14002c4eb
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14004f5a8
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14004f6ba
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14004f653
cmp qword [rbp + 0x28], 0
jle 0x14004f653
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14004f5f1
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14002c388
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x14004f6a9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14004f6a9
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14002bbae
Capabilities:
Terminate process

Disassembly:
jmp 0x14007fd40
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]
nop
add rsp, 0x28
ret
Function at 0x14002bd7a
Capabilities:
Get geographical location

Disassembly:
jmp 0x140079970
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400799ad
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14002c4c8
add rsp, 0x58
ret

Function at 0x14002be56
Capabilities:
Parse pe header

Disassembly:
jmp 0x140080870
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140080890
xor al, al
jmp 0x140080911
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400808a3
xor al, al
jmp 0x140080911
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 0x1400808cd
xor al, al
jmp 0x140080911
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400808e1
xor al, al
jmp 0x140080911
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400808f3
xor al, al
jmp 0x140080911
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14008090f
xor al, al
jmp 0x140080911
mov al, 1
add rsp, 0x38
ret
Function at 0x14002c068
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14004ac20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x458
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x478]
mov rax, qword [0x140098040]
xor rax, rbp
mov qword [rbp + 0x420], rax
lea rcx, [0x1400a513b]
call fcn.14002c4eb
nop
mov qword [rbp + 8], 0
mov dword [rbp + 0x30], 0x238
xor edx, edx
mov ecx, 2
call fcn.14002b9c4
mov qword [rbp + 0x288], rax
cmp qword [rbp + 0x288], 0xffffffffffffffff
jne 0x14004acc9
lea rdx, str.CreateToolhelp32Snapshot_failed.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14002b271
mov qword [rbp + 0x418], rax
lea rdx, [0x14002b0d2]
mov rcx, qword [rbp + 0x418]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
xor eax, eax
jmp 0x14004ad31
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x288]
call fcn.14002bca3
test eax, eax
je 0x14004ad1f
lea rdx, [rbp + 0x5c]
mov rcx, qword [rbp + 0x450]
call fcn.14002b703
movzx eax, al
test eax, eax
je 0x14004ad0b
mov r8d, dword [rbp + 0x38]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
jmp 0x14004ad1f
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x288]
call fcn.14002c1fd
test eax, eax
jne 0x14004acdd
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14008ae00]
call fcn.14002c13f
mov rax, rdi
mov rcx, qword [rbp + 0x420]
xor rcx, rbp
call fcn.14002ba00
lea rsp, [rbp + 0x438]
pop rdi
pop rbp
ret