joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180059310
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180059560
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18005942a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180059374
mov rax, qword [0x180076008]
cmp qword [rsp + 0x20], rax
ja 0x180059374
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180059336
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800593a5
jmp 0x18005942a
cmp dword [rsp + 0x50], 0x10000
jne 0x18005940d
cmp qword [rsp + 0x48], 0x10000
jb 0x18005940d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800593eb
mov rax, qword [rsp + 0x28]
jmp 0x18005942c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800593fb
xor eax, eax
jmp 0x18005942c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180059425
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180059560
mov qword [rsp + 0x20], rax
jmp 0x180059336
xor eax, eax
add rsp, 0x68
ret

Function at 0x180059440
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800595a0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180059556
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18005949b
mov rax, qword [0x180076008]
cmp qword [rsp + 0x20], rax
ja 0x18005949b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005945d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800594cc
jmp 0x180059556
cmp dword [rsp + 0x50], 0x10000
jne 0x180059534
cmp qword [rsp + 0x48], 0x10000
jb 0x180059534
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180059512
mov rax, qword [rsp + 0x28]
jmp 0x180059558
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180059522
xor eax, eax
jmp 0x180059558
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180059551
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800595a0
mov qword [rsp + 0x20], rax
jmp 0x18005945d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800595f0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180059b80
mov qword [rsp + 0x28], 0
cmp qword [0x180077278], 0
jne 0x180059638
cmp qword [0x180077270], 0
je 0x180059638
mov rax, qword [0x180077270]
mov qword [0x180077278], rax
cmp qword [0x180077278], 0
je 0x1800596de
mov rax, qword [0x180077278]
cmp qword [rax + 0x10], 0
je 0x1800596de
mov rax, qword [0x180077278]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800596de
mov rax, qword [0x180077278]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800596de
mov rax, qword [0x180077278]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800596a4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800596ab
xor eax, eax
jmp 0x180059859
mov rax, qword [0x180077278]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180059859
mov rax, qword [0x180077270]
mov qword [0x180077278], rax
jmp 0x180059700
mov rax, qword [0x180077278]
mov rax, qword [rax + 8]
mov qword [0x180077278], rax
cmp qword [0x180077278], 0
je 0x18005974d
cmp qword [0x180077278], 0
je 0x18005974b
mov rax, qword [0x180077278]
cmp qword [rax + 0x10], 0
je 0x18005974b
mov rax, qword [0x180077278]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18005974b
mov rax, qword [0x180077278]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18005974b
jmp 0x18005967c
jmp 0x1800596ee
mov rcx, qword [rsp + 0x60]
call fcn.18005b7d0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180059860
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180059857
mov rax, qword [rsp + 0x48]
mov qword [0x180077278], rax
mov rax, qword [0x180077278]
mov dword [rax], 0x52727464
mov rax, qword [0x180077278]
mov qword [rax + 0x10], 0
mov rax, qword [0x180077278]
mov rcx, qword [0x180077270]
mov qword [rax + 8], rcx
mov rax, qword [0x180077278]
mov qword [0x180077270], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180077278]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180059808
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180059842
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800597fe
mov rax, qword [0x180077278]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18005967c
xor eax, eax
add rsp, 0x58
ret
Function at 0x18005a570
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18005a5b7
xor al, al
jmp 0x18005a659
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x18005a5e1
xor al, al
jmp 0x18005a659
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x18005a651
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x18005a651
mov al, 1
jmp 0x18005a659
jmp 0x18005a657
xor al, al
add rsp, 0x78
ret

Function at 0x18005a960
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180077270]
mov qword [rsp + 0x28], rax
jmp 0x18005a980
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005a9af
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x18005a9ad
call sub.KERNEL32.dll_GetLastError
jmp 0x18005a9b1
jmp 0x18005a972
xor eax, eax
add rsp, 0x38
ret
Function at 0x18005b070
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180077288], eax
je 0x18005b08b
mov eax, 0x10dd
jmp 0x18005b1b0
mov rax, qword [0x1800772a0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005b135
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x18005b100
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x18005b100
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180059cc0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.18005cf40
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x18005b097
mov qword [0x1800772a0], 0
call fcn.18005a720
mov rax, qword [0x180077298]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x18005b199
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.18005cf40
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x18005b151
mov qword [0x180077298], 0
mov dword [0x180077288], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x18005b6e0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x18007728c], 0
je 0x18005b6fd
mov eax, dword [0x18007728c]
jmp 0x18005b7c3
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x18005b710
xor eax, eax
jmp 0x18005b7c3
mov ecx, 0x10
call fcn.18005cf48
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18005b77e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x18005b763
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.18005cf40
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x18007728c], eax
mov qword [0x180077290], 0
mov eax, dword [rsp + 0x20]
jmp 0x18005b7c3
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x18005b798
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x18005b739
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x180077298]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x180077298], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x18005cbe8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18005cc22
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18005cc27
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18005cc70
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18005f890]
cmp byte [rcx + rax], 0
je 0x18005cc70
dec r8
sub rdx, 1
jne 0x18005cc56
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400087bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008808
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140008800
cmp dword [rcx + 0x3c], edx
jl 0x140008800
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140008800
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140008808
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1432028ac
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1432028b6
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1432028df
pop rbp
sub rbp, 0x33
sub rbp, 0x32028ac
sub rsp, 0x20
jmp 0x1432028fe
mov rax, 0x32028ac
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
or eax, dword [rsi]
add byte [rax], al
mov rdx, 0xffffffff867079d7
xor byte [rax], dl
inc rax
dec rcx
jne 0x14320291d
jmp 0x143202934
lahf
pop rsi
pop rsp
pop rsi
jmp 0x143202912

Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov esi, r8d
mov edi, edx
mov rbx, rcx
mov ecx, r8d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
test edi, edi
jle 0x14000104e
mov r14d, edi
xor r15d, r15d
mov r12, qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov bpl, byte [rbx + r15]
xor bpl, sil
call r12
cdq
idiv edi
inc dl
xor dl, bpl
mov byte [rbx + r15], dl
inc r15
cmp r14, r15
jne 0x140001030
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14000105d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140003040]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rsi, [rsp + 0x2c]
stmxcsr dword [rsi]
or dword [rsi], 0x8040
ldmxcsr dword [rsi]
mov dword [rsi], 0
mov edx, 0xb600
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
lea rdx, [0x1400030a0]
mov r8d, 0xb600
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov edx, 0xb600
mov rcx, rdi
mov r8d, 0x40
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, rdi
mov edx, 0xb600
mov r8d, 0x1d24b7d0
call section..text
call rdi
mov edx, 0xb600
mov rcx, rdi
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140001b50
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x1400016ec
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x1400b261d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400b262d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400b2615
lea eax, [rcx + 1]
jmp 0x1400b263b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400b264e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400b2634
sub eax, 3
jb 0x1400b266e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400b26bd
sar eax, 1
movsxd rbp, eax
jb 0x1400b26a4
jmp 0x1400b267c
add ebx, ebx
jne 0x1400b267a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400b26a4
inc ecx
add ebx, ebx
jne 0x1400b268a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400b26a4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400b269d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400b268c
add ecx, 2
jmp 0x1400b26a9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400b25d2
jmp 0x1400b261d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x61400
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400b270d
cmp rsi, rcx
jae 0x1400b2715
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400b26f4
cmp al, 0x8f
ja 0x1400b26f4
cmp byte [rsi - 2], 0xf
je 0x1400b26fa
sub al, 0xe8
cmp al, 1
ja 0x1400b26de
cmp rsi, rcx
jae 0x1400b2715
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400b26e4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400b2715
lodsb al, byte [rsi]
jmp 0x1400b26f4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xaf000]
mov eax, dword [rdi]
or eax, eax
je 0x1400b277e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xce73c]
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 0x1400b2722
jns 0x1400b2757
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1400b2761
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 0x1400b2778
mov qword [rbx], rax
add rbx, 8
jmp 0x1400b2742
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 0x1400b27b8
cmp al, 0xef
ja 0x1400b27aa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400b278a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400b2799
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 + 0x24f]
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 0x1400b280c
sub rsp, 0xffffffffffffff80
jmp 0x140033e00
Function at 0x1401440af
Capabilities:
Get hostname

Disassembly:
jmp 0x140242260
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_gethostname]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x48]
dec eax
cdqe
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
cmp dword [rsp + 0x20], 0
je 0x1402422b1
mov eax, dword [rsp + 0x20]
jmp 0x1402422d7
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, qword [rsp + 0x40]
call fcn.140144596
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1402422d5
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1401452d9
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140281450
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140281478
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x1402814c2
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14028146d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x140145504
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140238df0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0
je 0x140238e25
mov dword [rsp + 0x34], 1
jmp 0x140238e2d
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.140149b1d
mov rax, rdi
add rsp, 0x40
pop rdi
ret

Function at 0x140145b5d
Capabilities:
Delete file

Disassembly:
jmp 0x1403c7040
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1403c706c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140146062
mov eax, 0xffffffff
jmp 0x1403c706e
xor eax, eax
add rsp, 0x28
ret
Function at 0x140146256
Capabilities:
Move file

Disassembly:
jmp 0x1401d6080
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
lea rdi, [rsp + 0x20]
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x14046eb40]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x20], 0x3e8
lea rcx, [rsp + 0x78]
call fcn.14014a3a1
lea rcx, [rsp + 0x38]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0xf0]
call fcn.14014abc1
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xf8]
call fcn.14014abc1
mov qword [rsp + 0x60], rax
mov r8d, 1
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1401d6167
cmp qword [rsp + 0x58], 0
je 0x1401d613b
mov rcx, qword [rsp + 0x58]
call fcn.14014674c
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1401d6120
cmp qword [rsp + 0x60], 0
je 0x1401d615c
mov rcx, qword [rsp + 0x60]
call fcn.14014674c
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1401d6141
jmp 0x1401d622a
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x38]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x88]
call fcn.14014a3a1
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
call fcn.14014b5fd
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jl 0x1401d61d1
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x68], rax
jle 0x1401d621a
cmp qword [rsp + 0x58], 0
je 0x1401d61ec
mov rcx, qword [rsp + 0x58]
call fcn.14014674c
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1401d61d1
cmp qword [rsp + 0x60], 0
je 0x1401d620d
mov rcx, qword [rsp + 0x60]
call fcn.14014674c
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1401d61f2
mov eax, 1
jmp 0x1401d622c
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1401d6106
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.140149b1d
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140147584
add rsp, 0xd8
pop rdi
pop rsi
ret

Function at 0x1401471e2
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140334120
mov rax, rcx
neg rcx
test rax, 7
je 0x14033413d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140334198
test al, 7
jne 0x140334130
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140334151
mov rdx, qword [rax - 8]
test dl, dl
je 0x1403341c2
test dh, dh
je 0x1403341bc
shr rdx, 0x10
test dl, dl
je 0x1403341b6
test dh, dh
je 0x1403341b0
shr rdx, 0x10
test dl, dl
je 0x1403341aa
test dh, dh
je 0x1403341a4
shr edx, 0x10
test dl, dl
je 0x14033419e
test dh, dh
jne 0x140334151
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret