joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007b698
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rbp, rdx
mov rsi, r8
lea rdx, [rax - 0x38]
mov r15, rcx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
xor ebx, ebx
mov edi, eax
test eax, eax
je 0x14007b896
mov rcx, rdi
call fcn.140024f08
mov r9, rax
mov r8d, edi
xor edx, edx
mov rcx, r15
mov r14, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, rsi
call fcn.1400272dc
lea rcx, [rax + 0x1a]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140024f08
lea r15, [0x1400b5498]
mov rcx, rax
mov rdx, r15
mov rdi, rax
call fcn.140027300
mov rdx, r15
mov rcx, rsi
call fcn.140027b40
test eax, eax
je 0x14007b7cb
lea rdx, str.StringFileInfo_
mov rcx, rdi
call fcn.14002c310
mov rdx, r15
mov rcx, rsi
call fcn.140026700
test rax, rax
jne 0x14007b7c0
lea r9, [rsp + 0x88]
mov rcx, r14
lea r8, [rsp + 0x40]
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14007b7a6
mov rax, qword [rsp + 0x40]
lea rdx, [rdi + 0x20]
mov r8d, 4
mov r11d, dword [rax]
mov ecx, r11d
call fcn.140022e80
shr r11, 0x10
lea rdx, [rdi + 0x28]
mov rcx, r11
call fcn.140022e80
jmp 0x14007b7b5
lea rdx, str.04090000
mov rcx, rdi
call fcn.14002c310
mov rdx, r15
mov rcx, rdi
call fcn.14002c310
mov rdx, rsi
mov rcx, rdi
call fcn.14002c310
lea rdx, str.DefaultLangCodepage
mov rcx, rsi
call fcn.1400273ac
test eax, eax
jne 0x14007b809
lea rdx, [rdi + 0x20]
mov rcx, rbp
lea r8d, [rax + 8]
call fcn.140030594
mov rcx, r14
mov word [rbp + 0x10], bx
call fcn.140024ec4
mov rcx, rdi
call fcn.140024ec4
mov al, 1
jmp 0x14007b896
lea r9, [rsp + 0x88]
mov rdx, rdi
lea r8, [rsp + 0x38]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14007b884
mov rdx, r15
mov rcx, rsi
call fcn.140027b40
test eax, eax
jne 0x14007b868
mov rax, qword [rsp + 0x38]
lea rdx, str._u._u._u._u
mov r8d, dword [rax + 8]
mov ecx, dword [rax + 0xc]
movzx eax, cx
shr ecx, 0x10
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, rbp
movzx r9d, r8w
shr r8d, 0x10
call fcn.140024b1c
jmp 0x14007b882
mov rdx, qword [rsp + 0x38]
mov r8d, 0x200
mov rcx, rbp
call fcn.140030594
mov word [rbp + 0x400], bx
mov bl, 1
mov rcx, r14
call fcn.140024ec4
mov rcx, rdi
call fcn.140024ec4
mov al, bl
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14007b914
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2c0
mov rdi, rdx
movsxd rbx, ecx
mov ecx, 0x101
lea rdx, [rsp + 0x120]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x14007b9f2
mov edx, 0x100
lea rcx, [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_gethostname]
lea rcx, [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_gethostbyname]
test rax, rax
je 0x14007b9f2
mov r9, qword [rax + 0x18]
xor ecx, ecx
cmp qword [r9], rcx
je 0x14007b980
mov rax, r9
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x14007b974
cmp ebx, ecx
jle 0x14007b995
lea rdx, str.0.0.0.0
mov rcx, rdi
call fcn.140027300
jmp 0x14007b9ea
mov rdx, qword [r9 + rbx*8 - 8]
lea rcx, [rsp + 0x2e0]
mov r8d, 4
call fcn.140026010
mov ecx, dword [rsp + 0x2e0]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400309d0
or edx, 0xffffffff
lea rcx, [rsp + 0x20]
call fcn.14007c8fc
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140027300
mov rcx, rbx
call fcn.140024ec4
call qword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x14007ba01
lea rdx, [0x1400b52d0]
mov rcx, rdi
call fcn.140027300
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2c0
pop rdi
ret

Function at 0x14007ba14
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rbx, rdx
lea rax, [rsp + 0x30]
mov edx, ecx
mov qword [rsp + 0x20], rax
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400092ac
add rsp, 0x240
pop rbx
ret

Function at 0x14007bd8c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov ebx, dword [rsp + 0x80]
xor edi, edi
mov byte [0x1400ef3b9], dil
mov esi, r9d
mov rbp, r8
mov r14, rdx
mov r15, rcx
test ebx, ebx
je 0x14007be02
mov byte [0x1400ef3ba], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x30], eax
lea r8, [0x14007c2f0]
lea rax, [rsp + 0x80]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
and dword [rsp + 0x20], edi
call fcn.1400304b4
mov rdi, rax
mov r9d, esi
mov r8, rbp
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
test rdi, rdi
je 0x14007be37
or edx, 0xffffffff
mov byte [0x1400ef3ba], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x68]
or eax, 0xffffffff
cmp byte [0x1400ef3b9], 1
mov rsi, qword [rsp + 0x70]
cmove ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14007c020
Capabilities:
Get file attributes
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x203d8]
mov eax, 0x204d0
call fcn.1400474f0
sub rsp, rax
mov dil, r8b
mov rbx, rdx
mov esi, 0x7fff
lea r8, [rbp + 0x103d0]
mov edx, esi
call fcn.14007b8b0
lea r8, [rbp + 0x3d0]
mov edx, esi
mov rcx, rbx
call fcn.14007b8b0
lea rcx, [rbp + 0x103d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
je 0x14007c27b
test al, 0x10
je 0x14007c27b
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor esi, esi
cmp eax, ebx
je 0x14007c160
test al, 0x10
je 0x14007c160
test dil, dil
je 0x14007c27b
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x103d0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea rcx, [rbp + 0x103d0]
test eax, eax
jne 0x14007c10a
lea rdx, [rbp + 0x3d0]
call fcn.140027b40
test eax, eax
je 0x14007c103
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x103d0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
jmp 0x14007c27d
mov al, 1
jmp 0x14007c27d
lea rax, [rbp - 0x50]
xor r8d, r8d
lea r9, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
xor edx, edx
call fcn.1400308ac
lea rdx, [0x1400b5498]
lea rcx, [rbp + 0x3d0]
call fcn.14002c310
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x3d0]
call fcn.14002c310
cmp word [rbp - 0x50], si
je 0x14007c160
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x3d0]
call fcn.14002c310
lea rdx, [rbp + 0x3d0]
lea rcx, [rsp + 0x30]
call fcn.1400094fc
lea rdx, [rbp + 0x103d0]
lea rcx, [rbp - 0x78]
call fcn.1400094fc
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.14007bce8
lea rcx, [rbp - 0x78]
mov bl, al
call fcn.1400079ac
lea rcx, [rsp + 0x30]
call fcn.1400079ac
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x103d0]
test bl, bl
je 0x14007c1fc
mov r8b, 1
call fcn.14007a4c4
test al, al
je 0x14007c27b
lea rdx, [rbp + 0x103d0]
lea rcx, [rsp + 0x30]
call fcn.1400094fc
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.14007c4d4
test al, al
lea rcx, [rsp + 0x30]
sete bl
call fcn.1400079ac
test bl, bl
sete al
jmp 0x14007c27d
call fcn.140027b40
test eax, eax
je 0x14007c27b
lea rcx, [rbp + 0x103d0]
call fcn.1400272dc
lea rcx, [rbp + 0x3d0]
mov word [rbp + rax*2 + 0x103d2], si
call fcn.1400272dc
xorps xmm0, xmm0
mov dword [rsp + 0x74], esi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rsi
movdqu xmmword [rsp + 0x78], xmm0
mov word [rbp + rax*2 + 0x3d2], si
lea rax, [rbp + 0x103d0]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x68], rax
mov eax, 0x614
mov word [rsp + 0x70], ax
mov dword [rsp + 0x58], 1
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jmp 0x14007c1f4
xor al, al
lea r11, [rsp + 0x204d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14007c4d4
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xff60]
mov eax, 0x10060
call fcn.1400474f0
sub rsp, rax
mov rcx, qword [rcx]
lea r8, [rsp + 0x60]
mov bl, dl
mov edx, 0x7fff
call fcn.14007b8b0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007c583
test al, 0x10
je 0x14007c583
xor edi, edi
lea rcx, [rsp + 0x60]
test bl, bl
jne 0x14007c534
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x14007c585
call fcn.1400272dc
xorps xmm0, xmm0
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x44], edi
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + rax*2 + 0x62], di
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov eax, 0x614
mov word [rsp + 0x40], ax
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
jmp 0x14007c585
xor al, al
lea r11, [rsp + 0x10060]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x14007c59c
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov esi, edx
mov edi, ecx
lea rdx, str.SeShutdownPrivilege
lea rcx, [rsp + 0x30]
call fcn.14007a3e8
lea rcx, [rsp + 0x30]
call fcn.14006c9d4
xor ebx, ebx
test al, al
je 0x14007c626
lea eax, [rdi - 0x20]
test eax, 0xffffffdf
je 0x14007c614
test dil, 0xb
jne 0x14007c5ec
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x14007c624
mov eax, edi
mov dword [rsp + 0x28], esi
shr eax, 1
and eax, 1
test dil, 0x14
mov dword [rsp + 0x20], eax
setne bl
xor r8d, r8d
mov r9d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
jmp 0x14007c624
cmp edi, 0x20
sete bl
xor edx, edx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.14006c0b0
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x14007c644
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test ecx, ecx
js 0x14007c6c5
push rbx
sub rsp, 0x20
mov ebx, ecx
test ecx, ecx
je 0x14007c6ba
cmp ebx, 0xf
jae 0x14007c6b8
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14007c6b8
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x38]
xorps xmm1, xmm1
sub rax, qword [rsp + 0x40]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x48]
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
mulsd xmm1, qword [0x1400c48b0]
cvttsd2si rax, xmm1
cmp eax, ebx
jb 0x14007c672
jmp 0x14007c6c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
add rsp, 0x20
pop rbx
ret
Function at 0x14007c874
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
xor r9d, r9d
xor r8d, r8d
mov rbx, rcx
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], 0x1f4
mov rcx, rbx
mov dword [rsp + 0x20], 2
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
jne 0x14007c8f6
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x40
pop rbx
ret

Function at 0x14007e824
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x60
and dword [rsp + 0x50], 0
mov rbx, r9
and qword [rsp + 0x48], 0
mov eax, dword [rcx]
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetElement
test al, 0x10
je 0x14007e872
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14007e8ff
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.14007e614
jmp 0x14007e932
test edx, eax
je 0x14007e8a8
mov rax, qword [r9]
test rax, rax
jne 0x14007e935
mov rcx, qword [rsp + 0x90]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14007e905
or rax, 0xffffffffffffffff
jmp 0x14007e935
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
jbe 0x14007e85c
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x40]
mov dword [rsp + 0x28], 0x80
lea rcx, [0x1400dc360]
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14007e905
and qword [rbx], 0
jmp 0x14007e932
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
mov r8d, 1
call fcn.14007e614
mov rcx, qword [rbx]
test rcx, rcx
je 0x14007e92a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx], 0
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
mov rax, qword [rbx]
add rsp, 0x60
pop rbx
ret
Function at 0x14007e93c
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x60
and dword [rsp + 0x50], 0
mov rbx, r9
and qword [rsp + 0x48], 0
mov eax, dword [rcx]
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetElement
test al, 0x10
je 0x14007e98c
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14007ea1b
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.14007e614
jmp 0x14007ea4e
test al, 1
je 0x14007e9c2
mov rax, qword [r9]
test rax, rax
jne 0x14007ea51
mov rdx, qword [rsp + 0x90]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14007ea21
or rax, 0xffffffffffffffff
jmp 0x14007ea51
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx], rax
mov r8d, 1
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
jbe 0x14007e97c
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x40]
mov dword [rsp + 0x28], 0x80
lea rcx, [0x1400dc360]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14007ea21
and qword [rbx], 0
jmp 0x14007ea4e
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
mov r8d, 1
call fcn.14007e614
mov rcx, qword [rbx]
test rcx, rcx
je 0x14007ea46
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx], 0
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
mov rax, qword [rbx]
add rsp, 0x60
pop rbx
ret

