joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008100
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov esi, 0x40
mov ecx, esi
call fcn.1400122a0
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call fcn.140015ffc
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rdi + rdx*2], 0
jne 0x140008130
sub esi, edx
mov ecx, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140012470

Function at 0x14000bb14
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x14000bb8b
movsxd rdx, ecx
lea rcx, [0x14000ba70]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [0x14001f5d0]
test rbx, rbx
je 0x14000bbfe
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000bb81
cmp byte [rbx + 0x20], 0
je 0x14000bb81
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
xor r8d, r8d
call qword [sym.imp.USER32.DLL_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x14000bb47
jmp 0x14000bbfe
mov rbx, qword [0x14001f5d0]
test rbx, rbx
je 0x14000bbfe
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000bbf6
cmp byte [rbx + 0x21], 0
je 0x14000bbba
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x14000bbe6
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.DLL_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x14001f5d0]
call fcn.140011838
mov rbx, rdi
test rdi, rdi
jne 0x14000bb97
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14000bd58
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [0x1400201a0]
call fcn.140010c14
xor ebp, ebp
or esi, 0xffffffff
mov r14, rax
mov ebx, ebp
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
movzx edx, word [rax]
test dx, dx
je 0x14000be55
mov rcx, qword [rsp + 0x40]
mov r9w, 0x22
cmp dx, 0x20
jne 0x14000bdaf
add rax, 2
cmp word [rax], 0x20
je 0x14000bda5
movzx edx, word [rax]
mov r8d, 1
cmp dx, r9w
jne 0x14000bded
add rax, 2
mov rbx, rax
movzx ecx, word [rax]
test cx, cx
je 0x14000be2d
cmp cx, r9w
je 0x14000bddf
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14000bdcd
cmp word [rax], bp
je 0x14000be2d
mov rcx, rax
add rax, 2
jmp 0x14000be35
test dx, dx
je 0x14000be32
mov rbx, rax
cmp dx, 0x20
je 0x14000bddf
add rax, 2
cmp word [rax], r9w
jne 0x14000be23
add rax, 2
movzx ecx, word [rax]
test cx, cx
je 0x14000be2d
cmp cx, r9w
je 0x14000be23
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14000be11
movzx edx, word [rax]
test dx, dx
jne 0x14000bdf5
jmp 0x14000bddf
mov rcx, rax
jmp 0x14000be35
mov r8d, ebp
cmp dword [r14], esi
jne 0x14000be3f
test rdi, rdi
jne 0x14000be5f
test r8d, r8d
je 0x14000be46
inc esi
movzx edx, word [rax]
mov rbx, rbp
test dx, dx
jne 0x14000bd9f
test rdi, rdi
jne 0x14000be74
movsxd rax, esi
jmp 0x14000be76
test rbx, rbx
je 0x14000be74
sub rcx, rbx
mov rax, rbx
sar rcx, 1
mov dword [rdi], ecx
inc dword [r14]
jmp 0x14000be76
mov dword [rdi], ebp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x14000be8c
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1400201a0]
call fcn.140010c14
xor ecx, ecx
add rsp, 0x28
jmp fcn.14000bd58

Function at 0x14000bf20
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rcx, qword [0x1400201a0]
xor ebp, ebp
mov esi, edx
mov dword [rax + 8], ebp
call fcn.140010c14
test ebx, ebx
js 0x14000bf4f
mov dword [rax], ebx
lea rcx, [rsp + 0x30]
call fcn.14000bd58
mov edi, dword [rsp + 0x30]
mov edx, esi
mov ecx, edi
mov rbx, rax
call fcn.1400122a0
mov ecx, ebp
jmp 0x14000bf8b
test edi, edi
je 0x14000bf90
movzx edx, word [rbx]
cmp dx, 0x22
jne 0x14000bf7e
inc ecx
jmp 0x14000bf85
mov word [rax], dx
add rax, 2
add rbx, 2
dec edi
cmp word [rbx], bp
jne 0x14000bf6d
mov word [rax], bp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.140012470

Function at 0x14000c02c
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x28
mov rax, rdx
test rcx, rcx
je 0x14000c04c
test rax, rax
lea rdx, [0x1400185f8]
cmovne rdx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x14000d4dc
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x230
xor ebx, ebx
test rcx, rcx
je 0x14000d566
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.msvcrt.dll_wcsncpy
lea rcx, [rsp + 0x20]
mov word [rsp + 0x228], bx
call sub.msvcrt.dll_wcslen
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x20]
cmp rcx, rax
jbe 0x14000d552
lea rdx, [rcx - 2]
movzx eax, word [rdx]
sub ax, 0x20
cmp ax, 0x3c
ja 0x14000d552
movabs r8, 0x1000000000008001
bt r8, rax
jae 0x14000d552
lea rax, [rsp + 0x20]
mov rcx, rdx
cmp rdx, rax
ja 0x14000d524
mov word [rcx], bx
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cdqe
jmp 0x14000d568
xor eax, eax
add rsp, 0x230
pop rbx
ret

