joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005f0f0
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 [fcn.14006a398]
mov rdi, rax
test rax, rax
jne 0x14005f132
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 0x14005f179
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 rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14005f1d2
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 0x14005f190
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14005f213
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14009ec9a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14009ec9b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14005f1e0
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 0x140065334
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140065193
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140065193
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140065193
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140065193
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140065193
cmp dword [rcx + 0x84], 0xe
jbe 0x140065193
cmp dword [rcx + 0xf8], 0
je 0x140065193
mov ecx, ebx
call fcn.140065250
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140065020
nop
cmp dword [rbp + 0x20], 0
je 0x1400651e1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400651ec
int3
xor r8d, r8d
xor edx, edx
jmp 0x140065124
Function at 0x140069a38
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x1400fbb78]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x14009ff08]
mov rbp, rcx
call fcn.14007f804
xor edi, edi
test rax, rax
je 0x140069b1e
mov ebx, edi
call fcn.14006b4ec
mov r14d, dword [rax]
call fcn.14006b4ec
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.14007f750
mov rsi, rax
test rax, rax
je 0x140069aaf
call fcn.14006b4ec
mov dword [rax], r14d
jmp 0x140069ad9
call fcn.14006b4ec
cmp dword [rax], 0x22
jne 0x140069b16
call fcn.14006b4ec
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.14007f750
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140069b16
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140069add
cmp rax, 3
je 0x140069af8
mov rcx, rsi
call fcn.140069994
test al, al
je 0x140069b09
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140069b09
mov dil, 1
mov rcx, rbx
call fcn.14006500c
mov al, dil
jmp 0x140069b20
mov rcx, rbx
call fcn.14006500c
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140012950
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140078188
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140013160
sub rsp, rax
mov rax, qword [0x1400fbb78]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14007beb4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400781d7
mov rax, rbp
jmp 0x1400782df
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, sym.MZ___YjdSeglhx6:0i_v0RO5s_:JVmoFJfFX1wh05W_s
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xfea70]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140079514
mov r13, rax
lea rax, sym.MZ___YjdSeglhx6:0i_v0RO5s_:JVmoFJfFX1wh05W_s
mov rcx, qword [rax + rbx*8 + 0xfea70]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400782db
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400782db
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140079514
test rax, rax
js 0x1400782db
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400782db
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400782cd
lea r8, sym.MZ___YjdSeglhx6:0i_v0RO5s_:JVmoFJfFX1wh05W_s
cmp rcx, rdx
jae 0x1400782cd
cmp byte [rcx], 0xd
jne 0x1400782b3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400782c2
cmp byte [rcx + 1], 0xa
jne 0x1400782c2
inc rcx
jmp 0x1400782c2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xfc060]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140078295
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400782df
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140012950
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007d184
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14007d1b6
call fcn.14006b4ec
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call fcn.140064f74
jmp 0x14007d2d5
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14007d2d5
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14007d2d5
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14007d1e5
lock or dword [rcx + 0x14], 0x10
jmp 0x14007d2d5
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14007d1f9
call fcn.14007e088
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14007beb4
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14007d9d4
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14007d2c3
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14007d28e
mov rcx, rsi
call fcn.14007beb4
cmp eax, edi
je 0x14007d279
mov rcx, rsi
call fcn.14007beb4
cmp eax, 0xfffffffe
je 0x14007d279
mov rcx, rsi
call fcn.14007beb4
movsxd rbx, eax
lea r14, [0x1400fea70]
mov rcx, rsi
sar rbx, 6
call fcn.14007beb4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14007d280
lea rdx, [0x1400fc010]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14007d28e
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14007d2b2
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14007d2b2
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14007d2b2
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14007d2d8
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x14007d528
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400fea70]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14007d586
cmp word [rdx], r12w
jne 0x14007d586
or byte [rax + r8*8 + 0x38], cl
jmp 0x14007d58c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14007d6e7
mov r9d, reloc.WLDAP32.dll_Ordinal_26
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14007d6c2
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14007d5c5
mov rcx, r9
jmp 0x14007d5e8
cmp r9, rdx
jae 0x14007d5ff
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, reloc.WLDAP32.dll_Ordinal_26
add rbx, 2
cmp rcx, rdx
jb 0x14007d5a9
jmp 0x14007d6e7
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007d6bc
cmp dword [rsp + 0x80], edi
je 0x14007d6bc
mov rdx, r14
lea r11, [0x1400fea70]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14007d695
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14007d668
mov word [rbx], r12w
jmp 0x14007d6e3
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14007d671
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14007d6e3
cmp word [rsp + 0x70], r12w
jne 0x14007d6a2
cmp rbx, rsi
je 0x14007d662
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14007951c
cmp word [rsp + 0x70], r12w
je 0x14007d6e7
mov word [rbx], r13w
jmp 0x14007d6e3
lea r11, [0x1400fea70]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14007d6df
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14007d6e7
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140084620
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140084650
xor eax, eax
jmp 0x140084713
mov rbp, rbx
cmp word [rax], si
je 0x140084675
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14008465c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140084658
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400822f0
movsxd r14, eax
test eax, eax
jne 0x1400846b3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140084649
mov rcx, r14
call fcn.14007e0f4
mov rdi, rax
test rax, rax
jne 0x1400846cc
xor ecx, ecx
call fcn.14007a280
jmp 0x1400846a8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400822f0
test eax, eax
jne 0x1400846fd
mov rcx, rdi
call fcn.14007a280
jmp 0x140084707
xor ecx, ecx
call fcn.14007a280
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140084730
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400847b7
mov rsi, rbx
cmp word [rax], bp
je 0x140084776
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140084760
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14008475c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14007e0f4
mov rdi, rax
test rax, rax
je 0x1400847a4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14005f3c0
mov rbp, rdi
xor ecx, ecx
call fcn.14007a280
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14008bba0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140069758
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14008bc2a
cmp byte [rbp - 0x21], r15b
je 0x14008bc25
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14008bc60
call fcn.14007b33c
test eax, eax
jne 0x14008bc4c
cmp byte [rbp - 0x21], r15b
je 0x14008bc44
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14008bc60
cmp byte [rbp - 0x21], r15b
je 0x14008bc5d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140068ef4
test eax, eax
jne 0x14008bd00
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140069758
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14008bc9f
cmp byte [rbp - 0x21], r15b
je 0x14008bcd4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14008bcd4
call fcn.14007b33c
test eax, eax
jne 0x14008bcc0
cmp byte [rbp - 0x21], r15b
je 0x14008bcb9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14008bcd4
cmp byte [rbp - 0x21], r15b
je 0x14008bcd1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140068ef4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14008bd00
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14008bd03
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14008bd11
mov rcx, rdi
call fcn.14007a280
cmp byte [rbp + 0x3f], r15b
je 0x14008bd20
mov rcx, qword [rbp + 0x27]
call fcn.14007a280
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14008d05c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14007951c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14007951c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14008d1ac
cmp rax, 0xffffffffffffffff
je 0x14008d1ac
xor edi, edi
test rbp, rbp
jle 0x14008d157
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14007afa4
mov rbx, rax
test rax, rax
jne 0x14008d0e4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14008d14d
mov edx, 0x8000
mov ecx, r14d
call fcn.14007255c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14007ce74
cmp eax, 0xffffffff
je 0x14008d12d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14008d0f4
mov edx, r15d
mov ecx, r14d
call fcn.14007255c
jmp 0x14008d14d
cmp byte [rsi + 0x38], dil
je 0x14008d144
cmp dword [rsi + 0x34], 5
jne 0x14008d144
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x14008d14d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14007a280
jmp 0x14008d1c0
jns 0x14008d1c0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14007951c
cmp rax, 0xffffffffffffffff
jne 0x14008d178
cmp byte [rsi + 0x30], dil
je 0x14008d1c0
mov edi, dword [rsi + 0x2c]
jmp 0x14008d1c0
mov ecx, r14d
call fcn.14007fef0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14008d1c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x14008d1c0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14008d1b9
mov eax, dword [rsi + 0x2c]
jmp 0x14008d1be
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14007951c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140109376
Capabilities:
Encode data using xor

Disassembly:
add bpl, 0xbe
push r15
and ebp, ebp
mov r15, rbp
xor ebp, 0x3ae36c33
mov r15, qword [rsp]
je 0x14010937e
js fcn.1401b050b
call fcn.1401b050b

Function at 0x14010b174
Capabilities:
Terminate process

Disassembly:
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rsp + 0x48]
test qword [rsp + 8], r9
jo 0x14001338f
lea r13, [r10 + 0x767d14c7]
mov r13, qword [rsp + 0x58]
call fcn.1401a8812
Function at 0x140187375
Capabilities:
Encode data using xor

Disassembly:
xor dl, 3
xor dx, 0x4958
js 0x140187378
mov rdx, qword [rsp + 8]
call fcn.14018b8a2
rol eax, 1
popfq
add eax, esp
adc bl, ah
cdq
or ebx, 0x2f
stosd dword [rdi], eax
invalid

Function at 0x1401aabe5
Capabilities:
Get common file path

Disassembly:
xor rsi, 0x25207cc
add rsi, qword [rsp + 0x10]
mov qword [rsp + 0x18], r10
lea rax, [rax + r10*2 + 0x5c877992]
cmp word [rsp + 0x10], 0x5e4f
movsx r13, word [rsp + 0x10]
push r8
not r10b
push rbp
xchg qword [rsp + r10*2 - 0x1b6], rax
call fcn.1402f0472
jp 0x1401aac4a
mov edi, 0x66694667
and ebp, eax
invalid
mov dl, 4
invalid
fild dword [rcx + 0x7f382464]
invalid

Function at 0x1401aac96
Capabilities:
Get common file path

Disassembly:
and si, 0x27f
or rsi, rdx
add edx, 0x4330394c
or rsi, rsi
jge 0x1401bb3dc

Function at 0x1401bebdc
Capabilities:
Terminate process

Disassembly:
lea rax, [rax + 1]
mov byte [rsp + 8], r13b
je 0x14028bfa3
or word [rsp + 8], 0x4a0c
add qword [rsp + 0x30], 0xfffffffffff128e5
call fcn.14027eebb

Function at 0x1401dbd52
Capabilities:
Encode data using xor

Disassembly:
and byte [rsp + 0x50], dh
sete dl
movabs rsi, 0x9e8497508930e5a
or dword [rsp + 0x20], 0x12ff5283
call fcn.1402db0ea
cmp dword [rsp + 0x20], edi
not byte [rsp + 0x50]
lea rdi, [rdx*8 + 0x195e0265]
mov rdi, qword [rsp + 0x18]
movsxd rdx, edx
jge 0x14016f2bc

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

Disassembly:
push r11
push rdi
setns byte [rsp + 8]
movabs rdi, 0x1f984f5f62a87a5e
xor r11d, dword [rsp + 8]
cmp edi, 0x1d613da2
add qword [rsp + 0x30], 0xfffffffffffbe4bc
add qword [rsp + 0x20], 0x94c30
call fcn.1402738da

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

Disassembly:
add qword [rsp + 0x18], 0xffffffffbfd48a06
or r12b, 0x1f
xchg qword [rsp + r12 + 0x551f6569], rax
push r15
setge byte [rsp + 0x40]
not byte [rsp + 0x40]
mov r15, rcx
xor rcx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
add qword [rsp + 0x10], 0xffffffffbfd3808d
xor r12, 0x6a2a5279
mov word [rsp + 0x40], 0x6ae2
neg r15d
test r15w, 0x5854
jno 0x1401728ef

Function at 0x14021ad8d
Capabilities:
Get common file path

Disassembly:
jb 0x1401bb3e1
and esi, 0x56362c9
xchg qword [rsp + rsi - 0x5612268], rax
call fcn.14027659d

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

Disassembly:
mov rbx, qword [rsp + 0x70]
add qword [rsp + 0x18], 0xffffffffbfddf1db
add byte [rsp + 0x30], 0xd9
cmova edx, dword [rsp + 0x78]
sub r13w, word [rsp + 0x30]
mov qword [rsp + 0x78], r13
seta byte [rsp + 0x68]
sub r13, 0x38f421bc
mov r13, qword [rsp + 0x48]
jg 0x140227f9f
call fcn.1401bb456
pop rbp
call fcn.140111f60
pop rbx
push r9
pushfq
movabs r9, 0x4e2c286b50fe0b82
call fcn.14019600a

Function at 0x1402341a2
Capabilities:
Delete file
Resolve function by parsing pe exports
Write and execute a file
Write file on windows

Disassembly:
not cx
jne 0x1402bd998