joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801b9660
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0x7c0], 0
mov rbp, r9
mov rdi, r8
mov esi, edx
mov rbx, rcx
je 0x1801b9718
cmp edx, 0x100
jne 0x1801b96f2
cmp di, 0xd
jne 0x1801b96f2
cmp byte [rcx + 0x7ca], 0
je 0x1801b96bd
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1801b96f2
cmp byte [rbx + 0x7cb], 0
jne 0x1801b96f2
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x1801b96ee
mov byte [rsp + 0x30], 1
lea r8, str.return
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.180170830
xor eax, eax
jmp 0x1801b971d
mov rax, qword [rbx + 0x7c0]
mov r9, rbp
mov r8, rdi
mov edx, esi
mov rcx, qword [rax + 0x18]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r10, qword [rcx]
call qword [r10 + Ordinal_27]
jmp 0x1801b971d
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1801bd9e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x1801bdb14
cmp word [rcx], 0
je 0x1801bdb14
cmp word [rcx + 2], 0x3a
jne 0x1801bdb14
cmp word [rcx + 4], 0x5c
jne 0x1801bdb14
mov qword [rsp + 0x30], rbx
mov r9, 0xffffffffffffffff
mov qword [rsp + 0x38], rbp
mov rbx, r9
mov qword [rsp + 0x40], rsi
nop dword [rax + rax]
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x1801bda30
movsxd rbp, ebx
mov eax, 2
lea rcx, [rbp + 4]
mul rcx
cmovo rax, r9
mov rcx, rax
call fcn.1801c7d10
lea r8d, [rbx + 1]
mov rdx, rdi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
movsxd rcx, ebx
cmp word [rsi + rcx*2 - 2], 0x5c
je 0x1801bda8a
lea rcx, [rsi + rbp*2]
mov r8d, 2
lea rdx, [0x1802651a0]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ebp, 0x5c
lea rcx, [rsi + 6]
mov edx, ebp
mov edi, 1
call fcn.1801c9464
mov rbx, rax
test rax, rax
je 0x1801bdaf5
mov qword [rsp + 0x48], r14
xor r14d, r14d
nop
mov rcx, rsi
mov word [rbx], r14w
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1801bdac6
test al, 0x10
jne 0x1801bdad5
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1801bdaed
mov edx, ebp
mov word [rbx], bp
lea rcx, [rbx + 2]
call fcn.1801c9464
mov rbx, rax
test rax, rax
jne 0x1801bdab0
jmp 0x1801bdaf0
mov edi, r14d
mov r14, qword [rsp + 0x48]
mov rcx, rsi
call fcn.1801c74d4
mov rsi, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1801be330
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x278
mov rax, qword [0x1802d1460]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x20a
call fcn.1801c9e80
xor eax, eax
lea r9, [rsp + 0x40]
mov dword [rsp + 0x38], eax
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rcx, [0x18026a8c0]
lea rax, [rsp + 0x44]
mov r8d, 0x104
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1801c74b0
add rsp, 0x278
ret

Function at 0x1801be940
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
test rdx, rdx
je 0x1801be95f
mov r8, rdx
sub rcx, 0xffffffffffffff80
mov edx, 0x104
call fcn.1801d0678
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1801be995
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x50], 0x103
jne 0x1801bea1b
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1801bea1b
lea rax, [rbx + 0x10]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x28], rax
lea r8, [0x1801be6b0]
mov r9, rbx
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call fcn.1801dafc0
xor edi, edi
mov qword [rbx + 8], rax
test rax, rax
setne dil
test rax, rax
je 0x1801be9d9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test edi, edi
mov rdi, qword [rsp + 0x58]
je 0x1801bea1b
mov rax, qword [rbx + 0x28]
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x30]
mov r9d, 0x3e8
mov qword [rsp + 0x38], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x1801bea1b
mov eax, 1
add rsp, 0x40
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x1801bf8e0
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1802d1460]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, r8
movdqa xmm0, xmmword [0x18026b310]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], 0
jne 0x1801bf924
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.180114020
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.1801bfa90
nop
lea rcx, [rsp + 0x48]
call fcn.180114430
lea rsi, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rsi, qword [rsp + 0x28]
xor eax, eax
xor edi, edi
xor r10d, r10d
mov r11, qword [rsp + 0x38]
test r11, r11
je 0x1801bfa59
xor ecx, ecx
nop
mov r9d, r10d
and r9d, 3
movsx edx, byte [rcx + rsi]
xor r8d, r8d
lea ecx, [rdx - 0x41]
cmp cx, 0x19
ja 0x1801bf9ba
movzx r8d, dx
sub r8d, 0x41
cmp dx, 0x3d
je 0x1801bf9fc
mov ecx, 3
sub ecx, r9d
lea ecx, [rcx + rcx*2]
add ecx, ecx
shl r8d, cl
or eax, r8d
jmp 0x1801bf9ff
lea ecx, [rdx - 0x61]
cmp cx, 0x19
ja 0x1801bf9cd
movzx r8d, dx
sub r8d, 0x47
jmp 0x1801bf99f
lea ecx, [rdx - 0x30]
cmp cx, 9
ja 0x1801bf9e0
movzx r8d, dx
add r8d, 4
jmp 0x1801bf99f
cmp dx, 0x2d
jne 0x1801bf9ee
mov r8d, 0x3e
jmp 0x1801bf9a5
cmp dx, 0x5f
jne 0x1801bf99f
mov r8d, 0x3f
jmp 0x1801bf9a5
dec r9d
cmp r9d, 3
je 0x1801bfa0b
cmp dx, 0x3d
jne 0x1801bfa4a
mov ecx, eax
shr ecx, 0x10
mov byte [rbx], cl
inc edi
inc rbx
cmp dx, 0x3d
jne 0x1801bfa23
cmp r9d, 1
jle 0x1801bfa42
mov ecx, eax
shr ecx, 8
mov byte [rbx], cl
inc edi
inc rbx
cmp dx, 0x3d
jne 0x1801bfa3b
cmp r9d, 2
jle 0x1801bfa42
mov byte [rbx], al
inc edi
inc rbx
xor eax, eax
cmp dx, 0x3d
je 0x1801bfa59
inc r10d
mov ecx, r10d
cmp rcx, r11
jb 0x1801bf980
lea rcx, [rsp + 0x28]
call fcn.180114430
mov eax, edi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1801c74b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1801c0530
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor edi, edi
mov rbp, rdx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x50], edi
jb 0x1801c0557
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rbx, rdi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1801c05dc
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x50], eax
cmp eax, 0xffffffff
je 0x1801c05dc
lea ecx, [rax + 1]
call fcn.1801d17e4
mov rbx, rax
test rax, rax
je 0x1801c05dc
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x50]
mov rdx, rax
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x50]
mov byte [rax + rbx], dil
jmp 0x1801c05fb
test rbx, rbx
je 0x1801c05e9
mov rcx, rbx
call fcn.1801cc408
mov rbx, rdi
cmp rsi, 0xffffffffffffffff
je 0x1801c05fb
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x1801c0623
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], dil
jne 0x1801c0607
mov rdx, rbx
mov rcx, rbp
call fcn.180114020
mov rcx, rbx
call fcn.1801cc408
cmp qword [rbp + 0x10], rdi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
setne dil
mov rsi, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x1801c0650
Capabilities:
Clear file content
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0xc0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1802d1460]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, rcx
mov r14, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x1801c0691
mov r14, qword [rdx]
mov rbp, qword [rdx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x1801c069f
mov rdi, qword [rcx]
movdqa xmm0, xmmword [0x18026b300]
movdqu xmmword [rsp + 0xa0], xmm0
xor esi, esi
mov word [rsp + 0x90], si
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdi + r8*2], si
jne 0x1801c06c4
mov rdx, rdi
lea rcx, [rsp + 0x90]
call fcn.1801142a0
nop
movdqa xmm0, xmmword [0x18026b300]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], si
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1801c0700
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1801142a0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1801bdb20
nop
lea rcx, [rsp + 0x70]
call fcn.180114210
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call fcn.1801bd9e0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 2]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1801c07be
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1801c07be
cmp dword [rsp + 0x40], ebp
jne 0x1801c07be
mov esi, 1
lea rcx, [rsp + 0x50]
call fcn.180114210
nop
lea rcx, [rsp + 0x90]
call fcn.180114210
mov eax, esi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1801c74b0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1801c5ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1801c5b25
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1801c5b25
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1801c5b15
nop
cmp rbx, rcx
jae 0x1801c5b25
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1801c5b00
cmp rbx, rcx
jae 0x1801c5b25
cmp word [rbx], 0
je 0x1801c5b25
mov rax, rbx
jmp 0x1801c5b27
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1801c8120
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
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]

Function at 0x1801ea9ec
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1801ea9c9
call fcn.1801dc228
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1801d05e0
or eax, 0xffffffff
jmp 0x1801ea9e6
sub dword [rcx + 0x10], 1
jns 0x1801ea9d8
add rsp, 0x28
jmp fcn.1801ec804
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1801ea9a8
Function at 0x14000100f
Capabilities:
Terminate process