Function at 0x14000d574
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x28
xor eax, eax
test rcx, rcx
je 0x14000d585
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cdqe
add rsp, 0x28
ret

Function at 0x14000d58c
Capabilities:
Delete file

Disassembly:
xor edx, edx
jmp 0x14000d594
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000d5bf
test dl, 2
je 0x14000d5b2
mov edx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cdqe
jmp 0x14000d5c1
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000d594
Capabilities:
Delete file
Set file attributes

Disassembly:
xor edx, edx
jmp 0x14000d594
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000d5bf
test dl, 2
je 0x14000d5b2
mov edx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cdqe
jmp 0x14000d5c1
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000d5c8
Capabilities:
Get common file path

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, 0x20
mov edx, ecx
mov ebx, 0x104
mov ecx, ebx
call fcn.1400122a0
mov ecx, ebx
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, str.Kernel32.DLL
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r14d, r14d
mov rbp, rax
test rax, rax
je 0x14000d642
lea rdx, str.GetLongPathNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000d639
mov r8d, ebx
mov rdx, rdi
mov rcx, rdi
call rax
mov esi, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
sub ebx, esi
mov ecx, ebx
call fcn.140012470
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
movsxd rax, esi
mov rsi, qword [rsp + 0x40]
mov word [rdi + rax*2], r14w
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000d670
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edx, ecx
mov esi, 0x104
mov ecx, esi
call fcn.1400122a0
mov ecx, esi
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor ebp, ebp
movsxd rbx, eax
test eax, eax
je 0x14000d6b9
lea ecx, [rbp + 0x5c]
cmp word [rdi + rbx*2 - 2], cx
je 0x14000d6b9
mov word [rdi + rbx*2], cx
inc ebx
sub esi, ebx
mov ecx, esi
call fcn.140012470
mov rsi, qword [rsp + 0x40]
movsxd rax, ebx
mov rbx, qword [rsp + 0x30]
mov word [rdi + rax*2], bp
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000d850
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x14000d863
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cdqe
jmp 0x14000d865
xor eax, eax
add rsp, 0x28
ret

Function at 0x14000d86c
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x10]
mov rdi, rdx
mov edx, ecx
xor esi, esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [r11 - 0x18], rax
mov ebx, esi
call qword [sym.imp.SHELL32.DLL_SHGetFolderLocation]
test eax, eax
jne 0x14000d8dd
mov rcx, qword [rsp + 0x48]
mov rdx, rdi
call qword [sym.imp.SHELL32.DLL_SHGetPathFromIDListW]
test eax, eax
je 0x14000d8d2
mov rcx, rdi
call sub.msvcrt.dll_wcslen
mov rbx, rax
test eax, eax
je 0x14000d8d2
lea ecx, [rsi + 0x5c]
cdqe
cmp word [rdi + rax*2 - 2], cx
je 0x14000d8d2
mov word [rdi + rax*2], cx
inc ebx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.OLE32.DLL_CoTaskMemFree]
movsxd rax, ebx
mov word [rdi + rax*2], si
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000d990
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov dword [rsp + 0x40], eax
cmp dword [rcx + 0x1c], eax
jne 0x14000d9d4
mov r8d, dword [rcx + 0x10]
mov rdx, qword [rcx + 8]
lea r9, [rsp + 0x40]
sub r8d, dword [rcx + 0x14]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
movsxd rax, dword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
cdqe
add rsp, 0x30
pop rbx
ret
Function at 0x14000dfc0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x48], 0
test rdx, rdx
je 0x14000e0c3
cmp word [rdx], 0
je 0x14000e0c3
cmp r8d, 0x19
jne 0x14000e053
or rax, 0xffffffffffffffff
cmp qword [rcx + 8], 0
je 0x14000e021
nop word [rax + rax]
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000e000
lea r8d, [rax + rax]
call fcn.14000e1f0
mov dword [rsp + 0x48], eax
cdqe
add rsp, 0x30
pop rbx
ret
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000e021
mov rcx, qword [rcx]
lea r8d, [rax + rax]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
movsxd rax, dword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
xor ecx, ecx
cmp r8d, 2
mov eax, 0xfde9
lea r8, [rsp + 0x58]
cmove ecx, eax
mov qword [rsp + 0x40], rdi
call fcn.14000e340
mov rdi, rax
test rax, rax
je 0x14000e0be
cmp qword [rbx + 8], 0
mov r8d, dword [rsp + 0x58]
mov rdx, rax
je 0x14000e095
mov rcx, rbx
call fcn.14000e1f0
mov dword [rsp + 0x48], eax
jmp 0x14000e0ac
mov rcx, qword [rbx]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14001f41c]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rsp + 0x40]
movsxd rax, dword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
push rbx
sub rsp, 0x20
mov rbx, rdx
mov rdx, rcx
mov rcx, qword [0x1400202d0]
call fcn.140010e18
test rax, rax
je 0x14000e101
mov r8d, dword [rax + 0x20]
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x14000dfc0
add rsp, 0x20
pop rbx
ret