Function at 0x14007eb50
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
and dword [rsp + 0x40], 0
mov rbx, rcx
test byte [rcx], 1
je 0x14007eb9f
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x14007eb9f
test rdx, rdx
je 0x14007eb9f
test r8, r8
je 0x14007eb9f
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14007eb9f
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14007eb9f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x28], 0
mov eax, dword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret

Function at 0x14007edf0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x58], 0
mov rbx, rcx
jne 0x14007ee27
lea rax, [rsp + 0x40]
mov r9, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x14007ede0]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x58], rax
add rsp, 0x30
pop rbx
ret
Function at 0x14007ee30
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x58], 0
mov rdi, rcx
je 0x14007ee9e
mov eax, dword [rcx + 0x60]
mov esi, 0x1f6
xchg dword [rcx + 0x60], eax
cmp eax, esi
je 0x14007ee9e
add rcx, 0x28
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x58]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x58]
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x14007ee91
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rdi + 0x58], 0
xchg dword [rdi + 0x60], esi
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400805e8
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
sub dword [reloc.WSOCK32.dll_accept], 1
jne 0x1400805fa
call fcn.1400806e8
mov rax, qword [0x1400f2030]
mov ecx, dword [rax]
add rax, 4
mov qword [0x1400f2030], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
add rsp, 0x28
ret

Function at 0x14008063c
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
sub dword [reloc.WSOCK32.dll_accept], 1
jne 0x14008064e
call fcn.1400806e8
mov rax, qword [0x1400f2030]
xorps xmm0, xmm0
mov ecx, dword [rax]
add rax, 4
mov qword [0x1400f2030], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x1400ddbd8]
add rsp, 0x28
ret