Disassembly:
jmp 0x140001cac
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.14000116d
test al, al
je 0x140001b73
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400010eb
mov bl, al
mov ecx, dword [0x140008160]
cmp ecx, 1
je 0x140001b7e
test ecx, ecx
jne 0x140001aa9
mov dword [0x140008160], 1
lea rdx, [0x140006660]
lea rcx, [0x140006330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x140001a8a
mov eax, 0xff
jmp 0x140001b63
lea rdx, [0x140006220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x140008160], 2
jmp 0x140001ab1
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400011a4
call fcn.1400010c3
mov rbx, rax
cmp qword [rax], 0
je 0x140001ae4
mov rcx, rax
call fcn.140001118
test al, al
je 0x140001ae4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x14000b010]
call fcn.1400010e6
mov rbx, rax
cmp qword [rax], 0
je 0x140001b06
mov rcx, rax
call fcn.140001118
test al, al
je 0x140001b06
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rdi, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov rbx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov r8, rax
mov rdx, rdi
mov ecx, dword [rbx]
call fcn.140001096
mov ebx, eax
call fcn.140001154
test al, al
je 0x140001b88
test sil, sil
jne 0x140001b3d
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.140001159
mov eax, ebx
jmp 0x140001b63
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140001113
nop
mov ecx, 7
call fcn.140001113
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.140001181
add rsp, 0x28
jmp 0x140001a1c

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

Disassembly:
jmp 0x1400020ec
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000217a
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14000217a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000217a
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140002161
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000215b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140002163
add rdx, 0x28
jmp 0x140002140
xor edx, edx
test rdx, rdx
jne 0x14000216c
xor al, al
jmp 0x140002180
cmp dword [rdx + 0x24], 0
jge 0x140002176
xor al, al
jmp 0x140002180
mov al, 1
jmp 0x140002180
xor al, al
jmp 0x140002180
add rsp, 0x18
ret
Function at 0x140001154
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400026dc
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002727
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002727
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002727
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002727
cmp dword [rcx + 0x84], 0xe
jbe 0x140002727
cmp dword [rcx + 0xf8], 0
je 0x140002727
mov al, 1
jmp 0x140002729
xor al, al
add rsp, 0x28
ret
Function at 0x1400012f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14009d010]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400013a3
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x12c
call fcn.140057410
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x14000139a
nop dword [rax]
nop word [rax + rax]
lea r8, [rsp + 0x4c]
mov rax, rdi
sub r8, rdi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001383
inc rax
test ecx, ecx
jne 0x140001370
mov rcx, rbx
test edx, edx
je 0x1400013c6
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x140001360
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1400013a5

Function at 0x1400024e0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x14009d010]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rax, qword gs:[0x30]
mov ebp, ecx
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov r14, qword [rax + 0x10]
nop
mov rbx, qword [r14 + 0x30]
movsxd rax, dword [rbx + 0x3c]
mov rdx, qword [rax + rbx + 0x88]
mov r15, rdx
mov esi, edx
shr r15, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x1400025bd
mov edi, dword [rsi + 0x18]
xor r11d, r11d
test edi, edi
je 0x1400025bd
mov r10d, dword [rsi + 0x20]
add r10, rbx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r10]
mov r9d, 0x811c9dc5
add rax, rbx
movzx r8d, byte [rax]
inc rax
test r8b, r8b
je 0x1400025ac
nop dword [rax + rax]
movsx ecx, r8b
lea rax, [rax + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rax - 1]
cmova edx, ecx
xor edx, r9d
imul r9d, edx, 0x1000193
test r8b, r8b
jne 0x140002580
cmp r9d, ebp
je 0x1400025c5
inc r11d
add r10, 4
cmp r11d, edi
jb 0x140002560
mov r14, qword [r14]
jmp 0x140002520
mov eax, dword [rsi + 0x24]
mov ecx, dword [rsi + 0x1c]
add rax, rbx
add rcx, rbx
movzx edx, word [rax + r11*2]
mov r8d, dword [rcx + rdx*4]
add r8, rbx
cmp r8, rsi
jbe 0x1400025f9
lea rax, [r15 + rsi]
cmp r8, rax
jae 0x1400025f9
mov edx, 0x811c9dc5
mov ecx, edx
call fcn.140002630
jmp 0x1400025fc
mov rax, r8
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.140052a40
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140002630
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
push r15
mov r14d, ecx
nop dword [rax]
mov rax, qword gs:[0x30]
mov r8, qword [rax + 0x60]
mov rax, qword [r8 + 0x18]
mov r15, qword [rax + 0x10]
nop word [rax + rax]
cmp edx, 0x811c9dc5
jne 0x14000270e
mov rdi, qword [r15 + 0x30]
movsxd rax, dword [rdi + 0x3c]
mov rcx, qword [rax + rdi + 0x88]
mov r12, rcx
mov ebp, ecx
shr r12, 0x20
add rbp, rdi
cmp rbp, rdi
je 0x14000270e
mov esi, dword [rbp + 0x18]
xor ebx, ebx
test esi, esi
je 0x14000270e
mov r11d, dword [rbp + 0x20]
add r11, rdi
nop dword [rax]
mov eax, dword [r11]
mov r10d, 0x811c9dc5
add rax, rdi
movzx r9d, byte [rax]
inc rax
test r9b, r9b
je 0x1400026ff
nop dword [rax + rax]
movsx ecx, r9b
lea rax, [rax + 1]
sub r9b, 0x41
mov r8d, ecx
or r8d, 0x20
cmp r9b, 0x19
movzx r9d, byte [rax - 1]
cmova r8d, ecx
xor r8d, r10d
imul r10d, r8d, 0x1000193
test r9b, r9b
jne 0x1400026d0
cmp r10d, r14d
je 0x140002716
inc ebx
add r11, 4
cmp ebx, esi
jb 0x1400026b0
mov r15, qword [r15]
jmp 0x140002670
mov eax, dword [rbp + 0x24]
mov ecx, dword [rbp + 0x1c]
add rax, rdi
add rcx, rdi
movzx edx, word [rax + rbx*2]
mov r8d, dword [rcx + rdx*4]
add r8, rdi
cmp r8, rbp
jbe 0x140002748
lea rax, [r12 + rbp]
cmp r8, rax
jae 0x140002748
mov edx, 0x811c9dc5
mov r14d, edx
jmp 0x140002650
mov rbx, qword [rsp + 0x28]
mov rax, r8
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
pop r15
pop r14
pop r12
pop rdi
ret
Function at 0x140014bb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140014be4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140014bd0
ret
Function at 0x14001bdf0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14009d010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r15, rdx
mov r12, rcx
mov qword [rbp - 0x40], rdx
xor r13d, r13d
mov ebx, r13d
mov dword [rsp + 0x30], ebx
mov rdi, qword [rcx]
movzx eax, byte [rdi + 0x30]
test al, al
je 0x14001be53
mov byte [rdx], al
mov eax, dword [rdi + 0x38]
mov dword [rdx + 8], eax
lea rdx, [rdi + 0x40]
lea rcx, [r15 + 0x10]
call fcn.140003290
jmp 0x14001c0d7
mov rcx, qword [rdi + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x14001be73
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [r12]
mov qword [rax + 0x28], 0xffffffffffffffff
mov rdi, qword [r12]
mov dword [rbp], r13d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov dword [rbp + 4], 2
mov dword [rbp + 8], 1
mov dword [rbp + 0xc], 6
mov qword [rbp - 0x40], r13
mov ecx, 0x9467f52c
call fcn.1400024e0
mov rsi, rax
movzx edx, word [rdi + 0x20]
lea rcx, [rbp - 0x28]
call fcn.14001ba70
nop
cmp qword [rax + 0x18], 0x10
jb 0x14001bec5
mov rax, qword [rax]
mov rcx, qword [r12]
cmp qword [rcx + 0x18], 0x10
jb 0x14001bed3
mov rcx, qword [rcx]
lea r9, [rbp - 0x40]
lea r8, [rbp]
mov rdx, rax
call rsi
test eax, eax
setne dil
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14001bf21
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bf1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c101
call fcn.140052aa4
test dil, dil
jne 0x14001c0b7
mov rdi, qword [rbp - 0x40]
call fcn.14005ee60
nop
int3

Function at 0x14001c110
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xd0
mov rax, qword [0x14009d010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rax, r8
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x79], rdx
mov rsi, qword [rbp + 0x7f]
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov rdx, qword [rcx]
mov rcx, qword [rdx + 0x28]
cmp rcx, 0xffffffffffffffff
jne 0x14001c16e
mov edx, 0x2749
mov rcx, rbx
call fcn.14001bb50
jmp 0x14001c2a0
xor r9d, r9d
mov r8d, 0x4000
mov rdx, rax
call qword [sym.imp.WS2_32.dll_recv]
movsxd rdi, eax
test eax, eax
jle 0x14001c192
mov qword [rsi], rdi
mov byte [rbx], r15b
jmp 0x14001c2a0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rbp - 0x39], r15
movdqa xmm0, xmmword [0x1400927d0]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], 0
mov dword [rbp - 0x41], eax
xor r8d, r8d
lea rdx, [0x140090948]
lea rcx, [rbp - 0x39]
call fcn.140001f50
nop
mov dl, 1
mov byte [rbp - 0x11], dl
mov r8d, dword [rbp - 0x41]
mov dword [rbp - 9], r8d
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rbp - 0x29]
movups xmmword [rbp + 0xf], xmm1
mov dword [rsp + 0x20], 0x18
mov rax, qword [r14]
mov rcx, qword [rax + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x14001c20f