Function at 0x14000e0d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x48], 0
test rdx, rdx
je 0x14000e0c3
cmp word [rdx], 0
je 0x14000e0c3
cmp r8d, 0x19
jne 0x14000e053
or rax, 0xffffffffffffffff
cmp qword [rcx + 8], 0
je 0x14000e021
nop word [rax + rax]
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000e000
lea r8d, [rax + rax]
call fcn.14000e1f0
mov dword [rsp + 0x48], eax
cdqe
add rsp, 0x30
pop rbx
ret
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000e021
mov rcx, qword [rcx]
lea r8d, [rax + rax]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
movsxd rax, dword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
xor ecx, ecx
cmp r8d, 2
mov eax, 0xfde9
lea r8, [rsp + 0x58]
cmove ecx, eax
mov qword [rsp + 0x40], rdi
call fcn.14000e340
mov rdi, rax
test rax, rax
je 0x14000e0be
cmp qword [rbx + 8], 0
mov r8d, dword [rsp + 0x58]
mov rdx, rax
je 0x14000e095
mov rcx, rbx
call fcn.14000e1f0
mov dword [rsp + 0x48], eax
jmp 0x14000e0ac
mov rcx, qword [rbx]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14001f41c]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rsp + 0x40]
movsxd rax, dword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
push rbx
sub rsp, 0x20
mov rbx, rdx
mov rdx, rcx
mov rcx, qword [0x1400202d0]
call fcn.140010e18
test rax, rax
je 0x14000e101
mov r8d, dword [rax + 0x20]
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x14000dfc0
add rsp, 0x20
pop rbx
ret
Function at 0x14000e160
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
mov dword [rsp + 0x48], ebx
test rdx, rdx
je 0x14000e1d8
test r8d, r8d
je 0x14000e1d8
mov rdx, rcx
mov rcx, qword [0x1400202d0]
call fcn.140010e18
test rax, rax
je 0x14000e1d4
mov r8d, edi
mov rdx, rsi
cmp qword [rax + 8], rbx
je 0x14000e1c1
mov rcx, rax
call fcn.14000e1f0
mov ebx, eax
cdqe
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rax]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movsxd rax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000e1f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
movsxd rdi, r8d
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x50], ebp
cmp dword [rcx + 0x24], ebp
jne 0x14000e32e
cmp dword [rcx + 0x1c], 1
jne 0x14000e243
mov eax, dword [rcx + 0x14]
mov rcx, qword [rcx]
lea r9d, [rbp + 1]
neg eax
lea r8, [rsp + 0x6c]
cdqe
mov edx, eax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x1c], ebp
mov dword [rbx + 0x14], eax
mov ecx, dword [rbx + 0x14]
cmp ecx, edi
jle 0x14000e2cf
mov eax, dword [rbx + 0x10]
mov edx, edi
sub eax, ecx
movsxd rcx, eax
add rcx, qword [rbx + 8]
dec edx
je 0x14000e2b7
dec edx
je 0x14000e29e
cmp edx, 2
je 0x14000e287
mov r8, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsi]
mov dword [rcx], eax
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
movzx eax, word [rsi]
mov word [rcx], ax
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
movzx eax, byte [rsi]
mov byte [rcx], al
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
call fcn.14000d990
mov eax, dword [rbx + 0x10]
mov rdx, rsi
cmp edi, eax
jl 0x14000e309
mov rcx, qword [rbx]
lea r9, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
movsxd rax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
sub eax, dword [rbx + 0x14]
mov r8, rdi
movsxd rcx, eax
add rcx, qword [rbx + 8]
call sub.msvcrt.dll_memcpy
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
movsxd rax, ebp
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000e5e8
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
mov dword [rcx + 0x5c], edx
ret
Function at 0x140001970
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
mov qword [0x1400097d0], rcx
mov r9, rdx
mov qword [rsp + 0x28], rax
lea r8, [0x140001720]
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret

Function at 0x1400021f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ebx, 2
mov qword [rsp + 0x28], 0
mov ecx, 0x7f000001
mov word [rsp + 0x20], bx
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, 0x1035
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htons]
xor r8d, r8d
mov edx, 1
mov ecx, ebx
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002272
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14000228c
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400046a0
add rsp, 0x40
pop rbx
ret
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400046a0
add rsp, 0x40
pop rbx
ret

Function at 0x1400022b0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov dword [rsp + 0x38], edx
xorps xmm0, xmm0
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x3c], eax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x4c], eax
mov rbx, rcx
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xc8]
mov qword [rsp + 0x40], r8
mov r8d, 0x30
mov dword [rsp + 0x28], r9d
xor r9d, r9d
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], 0x54456885
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140002369
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov r8d, 0x30
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 8
jb 0x140002369
cmp dword [rsp + 0x50], 0x54456885
jne 0x140002369
cmp dword [rsp + 0x54], 2
jne 0x140002369
mov eax, dword [rsp + 0x58]
jmp 0x14000236b
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400046a0
add rsp, 0x90
pop rbx
ret
Function at 0x140002390
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
mov dword [rsp + 0x28], edx
xorps xmm1, xmm1
mov dword [rsp + 0x4c], 0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x54456885
xor r9d, r9d
mov dword [rsp + 0x24], 1
mov r8d, 0x30
mov rbx, rcx
movdqu xmmword [rsp + 0x2c], xmm0
movdqu xmmword [rsp + 0x3c], xmm1
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140002438
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov r8d, 0x30
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 8
jb 0x140002438
cmp dword [rsp + 0x50], 0x54456885
jne 0x140002438
cmp dword [rsp + 0x54], 2
jne 0x140002438
mov rax, qword [rsp + 0x58]
jmp 0x14000243a
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400046a0
add rsp, 0x90
pop rbx
ret

Function at 0x140002460
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400046a0
add rsp, 0x1d8
ret
Function at 0x140027c84
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.14001b594
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b594
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027dd4
cmp rax, 0xffffffffffffffff
je 0x140027dd4
xor edi, edi
test rbp, rbp
jle 0x140027d7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dea8
mov rbx, rax
test rax, rax
jne 0x140027d0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027d75
mov edx, 0x8000
mov ecx, r14d
call fcn.140018f00
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.14001c270
cmp eax, 0xffffffff
je 0x140027d55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027d1c
mov edx, r15d
mov ecx, r14d
call fcn.140018f00
jmp 0x140027d75
cmp byte [rsi + 0x38], dil
je 0x140027d6c
cmp dword [rsi + 0x34], 5
jne 0x140027d6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027d75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019c58
jmp 0x140027de8
jns 0x140027de8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b594
cmp rax, 0xffffffffffffffff
jne 0x140027da0
cmp byte [rsi + 0x30], dil
je 0x140027de8
mov edi, dword [rsi + 0x2c]
jmp 0x140027de8
mov ecx, r14d
call fcn.140017a2c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027de8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027de8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027de1
mov eax, dword [rsi + 0x2c]
jmp 0x140027de6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b594
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 0x140028ee0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028f08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028f08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1412225c4
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rsp + 8]
lea rsp, [rsp + 0x10]
not ebx
jmp 0x14123559a
test r11, r11
mov qword [rsp], 0x8a20038
lea rsp, [rsp + 0x18]
je 0x1412095fd
mov ecx, 0xc810783
dec ecx
push r9
movsx r9d, cl
lea rcx, [0x1411fc908]
mov r9d, 0x3fa02d99
neg r9d
push r9
movzx r9d, byte [rsi]
xor r9d, ebx
and r9d, 0xff
dec word [rsp]
sub dword [rsp + 1], 0xccbe7e1b
mov r9d, dword [rcx + r9*4]
shr ebx, 8
xor ebx, r9d
inc rsi
shl byte [rsp + 3], 7
xor ebx, 0x27348437
dec r11
lea rsp, [rsp + 8]
jne 0x1412225ee
push 0x1a0bbb1e
jmp 0x1412095f3
call fcn.14120ffe9