Function at 0x1400806a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r8d, 1
mov dword [0x1400f1670], ecx
mov ecx, r8d
lea rdx, [0x1400f1674]
mov eax, dword [rdx - 4]
shr eax, 0x1e
xor eax, dword [rdx - 4]
imul eax, eax, 0x6c078965
add eax, ecx
add ecx, r8d
mov dword [rdx], eax
lea rdx, [rdx + 4]
cmp ecx, 0x270
jl 0x1400806b6
mov dword [reloc.WSOCK32.dll_accept], r8d
mov dword [0x1400f1650], r8d
ret
Function at 0x1400806e8
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1400f1650], 0
lea rbx, [0x1400f1670]
jne 0x14008070d
xor ecx, ecx
call fcn.140032d2c
mov rcx, rax
call fcn.1400806a0
mov dword [reloc.WSOCK32.dll_accept], 0x270
mov edx, 0xe3
mov qword [0x1400f2030], rbx
mov r11d, 0x7ffffffe
mov eax, dword [rbx + 4]
mov ecx, eax
xor ecx, dword [rbx]
and al, 1
and ecx, r11d
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx + 0x634]
mov dword [rbx], ecx
add rbx, 4
sub edx, 1
jne 0x140080729
mov eax, dword [rbx]
mov r10d, 0x18c
mov edx, eax
lea r8, [rbx + 4]
mov r9d, dword [r8]
xor edx, r9d
and edx, r11d
xor edx, eax
mov eax, r9d
shr edx, 1
and al, 1
neg al
mov eax, r9d
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [rbx - 0x38c]
mov dword [rbx], edx
lea rbx, [r8]
sub r10d, 1
jne 0x14008075d
mov eax, dword [0x1400f1670]
mov ecx, r9d
xor ecx, eax
and al, 1
and ecx, r11d
xor ecx, r9d
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [r8 - 0x38c]
mov dword [r8], ecx
add rsp, 0x20
pop rbx
ret
Function at 0x140080ac0
Capabilities:
Write file on windows

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 r13
sub rsp, 0x20
mov esi, dword [rcx + 0x18]
mov rbx, rcx
cmp dword [rcx + 0x458], esi
jae 0x140080c58
mov r13d, 0xff
mov edx, 1
mov rcx, rbx
call fcn.1400808a4
mov rcx, rbx
cmp eax, 1
jne 0x140080b35
lea edx, [rax + 7]
call fcn.1400808a4
mov edx, dword [rbx + 0x458]
mov rcx, qword [rbx + 0x450]
and edx, 0x1ffff
mov byte [rdx + rcx], al
inc dword [rbx + 0x458]
inc dword [rbx + 0x45c]
jmp 0x140080bf1
mov edx, reloc.WSOCK32.dll_ntohs
call fcn.1400808a4
xor edi, edi
mov rcx, rbx
mov ebp, eax
lea edx, [rdi + 2]
call fcn.1400808a4
lea ecx, [rdi + 3]
cmp eax, ecx
jne 0x140080ba8
mov edi, ecx
mov edx, ecx
mov rcx, rbx
call fcn.1400808a4
cmp eax, 7
jne 0x140080ba8
lea edx, [rax - 2]
mov rcx, rbx
lea edi, [rax + 3]
call fcn.1400808a4
cmp eax, 0x1f
jne 0x140080ba8
lea edx, [rax - 0x17]
mov rcx, rbx
lea edi, [rax + 0xa]
call fcn.1400808a4
cmp eax, r13d
jne 0x140080ba8
mov edi, 0x128
jmp 0x140080b96
add edi, r13d
mov edx, 8
mov rcx, rbx
call fcn.1400808a4
cmp eax, r13d
je 0x140080b93
mov r8d, dword [rbx + 0x458]
lea r9d, [rdi + 3]
sub r8d, ebp
add r9d, eax
je 0x140080bf1
mov ecx, dword [rbx + 0x458]
mov eax, r8d
mov rdx, qword [rbx + 0x450]
and eax, 0x1ffff
and ecx, 0x1ffff
inc r8d
mov al, byte [rax + rdx]
mov byte [rcx + rdx], al
inc dword [rbx + 0x458]
inc dword [rbx + 0x45c]
add r9d, 0xffffffff
jne 0x140080bbb
mov rcx, rbx
call fcn.140080d80
mov eax, dword [0x1400f2038]
cmp eax, 0x1000
jbe 0x140080c3b
and dword [0x1400f2038], 0
mov r9, qword [rbx + 0x470]
test r9, r9
je 0x140080c43
imul eax, dword [rbx + 0x10], 0x64
xor edx, edx
mov ecx, dword [rbx + 0x14]
div dword [rbx + 0x18]
mov edx, dword [rbx + 0x10]
mov r8d, eax
call r9
test eax, eax
jne 0x140080c43
mov byte [rbx + 0x464], 1
jmp 0x140080c43
inc eax
mov dword [0x1400f2038], eax
cmp byte [rbx + 0x464], 0
jne 0x140080c9f
cmp dword [rbx + 0x458], esi
jb 0x140080af1
movsxd rax, dword [rbx + 0x488]
test eax, eax
je 0x140080c82
mov r9, qword [rbx + 0x30]
mov r8, rax
mov rcx, qword [rbx + 0x478]
mov edx, 1
call fcn.140030f74
and dword [rbx + 0x488], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r13
ret
mov eax, 4
jmp 0x140080c84