joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003a430
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x50], rdx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov rdi, qword [0x1400e3790]
lea r14, [0x1400e36a0]
mov qword [rsp + 0x58], r14
mov rcx, r14
call fcn.140074f84
test eax, eax
jne 0x14003a567
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x30]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140016220
mov rdx, rax
mov rcx, rdi
call fcn.1400304e0
nop
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rsi, dword [rsp + 0x30]
mov qword [rbx], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], bpl
mov dword [rsp + 0x40], 2
mov rdx, rsi
mov rax, qword [rbx + 0x18]
cmp rsi, 0xf
jbe 0x14003a520
mov rcx, rbx
call fcn.140021540
mov qword [rbx + 0x10], rbp
mov rax, qword [rbx + 0x18]
mov rdx, rbx
cmp rax, 0x10
jb 0x14003a52c
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x48]
mov r8d, esi
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
mov rcx, r14
call fcn.140074f8c
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, eax
call fcn.1400738b4
int3

Function at 0x14003c1e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x14003c224
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14003c210
ret
Function at 0x140042410
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, ecx
mov rbx, r8
xor ecx, ecx
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, di
mov r8, rsi
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x14004253c
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rsi
mov rcx, r14
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test rdi, rdi
je 0x14004253c
test eax, eax
je 0x14004253c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14004253c
mov rcx, qword [rbx]
mov qword [rbx + 8], rcx
mov rax, qword [rbx + 0x10]
sub rax, rcx
mov dword [rbp - 0x28], 0xa263b4f
mov dword [rbp - 0x24], 0x5248c5d0
mov dword [rbp - 0x20], 0x34afd4a1
mov dword [rbp - 0x1c], 0xd359110d
mov dword [rbp - 0x18], 0xdf69cd56
mov dword [rbp - 0x14], 0xffb116d2
mov dword [rbp - 0x10], 0xc131da72
mov dword [rbp - 0xc], 0x72b7b4e3
cmp rsi, rax
jbe 0x1400424f2
mov edx, esi
mov rcx, rbx
call fcn.140042560
xor edi, edi
test rsi, rsi
je 0x140042538
nop dword [rax]
mov rdx, qword [rbx + 8]
mov rax, rdi
and eax, 0x1f
movzx ecx, byte [rbp + rax - 0x28]
xor cl, byte [rdi + r14]
mov byte [rbp - 0x30], cl
cmp rdx, qword [rbx + 0x10]
je 0x140042524
mov byte [rdx], cl
inc qword [rbx + 8]
jmp 0x140042530
lea r8, [rbp - 0x30]
mov rcx, rbx
call fcn.140021320
inc rdi
cmp rdi, rsi
jb 0x140042500
mov al, 1
jmp 0x14004253e
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140076190
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140043770
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x140043860
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.14001dd80
nop
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.14001dd80
mov dword [rsp + 0xa0], edi
mov ecx, 0x48
call fcn.1400761e4
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14001dd80
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x80]
call fcn.14001dd80
mov ecx, dword [rsp + 0xa0]
mov dword [rbx + 0x40], ecx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor edi, edi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x14004a7d0]
xor edx, edx
xor ecx, ecx
call fcn.140085f7c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400438a3
lea rcx, [rsp + 0x60]
call fcn.1400438d0
cmp dword [rsp + 0x38], edi
je 0x1400438b2
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.1400750d4
test eax, eax
jne 0x1400438bd
jmp 0x140043882
cmp qword [rdx + 0x18], 8
jb 0x14004386a
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140043874
mov rcx, qword [rcx]
mov r8, rbx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140076190
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
mov dword [rsp + 0x38], edi
mov ecx, 6
call fcn.1400738f0
nop
mov ecx, 1
call fcn.1400738f0
int3
mov ecx, eax
call fcn.1400738b4
int3

Function at 0x140043990
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x34], ebp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbp + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbx], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140043a00
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140005660
mov dword [rsp + 0x34], 1
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xd
jb 0x140043a64
lea rsi, [rcx + 0xd]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x140043a48
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 0x1a
lea rdx, [0x1400c9370]
call fcn.1400785c0
mov word [rdi + rsi*2], bp
jmp 0x140043a87
mov qword [rsp + 0x20], SafeArrayDestroy
lea r9, [0x1400c9370]
movzx r8d, byte [rsp + 0x30]
mov edx, SafeArrayDestroy
mov rcx, rbx
call fcn.14002bb40
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140076190
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140051750
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movzx edi, r8b
lea rcx, [rsp + 0x60]
call fcn.140016220
mov rsi, rax
mov qword [rsp + 0x40], rax
mov rbx, qword [0x1400e3790]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140016220
mov byte [rsp + 0xa0], dil
mov qword [rsp + 0xa8], rbx
mov ecx, 0x30
call fcn.1400761e4
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x90]
movups xmmword [rax + 0x10], xmm1
xor ebp, ebp
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x80], bpl
mov byte [rax + 0x20], dil
mov qword [rax + 0x28], rbx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x14003db30]
xor edx, edx
xor ecx, ecx
call fcn.140085f7c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400518d5
cmp dword [rsp + 0x38], ebp
je 0x1400518e4
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.1400750d4
test eax, eax
jne 0x1400518ef
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140051897
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140051892
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400518cf
mov rcx, r8
call fcn.1400761b0
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsi], 0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140076190
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14007cacc
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.1400738f0
nop
mov ecx, 1
call fcn.1400738f0
int3
mov ecx, eax
call fcn.1400738b4
int3
Function at 0x140053240
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x50
mov rcx, qword [0x1400e3790]
test rcx, rcx
je 0x14005332f
mov dword [rsp + 0x68], 0xa
xor ebx, ebx
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x60]
lea r8d, [rbx + 4]
lea rdx, [rsp + 0x68]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x40], SafeArrayDestroy
movsd xmm0, qword [str.SAVE_SETTINGS]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1400c9980]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x1400c9984]
mov byte [rsp + 0x3c], al
mov byte [rsp + 0x3d], bl
lea rdx, [rsp + 0x30]
mov rcx, qword [0x1400e3790]
call fcn.1400304e0
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x68]
lea r8d, [rbx + 4]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1400e3790]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x60], 1
jne 0x14005332f
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
lea r8d, [rbx + 4]
lea rdx, [rsp + 0x78]
mov rcx, qword [0x1400e3790]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
add rsp, 0x50
pop rbx
ret
Function at 0x1400568d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [0x1400e2fc8]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0xa0]
call rax
mov rbx, rax
test rax, rax
jne 0x140056a5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140057370
nop
lea r8, [0x1400e3450]
cmp qword [0x1400e3468], 8
cmovae r8, qword [0x1400e3450]
mov r9, qword [0x1400e3460]
mov rcx, rax
call fcn.14002fe70
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x1400e3230]
cmp qword [0x1400e3248], 8
cmovae r8, qword [0x1400e3230]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140056a05
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056a00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056aa3
call fcn.1400761b0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140056a56
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056a51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056a9d
call fcn.1400761b0
xor al, al
jmp 0x140056a7c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140076190
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.14007cacc
nop
call fcn.14007cacc
nop
int3
Function at 0x140060d60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, r9d
xor r8d, r8d
mov rsi, rdx
mov rbx, rcx
cmp rdi, 0xffffffffffffffff
jne 0x140060dc4
movzx eax, byte [rdx]
mov edi, r8d
test al, al
je 0x140060db8
nop dword [rax]
nop word [rax + rax]
imul r8d, r8d, 0x1003f
inc rdi
movzx eax, al
add r8d, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x140060da0
test rdi, rdi
jne 0x140060df2
xor eax, eax
jmp 0x140060e79
mov rdx, r8
test rdi, rdi
je 0x140060dbd
nop dword [rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x140060dec
imul r8d, r8d, 0x1003f
inc rdx
add r8d, eax
cmp rdx, rdi
jb 0x140060dd0
jmp 0x140060db8
mov r8d, 0x11
mov eax, dword [rcx + 0x128]
mov edx, r8d
movzx ecx, byte [rcx + 0x12c]
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, r8d
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x140060e71
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x140060e5e
cmp dword [rbx + 0x14], ebp
jne 0x140060e5e
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x140060e4f
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.1400784c0
test eax, eax
je 0x140060e68
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140060e36
jmp 0x140060e71
test rbx, rbx
je 0x140060e71
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140069800
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x1400698f2
xor ebp, ebp
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, rbp
test rbx, rbx
je 0x140069887
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, ebp
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x140069860
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400690b0
mov dword [r14], eax
test eax, eax
jne 0x140069918
mov rax, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rax + 0x48]
call fcn.14006ec30
mov dword [r14], eax
test eax, eax
jne 0x140069918
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140069580
test eax, eax
je 0x1400698f2
mov ecx, dword [rsi]
test eax, ecx
jne 0x140069911
or ecx, eax
xor r8d, r8d
mov dword [rsi], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.14006ecc0
cmp al, 2
jne 0x1400698f2
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x140069840
mov eax, 0x1a
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140076190
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x37
jmp 0x1400698f7
lea rcx, [r15 + 8]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ecc0
cmp al, 2
jne 0x140069991
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x140069991
mov r11, qword [rdi + 8]
mov r10, rbp
test rdx, rdx
je 0x140069979
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, ebp
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x140069950
lea rcx, [rsp + 0x20]
call fcn.140069580
cmp eax, 0x10
jne 0x140069991
or dword [rsi], eax
xor eax, eax
jmp 0x1400698f7
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x1400698f7
Function at 0x140086544
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400863d7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400863d7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400863d7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400863d7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400863d7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400863d7
cmp dword [rcx + 0xf8], 0
je 0x1400863d7
mov ecx, ebx
call fcn.140086478
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140086268
cmp dword [rbp + 0x20], 0
je 0x140086424
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14008642c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140086370
Function at 0x140007790
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400077ed
lea rbx, [0x140105400]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400077d4
cmp r10, 2
jb 0x1400077d4
cmp byte [r9], r8b
jne 0x1400077d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400077b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000782f
lea rbx, [0x140105400]
cmp r8b, 0x23
jne 0x140007813
cmp byte [r9], r8b
jne 0x140007813
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140007800
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140007970
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000798a
mov qword [r8], 0
lea rdx, [0x140104ce4]
call fcn.140007840
mov rbx, rax
test rax, rax
jne 0x1400079aa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140007a83
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140007a83
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140007a83
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140007a83
cmp rdi, 0xffffffffffffffff
je 0x140007a83
mov rax, qword [0x140127ed0]
test rax, rax
je 0x140007a20
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140007a83
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140007a70
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140127ed0]
test rax, rax
je 0x140007a65
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140007a8c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140007a7e
mov qword [r14], rdi
mov rax, rsi
jmp 0x140007a8e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14000a7e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x110]
lea r8, [0x140105400]
movsxd rcx, dword [rcx + 0x108]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x140127ed0]
not ebx
cmp dword [rcx + 0x401c], ebx
jne 0x14000a875
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140029640
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140017ef0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140126800]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140127ed0]
mov edi, ecx
cmp byte [rbx + 0x43fd], 0
jne 0x140017f51
cmp byte [rbx + 0x43fe], 0
jne 0x140017f51
movsx r9d, word [rbx + 0x54de]
lea r8, [0x140104c58]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140007710
test dil, 1
je 0x14001807b
jmp 0x140017fe3
movss xmm1, dword [rbx + 0x39c0]
lea r8, [0x140104c58]
movsx r9d, word [rbx + 0x54de]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14011193c]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x140111930]
addss xmm0, dword [rbx + 0xd9c]
addss xmm1, dword [rbx + 0xda0]
mov qword [rbx + 0x410c], rax
mov dword [rbx + 0x40f4], 1
movss dword [rbx + 0x4104], xmm0
mov byte [rbx + 0x412c], 1
movss dword [rbx + 0x4108], xmm1
movss xmm0, dword [rbx + 0x3a1c]
mulss xmm0, dword [0x140111894]
or dword [rbx + 0x40f0], 0x41
movss dword [rbx + 0x4150], xmm0
call fcn.140007710
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140018033
lea r11, [0x140105400]
cmp r9b, 0x23
jne 0x140018016
cmp byte [r8], r9b
jne 0x140018016
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140018003
not ecx
call fcn.1400103d0
test rax, rax
je 0x14001807b
cmp byte [rax + 0xcb], 0
je 0x14001807b
mov byte [rax + 0xd2], 1
lea r8, [0x140104c58]
mov byte [rax + 0xec], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x54de]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x54de]
call fcn.140007710
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.140013140
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d3ac0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14001d3f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x55d0], 0
lea rbx, [rcx + 0x55d8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001d497
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001d44a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14002aae0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140007eb0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x55d0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x55e0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140127ec8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001d49f
mov rcx, rbx
call fcn.140007eb0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret