joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400125f4
Capabilities:
Check if file exists
Copy file
Get file attributes
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rbx, rdx
lea rdx, [rbp + 0x170]
mov dil, r8b
call fcn.140011dc0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140011dc0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
test eax, eax
jne 0x140012675
test dil, dil
je 0x1400126a4
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call fcn.140070060
test eax, eax
je 0x140012671
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x1400126a6
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400126a4
test al, 0x10
je 0x1400126a4
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400126bb
test al, 0x10
je 0x1400126bb
test dil, dil
jne 0x1400126dd
xor al, al
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x60]
call fcn.140012504
test al, al
je 0x1400126a4
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400126a4
test al, 0x10
je 0x1400126a4
lea rdx, str..
lea rcx, [rbp + 0x170]
call fcn.14006f720
lea rcx, [rbp + 0x170]
call fcn.14006f364
lea rcx, [rsp + 0x60]
mov word [rbp + rax*2 + 0x172], bx
call fcn.14006f364
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], bx
lea rax, [rbp + 0x170]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 2
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
jmp 0x1400126a6
Function at 0x140012764
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x9c0]
sub rsp, 0xac0
mov rbx, rdx
lea rdx, [rbp + 0x180]
mov dil, r8b
call fcn.140011dc0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140011dc0
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140012951
test al, 0x10
je 0x140012951
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x140012892
test al, 0x10
je 0x140012892
test dil, dil
je 0x140012951
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea rcx, [rbp + 0x180]
test eax, eax
jne 0x140012830
lea rdx, [rsp + 0x70]
call fcn.140070060
test eax, eax
je 0x140012829
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
jmp 0x140012953
mov al, 1
jmp 0x140012953
lea rax, [rbp + 0x390]
lea r9, [rbp + 0x5a0]
lea r8, [rbp + 0x7b0]
lea rdx, [rbp + 0x9e8]
mov qword [rsp + 0x20], rax
call fcn.140070abc
lea rdx, [0x14008b76c]
lea rcx, [rsp + 0x70]
call fcn.14006f720
lea rdx, [rbp + 0x5a0]
lea rcx, [rsp + 0x70]
call fcn.14006f720
cmp word [rbp + 0x390], bx
je 0x140012892
lea rdx, [rbp + 0x390]
lea rcx, [rsp + 0x70]
call fcn.14006f720
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
call fcn.140011f04
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
test al, al
je 0x1400128d8
mov r8b, 1
call fcn.1400125f4
test al, al
je 0x140012951
lea rcx, [rbp + 0x180]
mov dl, 1
call fcn.140012968
test al, al
jmp 0x140012821
call fcn.140070060
test eax, eax
je 0x140012951
lea rcx, [rbp + 0x180]
call fcn.14006f364
lea rcx, [rsp + 0x70]
mov word [rbp + rax*2 + 0x182], bx
call fcn.14006f364
lea rcx, [rsp + 0x30]
mov word [rsp + rax*2 + 0x72], bx
lea rax, [rbp + 0x180]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x48], rax
mov eax, 0x614
mov dword [rsp + 0x54], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], 1
mov word [rsp + 0x50], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
jmp 0x140012953
xor al, al
lea r11, [rsp + 0xac0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140012968
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 - 0x170]
sub rsp, 0x270
mov bl, dl
lea rdx, [rsp + 0x60]
call fcn.140011dc0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140012a0a
test al, 0x10
je 0x140012a0a
xor edi, edi
lea rcx, [rsp + 0x60]
test bl, bl
jne 0x1400129ba
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x140012a0c
call fcn.14006f364
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rdi
mov word [rsp + rax*2 + 0x62], di
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x30], rax
mov eax, 0x614
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
jmp 0x140012a0c
xor al, al
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140012b7c
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x120
movsxd rbx, ecx
mov rdi, rdx
lea rcx, [rsp + 0x20]
mov edx, 0x100
call qword [sym.imp.WSOCK32.dll_gethostname]
lea rcx, [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_gethostbyname]
test rax, rax
je 0x140012c42
mov r9, qword [rax + 0x18]
xor r8d, r8d
cmp qword [r9], r8
je 0x140012bcf
mov rax, r9
add rax, 8
inc r8d
cmp qword [rax], 0
jne 0x140012bc2
cmp ebx, r8d
jle 0x140012be5
lea rdx, str.0.0.0.0
mov rcx, rdi
call fcn.14006f74c
jmp 0x140012c3a
mov rdx, qword [r9 + rbx*8 - 8]
lea rcx, [rsp + 0x140]
mov r8d, 4
call fcn.14006f030
mov ecx, dword [rsp + 0x140]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.1400706b0
lea rcx, [rsp + 0x20]
or edx, 0xffffffff
call fcn.140013b58
mov rcx, rdi
mov rdx, rax
mov rbx, rax
call fcn.14006f74c
mov rcx, rbx
call fcn.14006f380
call qword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x140012c51
lea rdx, [0x14008b090]
mov rcx, rdi
call fcn.14006f74c
mov rbx, qword [rsp + 0x130]
add rsp, 0x120
pop rdi
ret

Function at 0x140012e34
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp dl, 1
jne 0x140012e8a
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rsp + 0x28], 0x1388
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x140012ea7
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
jmp 0x140012e9d
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x40
pop rbx
ret
Function at 0x140013130
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test ecx, ecx
js 0x1400131b3
push rbx
sub rsp, 0x20
mov ebx, ecx
test ecx, ecx
je 0x1400131a8
cmp ecx, 0xf
jae 0x1400131a6
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400131a6
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 r11, qword [rsp + 0x38]
sub r11, qword [rsp + 0x40]
pxor xmm1, xmm1
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x48]
cvtsi2sd xmm1, r11
divsd xmm1, xmm0
mulsd xmm1, qword [0x140093668]
cvttsd2si rax, xmm1
cmp eax, ebx
jb 0x14001315e
jmp 0x1400131ae
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
add rsp, 0x20
pop rbx
ret

Function at 0x14001351c
Capabilities:
Print debug messages
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 r12
sub rsp, 0x40
mov r12b, byte [0x1400a4c47]
mov rsi, rdx
mov rdi, rcx
call fcn.1400712e0
mov edx, 0x8000
mov ecx, eax
call fcn.1400711e4
cmp dword [rsi + 8], 0xb
mov ebp, eax
jne 0x140013586
mov rcx, rsi
call fcn.140017738
mov rcx, rsi
movsxd rbx, eax
call fcn.140017808
mov r9, rdi
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.140071494
mov rbx, rax
jmp 0x1400135dc
lea rcx, [rsp + 0x20]
call fcn.140009b54
mov rcx, rsi
call fcn.1400177b8
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.1400103f0
mov r8, qword [rsp + 0x20]
lea rdx, [0x14008de54]
mov rcx, rdi
call fcn.140071524
movsxd rbx, eax
test r12b, r12b
je 0x1400135d2
mov rcx, rsi
call fcn.140017790
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x20]
call fcn.140001d20
mov rcx, rdi
call fcn.140071808
mov rcx, rdi
call fcn.1400712e0
mov edx, 0x4000
mov ecx, eax
cmp ebp, 0xffffffff
je 0x1400135fa
mov edx, ebp
call fcn.1400711e4
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop r12
ret
Function at 0x1400162c8
Capabilities:
Create pipe

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x60
and dword [rax - 0x18], 0
and qword [rax - 0x20], 0
test byte [rcx], 0x10
lea rbx, [rcx + 0x30]
mov dword [rax - 0x28], 0x18
je 0x140016319
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or rdi, 0xffffffffffffffff
mov qword [rbx], rax
cmp rax, rdi
jne 0x140016361
and qword [rbx], 0
mov rdi, qword [rbx]
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
test byte [rcx], 1
je 0x140016345
mov rdi, qword [rbx]
test rdi, rdi
jne 0x14001630b
lea rdx, [rcx + 0x28]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1400163bc
or rdi, 0xffffffffffffffff
jmp 0x14001630b
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or rdi, 0xffffffffffffffff
mov qword [rbx], rax
test rax, rax
je 0x140016374
cmp rax, rdi
je 0x140016374
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.140016408
jmp 0x140016308
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x40]
lea rcx, [0x14008e168]
mov edx, 0x80000000
mov r8d, 1
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx], rax
cmp rax, rdi
je 0x140016304
test rax, rax
je 0x140016304
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
mov r8d, 1
call fcn.140016408
mov rcx, rbx
call fcn.1400163e4
mov r11, qword [rsp + 0x70]
mov qword [rbx], r11
jmp 0x140016308

Function at 0x140016478
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x60
mov eax, dword [rcx]
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov rbx, r9
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetElement
test al, 0x10
je 0x1400164b9
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x1400164ff
and qword [rbx], 0
mov rax, qword [rbx]
add rsp, 0x60
pop rbx
ret
test edx, eax
je 0x1400164e8
mov rax, qword [r9]
test rax, rax
jne 0x1400164b3
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 0x14001655b
or rax, 0xffffffffffffffff
jmp 0x1400164b3
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx], rax
test rax, rax
je 0x140016512
cmp rax, 0xffffffffffffffff
je 0x140016512
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.140016408
jmp 0x1400164b0
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x40]
lea rcx, [0x14008e168]
mov edx, 0x40000000
mov r8d, 2
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x1400164ac
test rax, rax
je 0x1400164ac
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
mov r8d, 1
call fcn.140016408
mov rcx, rbx
call fcn.1400163e4
mov r11, qword [rsp + 0x70]
mov qword [rbx], r11
jmp 0x1400164b0
Function at 0x1400166d4
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x58], 0
mov rbx, rcx
jne 0x14001670b
lea rax, [rsp + 0x40]
mov r9, rcx
lea r8, [0x14001696c]
mov qword [rsp + 0x28], rax
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 0x140016714
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x58], 0
mov rdi, rcx
je 0x14001677c
mov eax, dword [rcx + 0x60]
mov ebp, 0x1f6
xchg dword [rcx + 0x60], eax
cmp eax, ebp
je 0x14001677c
add rcx, 0x28
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x58]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x58]
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rdi + 0x58]
call fcn.1400163e4
xchg dword [rdi + 0x60], ebp
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov r8d, 1
mov dword [0x1400b4ce0], ecx
lea rdx, [0x1400b4ce4]
mov ecx, r8d
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
add rdx, 4
cmp ecx, 0x270
jl 0x14001a016
mov dword [reloc.WSOCK32.dll_accept], r8d
mov dword [0x1400b56b4], r8d
ret

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

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1400b56b4], 0
lea rbx, [0x1400b4ce0]
jne 0x14001a06d
xor ecx, ecx
call fcn.140071b64
mov rcx, rax
call fcn.14001a000
mov dword [reloc.WSOCK32.dll_accept], 0x270
mov qword [0x1400b4cd0], rbx
mov r8d, 0xe3
mov r9d, 0x7ffffffe
mov r10d, 0x9908b0df
mov eax, dword [rbx + 4]
mov ecx, eax
and al, 1
xor ecx, dword [rbx]
and ecx, r9d
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, r10d
xor ecx, eax
xor ecx, dword [rbx + 0x634]
mov dword [rbx], ecx
add rbx, 4
dec r8d
jne 0x14001a090
mov r8d, 0x18c
lea rdx, [rbx + 4]
mov eax, dword [rdx]
mov ecx, eax
and al, 1
xor ecx, dword [rbx]
and ecx, r9d
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, r10d
xor ecx, eax
xor ecx, dword [rbx - 0x38c]
dec r8d
mov dword [rbx], ecx
mov rbx, rdx
jne 0x14001a0c0
mov eax, dword [0x1400b4ce0]
mov ecx, dword [rdx]
xor ecx, eax
and al, 1
and ecx, r9d
xor ecx, dword [rdx]
shr ecx, 1
neg al
sbb eax, eax
and eax, r10d
xor ecx, eax
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rsp, 0x20
pop rbx
ret
Function at 0x14001a118
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
dec dword [reloc.WSOCK32.dll_accept]
jne 0x14001a129
call fcn.14001a048
mov rax, qword [0x1400b4cd0]
pxor xmm0, xmm0
mov ecx, dword [rax]
add rax, 4
mov qword [0x1400b4cd0], 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 [0x140093658]
add rsp, 0x28
ret

Function at 0x14001a3cc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov edx, 1
mov rbx, rcx
lea r8d, [rdx + 7]
cmp dword [rcx + 0x1c], edx
jne 0x14001a3fd
mov edx, dword [rcx + 0x14]
add rdx, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.14006f030
jmp 0x14001a40b
mov r9, qword [rcx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140072074
movzx ecx, byte [rsp + 0x34]
movzx eax, byte [rsp + 0x35]
add dword [rbx + 0x14], 8
shl ecx, 8
lea rdx, str.EA06
xor ebx, ebx
or ecx, eax
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x34], bl
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x37]
shl ecx, 8
or ecx, eax
mov dword [rdi], ecx
lea rcx, [rsp + 0x30]
call fcn.1400720b0
test eax, eax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001a70c
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, 0x20
xor esi, esi
mov edi, edx
mov rbx, rcx
mov word [rcx + 0x46a], si
mov ebp, 0x10000
dec edi
cmp dword [rbx + 0x46c], esi
jne 0x14001a81b
cmp dword [rbx + 0x1c], 1
jne 0x14001a778
mov ecx, dword [rbx + 0x14]
mov r8, qword [rbx + 8]
movzx eax, byte [rcx + r8]
lea edx, [rcx + 1]
shl eax, 8
mov dword [rbx + 0x14], edx
or dword [rbx + 0x468], eax
movzx ecx, byte [rdx + r8]
lea eax, [rdx + 1]
or dword [rbx + 0x468], ecx
mov dword [rbx + 0x14], eax
jmp 0x14001a811
mov eax, dword [rbx + 0x48c]
test eax, eax
je 0x14001a786
cmp eax, ebp
jne 0x14001a7a4
mov r9, qword [rbx + 0x28]
mov rcx, qword [rbx + 0x480]
mov r8, rbp
mov edx, 1
call fcn.140072074
mov dword [rbx + 0x48c], esi
movsxd rcx, dword [rbx + 0x48c]
mov r10, qword [rbx + 0x480]
movzx eax, byte [rcx + r10]
inc ecx
shl eax, 8
mov dword [rbx + 0x48c], ecx
or dword [rbx + 0x468], eax
test ecx, ecx
je 0x14001a7d0
cmp ecx, ebp
jne 0x14001a7ea
mov r9, qword [rbx + 0x28]
mov r8, rbp
mov edx, 1
mov rcx, r10
call fcn.140072074
mov dword [rbx + 0x48c], esi
movsxd r8, dword [rbx + 0x48c]
mov rax, qword [rbx + 0x480]
movzx edx, byte [r8 + rax]
lea eax, [r8 + 1]
or dword [rbx + 0x468], edx
add dword [rbx + 0x14], 2
mov dword [rbx + 0x48c], eax
mov dword [rbx + 0x46c], 0x10
shl dword [rbx + 0x468], 1
dec dword [rbx + 0x46c]
mov eax, dword [rbx + 0x468]
test edi, edi
jne 0x14001a733
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
shr eax, 0x10
add rsp, 0x20
pop rdi
ret

Function at 0x14001a850
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
add rcx, 0x44
lea r8d, [rdx + 8]
call fcn.14006fdf0
mov dword [rbx + 0x34], 0x67452301
mov dword [rbx + 0x38], 0xefcdab89
mov dword [rbx + 0x3c], 0x98badcfe
mov dword [rbx + 0x40], 0x10325476
add rsp, 0x20
pop rbx
ret
Function at 0x14001b46c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1d0
mov rdi, rcx
lea rcx, [0x14008b090]
mov rsi, rdx
call fcn.140013c04
lea rcx, [rsp + 0xc0]
mov rdx, rax
mov rbx, rax
call fcn.1400706b0
mov rcx, rbx
call fcn.14006f380
lea rcx, [rsp + 0x30]
call fcn.14001a850
lea rcx, [rsp + 0xc0]
call fcn.1400704a0
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.14001a850
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x30]
mov r8d, ebx
call fcn.14001a88c
lea rcx, [rsp + 0x30]
call fcn.14001a940
xor ebx, ebx
mov dword [rdi + 0xc], ebx
mov ecx, ebx
mov edx, ebx
movzx eax, byte [rsp + rcx + 0x30]
inc rcx
add edx, eax
cmp rcx, 0x10
jl 0x14001b4f7
mov dword [rdi + 0xc], edx
lea rdx, [0x14008e1f0]
mov rcx, rsi
call fcn.140071ca4
mov qword [rdi], rax
test rax, rax
jne 0x14001b528
mov eax, 1
jmp 0x14001b593
mov rcx, rdi
call fcn.14001b5a8
mov esi, eax
test eax, eax
je 0x14001b542
mov rcx, qword [rdi]
call fcn.140071d2c
mov eax, esi
jmp 0x14001b593
mov r9, qword [rdi]
mov edx, 1
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0xf]
call fcn.140072074
lea rcx, [rsp + 0x20]
mov edx, reloc.WSOCK32.dll_recv
mov r8d, 0x99f2
call fcn.14001b710
mov dword [rdi + 0xc], ebx
mov ecx, ebx
movzx eax, byte [rsp + rbx + 0x20]
inc rbx
imul ecx, eax
cmp rbx, 0x10
jl 0x14001b572
mov dword [rdi + 0xc], ecx
mov rcx, qword [rdi]
call fcn.1400723c4
mov dword [rdi + 8], eax
xor eax, eax
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14001b5a8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0xff40]
mov eax, 0x10040
call fcn.14007edb0
sub rsp, rax
xor edx, edx
mov rdi, rcx
lea rcx, [0x140000000]
lea r12d, [rdx + 1]
mov al, byte [rdx + rcx + 0x9e2c0]
mov byte [rsp + rdx + 0x20], al
mov al, byte [rdx + rcx + 0x9e048]
mov byte [rsp + rdx + 0x28], al
add rdx, r12
cmp rdx, 8
jl 0x14001b5db
lea rdx, str.AU3_
lea rcx, [rbp + 0xff68]
call fcn.1400706b0
lea rdx, [rbp + 0xff68]
lea rcx, [rsp + 0x30]
mov r8d, 4
call fcn.14006f030
xor esi, esi
mov r9, qword [rdi]
lea rcx, [rsp + 0x40]
mov r8d, 0x10000
mov rdx, r12
call fcn.140072074
mov rbx, rax
cmp eax, 0x18
jl 0x14001b6f1
lea r11d, [rax - 0x14]
xor r9d, r9d
test r11d, r11d
jle 0x14001b690
lea rdx, [rsp + 0x40]
lea rax, [rsp + 0x20]
sub rdx, rax
xor r10d, r10d
xor r8d, r8d
lea rcx, [rsp + r8 + 0x20]
mov al, byte [rdx + rcx]
cmp byte [rcx], al
jne 0x14001b67f
add r8, r12
add r10d, r12d
cmp r8, 0x14
jl 0x14001b667
cmp r10d, 0x14
je 0x14001b6a6
add r9d, r12d
add rdx, r12
cmp r9d, r11d
jl 0x14001b661
mov rcx, qword [rdi]
mov r8d, r12d
mov edx, 0xffffffec
lea esi, [rsi + rbx - 0x14]
call fcn.1400724d0
jmp 0x14001b626
mov rcx, qword [rdi]
lea edx, [rsi + r9 + 0x14]
xor r8d, r8d
call fcn.1400724d0
mov r9, qword [rdi]
lea rcx, [rbp + 0xff68]
mov r8d, 4
mov rdx, r12
call fcn.140072074
lea rdx, str.EA06
lea rcx, [rbp + 0xff68]
mov byte [rbp + 0xff6c], 0
call fcn.1400720b0
neg eax
sbb eax, eax
and eax, 4
jmp 0x14001b6f6
mov eax, 3
lea r11, [rsp + 0x10040]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x14001b710
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x100
mov rsi, rcx
lea rcx, [rsp + 0x20]
mov ebx, r8d
mov edi, edx
call fcn.14001b298
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.14001b3e4
test edi, edi
je 0x14001b77d
mov ebx, edi
lea rcx, [rsp + 0x20]
call fcn.14001b2f4
lea rcx, [rsp + 0x20]
call fcn.14001b2f4
mov ecx, 0xff
mulsd xmm0, qword [0x140093670]
cvttsd2si eax, xmm0
cmp eax, 0x100
cmovge eax, ecx
xor byte [rsi], al
inc rsi
dec rbx
jne 0x14001b746
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret