joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140072850
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x850
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0x840], rax
movsxd rax, r8d
mov rbx, rcx
lea rcx, [rsp + 0x431]
mov rsi, qword [rdx + rax*8]
mov rbp, qword [rdx + rax*8 + 8]
lea r14, [rdx + rax*8]
lea r15, [rdx + rax*8]
xor edi, edi
mov r8d, 0x409
xor edx, edx
mov byte [rsp + 0x430], dil
call fcn.14000cbf0
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x409
mov byte [rsp + 0x20], dil
call fcn.14000cbf0
test rsi, rsi
je case.0x14007294b.3
test rbp, rbp
je case.0x14007294b.3
mov r10, qword [rsi + 0x408]
test r10, r10
je case.0x14007294b.3
mov r9, qword [rbp + 0x408]
test r9, r9
je case.0x14007294b.3
movzx eax, word [r9 + 2]
movzx edx, word [r10 + 2]
cmp ax, dx
jl 0x140072b18
jne case.0x14007294b.3
movsx eax, dx
cmp eax, 0x12d
jg 0x140072a36
je case.0x14007294b.81
dec eax
cmp eax, 0xcc
ja case.0x14007294b.3
lea r8, [0x140000000]
cdqe
movzx eax, byte [r8 + rax + 0x72b70]
mov ecx, dword [r8 + rax*4 + 0x72b50]
add rcx, r8
jmp rcx
mov eax, dword [r10 + 8]
cmp dword [r9 + 8], eax
jge case.0x14007294b.3
jmp 0x140072b18
mov rax, rdi
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10 + rax + 8]
movzx edx, byte [r9 + rax + 8]
cmp cl, dl
jb case.0x14007294b.3
ja 0x140072b18
inc rax
cmp rax, 6
jl 0x140072970
jmp case.0x14007294b.3
cmp dx, 0x18
jne 0x1400729a5
mov eax, 1
jmp 0x1400729b9
cmp dx, 0x19
mov eax, edi
setne al
add eax, 2
test eax, eax
jle case.0x14007294b.3
movsxd r11, eax
mov rcx, rdi
mov eax, 8
mov edx, dword [rax + r10]
mov r8d, dword [rax + r9]
cmp edx, r8d
jb case.0x14007294b.3
ja 0x140072b18
inc rcx
add rax, 4
cmp rcx, r11
jl 0x1400729c4
jmp case.0x14007294b.3
lea rcx, [r9 + 8]
call fcn.1400aded0
mov rcx, qword [rsi + 0x408]
add rcx, 8
mov ebx, eax
call fcn.1400aded0
cmp ebx, eax
jge case.0x14007294b.3
jmp 0x140072b18
mov rcx, r9
call fcn.1400a5d30
mov rcx, qword [rsi + 0x408]
mov rbx, rax
call fcn.1400a5d30
mov rdx, rbx
mov rcx, rax
jmp 0x140072b0c
cmp eax, 0x15f
je case.0x14007294b.81
cmp eax, 0x1f4
jle case.0x14007294b.3
cmp eax, 0x1f7
jle case.0x14007294b.81
cmp eax, 0x3e8
jne case.0x14007294b.3
mov rax, qword [rbx + 0xf8]
xor r8d, r8d
test dword [rax + 0x1144], 0x4000
jne 0x140072a9b
lea rdx, [r10 + 8]
lea rcx, [rsp + 0x430]
call fcn.14002a840
mov rdx, qword [rbp + 0x408]
lea rcx, [rsp + 0x20]
add rdx, 8
xor r8d, r8d
call fcn.14002a840
jmp 0x140072ae8
lea rdx, [r9 + 8]
lea rcx, [r10 + 8]
jmp 0x140072b0f
mov rdx, r10
mov rcx, rbx
call fcn.140063940
lea rcx, [rsp + 0x430]
mov r8d, 0x409
mov rdx, rax
call fcn.140065fe0
mov rdx, qword [rbp + 0x408]
mov rcx, rbx
call fcn.140063940
lea rcx, [rsp + 0x20]
mov r8d, 0x409
mov rdx, rax
call fcn.140065fe0
lea rcx, [rsp + 0x430]
call fcn.14006dc40
lea rcx, [rsp + 0x20]
call fcn.14006dc40
lea rcx, [rsp + 0x430]
lea rdx, [rsp + 0x20]
xor r8d, r8d
call fcn.14002a750
test eax, eax
jle case.0x14007294b.3
mov edi, 1
mov qword [r14], rbp
mov qword [r15 + 8], rsi
mov eax, edi
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000c9f0
mov rbx, qword [rsp + 0x898]
add rsp, 0x850
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140078dd0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov dword [rcx + 0x10], edx
movsxd rcx, dword [rcx + 8]
test ecx, ecx
js 0x140078e17
xor eax, eax
test edx, edx
mov r8d, 1
mov dword [rbx + 0xc], eax
cmovne eax, r8d
lea r8, [rsp + 0x38]
mov edx, 0x8004667e
mov dword [rsp + 0x38], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x140078e17
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbx + 0xc], eax
add rsp, 0x20
pop rbx
ret

Function at 0x140078e20
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
xor eax, eax
test edx, edx
mov r8d, 1
cmovne eax, r8d
lea r8, [rsp + 0x30]
movsxd rcx, ecx
mov edx, 0x8004667e
mov dword [rsp + 0x30], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x28
ret
Function at 0x140079230
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
lea edi, [rax + 1]
mov dword [rsp + 0x40], eax
mov dword [rcx + 0xc], eax
cmp dword [rcx + 0x10], eax
je 0x140079274
movsxd rcx, dword [rcx + 8]
lea r8, [rsp + 0x48]
mov edx, 0x8004667e
mov dword [rsp + 0x48], edi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x140079274
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbx + 0xc], eax
call fcn.140061ad0
mov ecx, dword [rsp + 0x40]
mov edx, 0x29
test eax, eax
lea r9, [rsp + 0x40]
lea r8d, [rdx - 0xe]
cmovne ecx, edi
mov dword [rsp + 0x20], 4
mov dword [rsp + 0x40], ecx
movsxd rcx, dword [rbx + 8]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140087780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400877b2
mov eax, 0xffffff7a
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
test rdx, rdx
jne 0x1400877fc
xor eax, eax
xor r9d, r9d
mov edx, 0xffffff7f
mov qword [rsp + 0x30], rax
lea r8d, [rax + 0x3b]
mov dword [rsp + 0x28], 0xff
mov dword [rcx + 0x88], 0xffffff7f
mov qword [rsp + 0x20], rax
call fcn.14006b500
mov eax, dword [rbx + 0x88]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
test r8, r8
jne 0x140087846
xor eax, eax
xor r9d, r9d
mov edx, 0xffffff7f
mov qword [rsp + 0x30], rax
lea r8d, [rax + 0x3c]
mov dword [rsp + 0x28], 0xff
mov dword [rcx + 0x88], 0xffffff7f
mov qword [rsp + 0x20], rax
call fcn.14006b500
mov eax, dword [rbx + 0x88]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp r9d, 4
jge 0x140087861
mov eax, 0xffffff74
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
xor r8d, r8d
mov rdx, rdi
call fcn.140085130
test eax, eax
jne 0x1400878a5
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14008eca0
test eax, eax
jne 0x1400878a5
mov r8d, dword [rsi + 0x14]
mov rdx, rdi
mov rcx, rbx
call fcn.14008ee50
test eax, eax
jne 0x1400878a5
movzx r8d, byte [rsi + 0x18]
mov rdx, rdi
mov rcx, rbx
call fcn.14008ee90
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140088e70
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x320
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rax, qword [rcx + 0xf8]
mov rbx, rcx
test byte [rax + 0x1144], 0x40
jne 0x140088ea5
xor eax, eax
jmp 0x140088fcc
mov eax, dword [rcx + 0x1a8]
test al, al
js 0x140088f02
bts eax, 7
mov r9d, 0x45
lea rdx, str.FLEXLM__c_c_sADDATE
mov dword [rcx + 0x1a8], eax
lea rax, str.BUG_B
lea r8d, [r9 - 1]
lea rcx, [rsp + 0x240]
mov qword [rsp + 0x20], rax
call fcn.14000ca3c
lea rdx, [rsp + 0x240]
mov rcx, rbx
call fcn.14005ea30
test rax, rax
je 0x140088f02
or dword [rbx + 0x1a8], 0x100
test dword [rbx + 0x1a8], 0x100
je 0x140088f4a
xor ecx, ecx
xor r9d, r9d
mov r8d, 0x138
mov qword [rsp + 0x30], rcx
lea edx, [rcx - 0x58]
mov dword [rsp + 0x28], 0xff
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov dword [rbx + 0x88], 0xffffffa8
call fcn.14006b500
mov eax, 0xffffffa8
jmp 0x140088fcc
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rbx
mov word [rsp + 0x40], 0x5c
call fcn.140088ff0
test eax, eax
jne 0x140088fcc
lea rcx, [rsp + 0x40]
mov edx, 0x200
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rbx
call fcn.140088ff0
test eax, eax
jne 0x140088fcc
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x40], 0x7261762f
mov byte [rsp + 0x44], al
call fcn.140088ff0
test eax, eax
jne 0x140088fcc
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rbx
mov word [rsp + 0x40], 0x742f
mov word [rsp + 0x43], WSACleanup
mov byte [rsp + 0x42], WSAGetLastError
call fcn.140088ff0
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0x320
pop rbx
ret
Function at 0x14008d3c0
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr ax, 8
movzx edx, al
cmp ecx, 6
jb 0x14008d3e6
lea eax, [rbx + 7]
add rsp, 0x20
pop rbx
ret
cmp ecx, 5
jne 0x14008d3f4
lea eax, [rcx + 1]
add rsp, 0x20
pop rbx
ret
cmp ecx, 4
jne 0x14008d418
test al, al
jne 0x14008d405
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov eax, 3
cmp edx, 1
cmove ebx, eax
mov eax, ebx
add rsp, 0x20
pop rbx
ret
cmp ecx, 3
jne 0x14008d424
test al, al
lea eax, [rcx + 2]
je 0x14008d426
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14008d430
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor ebx, ebx
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov byte [rsp + 0x40], bl
call fcn.14000cbf0
cmp dword [0x14013c3c0], ebx
jne 0x14008d5eb
call sub.KERNEL32.dll_GetCurrentProcessId
lea r8, str.TerminalServerFlexlmMutex
lea rdx, str._s__d
lea rcx, [rsp + 0x40]
mov r9d, eax
call fcn.14000ca3c
lea r8, [rsp + 0x40]
lea edx, [rbx + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rdi, rax
test rax, rax
je 0x14008d5f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14008d4d1
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x14013c3c0], ebx
jne 0x14008d5d9
call fcn.14008d3c0
cmp eax, 4
jl 0x14008d5cf
cmp eax, 5
jle 0x14008d51b
cmp eax, 7
jg 0x14008d5cf
mov ecx, 0x1000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14008d5cf
mov dword [0x14013c3c4], 1
jmp 0x14008d5cf
lea rcx, str.wtsapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14013c3e0], rax
test rax, rax
je 0x14008d5bf
lea rdx, str.WTSEnumerateSessionsA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14013c3c8], rax
test rax, rax
je 0x14008d5b8
mov rcx, qword [0x14013c3e0]
lea rdx, str.WTSFreeMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14013c3d0], rax
test rax, rax
je 0x14008d5b8
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x38]
lea r8d, [rdx + 1]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [0x14013c3c8]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14008d5b2
cmp dword [rcx + 0x10], ebx
je 0x14008d5b2
call qword [0x14013c3d0]
mov dword [0x14013c3c4], 1
jmp 0x14008d5b8
call qword [0x14013c3d0]
mov rax, qword [0x14013c3e0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14013c3e0], rbx
mov dword [0x14013c3c0], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x14013c3c4], ebx
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000c9f0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
Function at 0x140090490
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
xor r10d, r10d
mov qword [rsp + 0x20], rdi
mov rbx, rcx
cmp dword [0x14013c430], r10d
movsxd rdi, edx
lea r14, [0x14013c440]
jne 0x14009051e
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
movzx r9d, r10w
mov esi, 0x74ba
mov r11, r14
mov ebp, 0x100
movzx eax, r10w
movzx edx, r9w
mov r8d, 8
nop
movzx ecx, dl
xor cl, al
test cl, 1
je 0x1400904ed
xor ax, si
shr ax, 1
shr dx, 1
dec r8d
jne 0x1400904e0
inc r9w
mov word [r11], ax
add r11, 2
cmp r9w, bp
jb 0x1400904d0
mov rsi, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x10]
mov dword [0x14013c430], 1
mov rax, rdi
mov rdi, qword [rsp + 0x20]
mov r9, r10
test rax, rax
jle 0x140090551
nop
movzx r8d, byte [r9 + rbx]
movzx ecx, r10w
shr r10w, 8
movzx edx, cl
inc r9
xor r8, rdx
xor r10w, word [r14 + r8*2]
cmp r9, rax
jl 0x140090530
movzx eax, r10w
mov rbx, qword [rsp + 0x28]
pop r14
ret

Function at 0x140096960
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
mov rbx, rdx
mov edx, 0x1000
mov rdi, r8
mov rsi, rcx
mov byte [rsp + 0x20], 0
mov word [rsp + 0x21], ax
mov byte [rsp + 0x23], al
call fcn.1400738b0
test eax, eax
je 0x1400969cc
mov rax, qword [rsi + 0x260]
mov rcx, qword [rax + 0x2090]
mov rax, qword [rcx + 0x570]
test rax, rax
je 0x1400969cc
add rcx, 0x578
mov r8, rdi
mov rdx, rbx
call rax
jmp 0x140096ab8
lea rdx, [rdi + 0xc]
lea r8, [rsp + 0x28]
mov r9d, 4
mov rcx, rbx
call fcn.1400b95a0
movzx ecx, byte [rbx]
xor al, al
xor r8b, r8b
xor r9b, r9b
xor r10b, r10b
mov dword [rsp + 0x20], 0
test cl, cl
je 0x140096a3e
mov edx, 3
mov eax, edx
nop dword [rax]
nop dword [rax + rax]
xor byte [rsp + rax + 0x20], cl
movzx ecx, byte [rbx + 1]
dec rax
lea rbx, [rbx + 1]
cmovs rax, rdx
test cl, cl
jne 0x140096a10
movzx eax, byte [rsp + 0x23]
movzx r8d, byte [rsp + 0x22]
movzx r9d, byte [rsp + 0x21]
movzx r10d, byte [rsp + 0x20]
mov r11d, dword [rdi + 4]
movsx edx, al
movsx eax, r8b
shl edx, 8
or edx, eax
movsx eax, r9b
mov r9d, r11d
shl edx, 8
or edx, eax
movsx eax, r10b
mov r10d, dword [rdi + 8]
shl edx, 8
mov r8d, r10d
or edx, eax
xor r9d, edx
xor r8d, edx
xor r9d, dword [rsp + 0x2c]
xor r8d, dword [rsp + 0x2c]
xor r9d, dword [rsp + 0x30]
xor r8d, dword [rsp + 0x30]
xor r9d, 0x6f7330b8
xor r8d, 0x6f7330b8
cmp r9d, r11d
jne 0x140096aa1
mov r9d, r11d
xor r9d, 0x6f7330b8
cmp r8d, r10d
jne 0x140096ab0
mov r8d, r10d
xor r8d, 0x6f7330b8
mov dword [rdi + 4], r9d
mov dword [rdi + 8], r8d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400a6350
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jb 0x1400a636e
cmp al, 4
jae 0x1400a636e
add rsp, 0x28
jmp 0x1400a65c0
add rsp, 0x28
jmp 0x1400a6380
push rbx
sub rsp, 0x70
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, [0x14011164c]
lea rcx, [rsp + 0x50]
xor r8d, r8d
call fcn.14002a840
xor ebx, ebx
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x1400a63cb
dec byte [rsp + 0x50]
inc ebx
cmp ebx, 3
jl 0x1400a63b0
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x40]
lea rcx, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0x70
pop rbx
ret
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x40
lea rcx, str.Kernel32.Dll
xor ebp, ebp
mov qword [rsp + 0x50], rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.UTRegister
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
mov rbx, rax
test rax, rax
jne 0x1400a661a
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea rdx, str.UTUnRegister
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x1400a66db
mov rcx, qword [0x1401430b8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rbp
lea r9, str.UTProc
lea rdx, str.VSN16.DLL
xor r8d, r8d
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call rbx
test eax, eax
je 0x1400a6674
mov r10, qword [rsp + 0x50]
test r10, r10
jne 0x1400a66a7
mov rcx, qword [0x1401430b8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rbp
lea r9, str.UTProc
lea rdx, str.VSN16.DLL
xor r8d, r8d
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call rbx
mov r10, qword [rsp + 0x50]
test eax, eax
je 0x1400a66d2
test r10, r10
je 0x1400a66d2
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call r10
mov rcx, qword [0x1401430b8]
mov ebx, eax
call rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
jmp 0x1400a66e7
mov rcx, qword [0x1401430b8]
call rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400a6380
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jb 0x1400a636e
cmp al, 4
jae 0x1400a636e
add rsp, 0x28
jmp 0x1400a65c0
add rsp, 0x28
jmp 0x1400a6380
push rbx
sub rsp, 0x70
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, [0x14011164c]
lea rcx, [rsp + 0x50]
xor r8d, r8d
call fcn.14002a840
xor ebx, ebx
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x1400a63cb
dec byte [rsp + 0x50]
inc ebx
cmp ebx, 3
jl 0x1400a63b0
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x40]
lea rcx, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0x70
pop rbx
ret
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x40
lea rcx, str.Kernel32.Dll
xor ebp, ebp
mov qword [rsp + 0x50], rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.UTRegister
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
mov rbx, rax
test rax, rax
jne 0x1400a661a
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea rdx, str.UTUnRegister
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x1400a66db
mov rcx, qword [0x1401430b8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rbp
lea r9, str.UTProc
lea rdx, str.VSN16.DLL
xor r8d, r8d
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call rbx
test eax, eax
je 0x1400a6674
mov r10, qword [rsp + 0x50]
test r10, r10
jne 0x1400a66a7
mov rcx, qword [0x1401430b8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rbp
lea r9, str.UTProc
lea rdx, str.VSN16.DLL
xor r8d, r8d
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call rbx
mov r10, qword [rsp + 0x50]
test eax, eax
je 0x1400a66d2
test r10, r10
je 0x1400a66d2
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call r10
mov rcx, qword [0x1401430b8]
mov ebx, eax
call rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
jmp 0x1400a66e7
mov rcx, qword [0x1401430b8]
call rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1400ab400
Capabilities:
Encode data using xor

Disassembly:
mov eax, r8d
mov byte [rsp + 0x10], r8b
mov r10d, edx
sar eax, 8
mov r9, rcx
mov r11, rcx
mov byte [rsp + 0x11], al
mov eax, r8d
sar r8d, 0x18
sar eax, 0x10
mov byte [rsp + 0x13], r8b
mov byte [rsp + 0x12], al
test edx, edx
je 0x1400ab45d
xor eax, eax
mov ecx, eax
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rsp + rcx + 0x10]
inc rcx
lea r9, [r9 + 1]
xor byte [r9 - 1], dl
cmp rcx, 3
cmovg rcx, rax
dec r10d
jne 0x1400ab440
mov rax, r11
ret
Function at 0x1400ab470
Capabilities:
Encode data using xor

Disassembly:
mov eax, r8d
mov byte [rsp + 0x10], r8b
mov r10, rcx
sar eax, 8
mov r9, rcx
mov byte [rsp + 0x11], al
mov eax, r8d
sar r8d, 0x18
sar eax, 0x10
mov byte [rsp + 0x13], r8b
mov byte [rsp + 0x12], al
test edx, edx
je 0x1400ab4cc
xor r8d, r8d
mov eax, r8d
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rsp + rax + 0x10]
inc rax
lea r9, [r9 + 1]
xor byte [r9 - 1], cl
cmp rax, 3
cmovg rax, r8
dec edx
jne 0x1400ab4b0
mov rax, r10
ret
Function at 0x1400b0b70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
lea r8, [0x140105988]
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
call fcn.1400739a0
mov rsi, rax
test rax, rax
je 0x1400b0c96
lea r8d, [rbp + 2]
xor edx, edx
mov rcx, rax
call fcn.14003e3cc
mov rcx, rsi
call fcn.14003e754
xor r8d, r8d
xor edx, edx
mov rcx, rsi
movsxd rbx, eax
call fcn.14003e3cc
lea eax, [rbx + 1]
mov ecx, eax
mov ebp, eax
call fcn.140010258
mov rdi, rax
test rax, rax
je 0x1400b0c89
cmp ebx, 0xffffffff
je 0x1400b0c89
xor r9d, r9d
mov r8d, ebp
xor edx, edx
mov rcx, rax
call fcn.14002a5a0
mov r9, rsi
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
call fcn.14003e258
mov byte [rbx + rdi], 0
movzx eax, byte [rdi]
mov rcx, rdi
mov rdx, rdi
test al, al
je 0x1400b0c48
cmp al, 0xd
jne 0x1400b0c39
cmp byte [rdi + 1], 0xa
lea r8, [rdi + 1]
jne 0x1400b0c39
movzx eax, byte [r8]
mov rdi, r8
mov byte [rcx], al
jmp 0x1400b0c41
mov byte [rcx], al
inc rcx
inc rdi
movzx eax, byte [rdi]
test al, al
jne 0x1400b0c20
mov byte [rcx], 0
cmp byte [rdx], 0
mov rdi, rdx
mov rax, rdx
je 0x1400b0c86
movzx ecx, byte [rax]
cmp cl, 0x5c
jne 0x1400b0c6a
cmp byte [rax + 1], 0xa
jne 0x1400b0c6a
add rax, 2
jmp 0x1400b0c81
add cl, 0x6d
cmp cl, 1
ja 0x1400b0c75
mov byte [rax], 0x22
movzx ecx, byte [rax]
inc rdx
inc rax
mov byte [rdx - 1], cl
cmp byte [rax], 0
jne 0x1400b0c56
mov byte [rdx], 0
mov rcx, rsi
call fcn.14000e350
mov rax, rdi
jmp 0x1400b0d02
call fcn.140011a10
mov edx, dword [rax]
dec edx
je 0x1400b0cc5
cmp edx, 0xc
je 0x1400b0cc5
test rbx, rbx
je 0x1400b0cff
mov dword [rbx + 0x88], 0xffffffff
call fcn.140011a10
mov r8d, 0x5c
or edx, 0xffffffff
jmp 0x1400b0ce2
test rbx, rbx
je 0x1400b0cff
mov dword [rbx + 0x88], 0xffffffe2
call fcn.140011a10
mov edx, 0xffffffe2
lea r8d, [rdx + 0x79]
mov r9d, dword [rax]
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov dword [rsp + 0x28], 0xff
mov qword [rsp + 0x20], rdi
call fcn.14006b500
mov rax, rbp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1400b43c0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x28
cmp qword [0x14013d710], 0
mov dword [0x1401430b0], 0xffffffff
je 0x1400b43ea
mov rcx, qword [0x1401430a0]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_SetEvent]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
mov qword [0x1401430a0], rax
test rax, rax
je 0x1400b444f
mov edx, 8
lea ecx, [rdx - 7]
call fcn.140022b68
test rax, rax
je 0x1400b444f
lea rcx, [0x1400b4510]
mov r8, rax
xor edx, edx
mov qword [rax], rbx
call fcn.1400400fc
xor ecx, ecx
mov qword [0x14013d710], rax
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret