joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401151f0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14019d040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1401ae8d0], 0
je 0x140115240
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
cmp rcx, qword [0x14019d040]
je 0x140115233
call fcn.1400c6de0
int3
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1401ae8d8]
test rdi, rdi
jne 0x14011530d
mov ecx, 0x18
call fcn.1400c5ab8
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400f5e20
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x140171db0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.14008dd30
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x1401152ba
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x1401152f1
add rax, rax
test rax, rax
je 0x1401152f1
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x1401152c2
cmp rdx, 0xfffffffffffffffe
je 0x1401152f1
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.1400891c0
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.14008ef80
mov qword [0x1401ae8d8], rdi
test byte [0x14019f144], 1
je 0x140115219
cmp byte [rdi + 0x17], 0
jns 0x140115323
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401ae8d0], rax
inc rax
cmp rax, 1
ja 0x140115219
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1400f5e20
mov word [rsi], 0
mov ecx, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x14011545b
mov rcx, qword [0x1401ae8d8]
lea rdx, [rsp + 0x40]
call fcn.140038200
mov rcx, qword [0x1401ae8d8]
movsx rax, byte [rcx + 0x17]
test rax, rax
js 0x14011546a
test al, al
je 0x14011547b
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1401153f1
lea rdx, [0x140176c4e]
mov r8d, 1
call fcn.14008ef80
mov rcx, qword [0x1401ae8d8]
lea rdx, str.debug.log
mov r8d, 9
call fcn.14008ef80
mov rcx, qword [0x1401ae8d8]
cmp byte [rcx + 0x17], 0
jns 0x140115413
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401ae8d0], rax
inc rax
cmp rax, 1
ja 0x140115462
mov qword [0x1401ae8d0], 0
xor esi, esi
jmp 0x140115219
mov sil, 1
jmp 0x140115219
mov rax, qword [rcx + 8]
test rax, rax
je 0x14011547b
mov rdx, qword [rcx]
jmp 0x1401153d0
ud2
Function at 0x140126850
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x1401268a6
xor r11d, r11d
mov rdi, qword [r8 + r11*8]
mov rbx, qword [rcx + r11*8]
xor r14d, r14d
mov rsi, rbx
sub rsi, rdi
sete r14b
neg r14
xor rdi, rbx
xor rsi, rbx
or rsi, rdi
xor rsi, rbx
sar rsi, 0x3f
or rsi, 1
xor rax, rsi
and rax, r14
xor rax, rsi
inc r11
cmp r10, r11
jne 0x140126869
cmp rdx, r9
jb 0x1401268b3
ja 0x1401268d0
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x1401268b5
xor edx, edx
cmp rcx, 1
sbb rdx, rdx
not edx
or eax, edx
jmp 0x1401268ad
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x1401268d3
xor ecx, ecx
cmp r8, 1
sbb rcx, rcx
xor eax, 1
and eax, ecx
xor eax, 1
jmp 0x1401268ad
Function at 0x14012ee90
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
xor eax, eax
ret
Function at 0x140136c60
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r12, r8
mov rdi, rdx
mov rsi, rcx
mov r13, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
add rcx, r13
setb dl
movabs rax, 0xfffffffe0
cmp rcx, rax
seta r8b
xor eax, eax
or r8b, dl
jne 0x140136edf
mov r14, r9
lea rbp, [rsi + 0x50]
mov rbx, qword [rsi + 0x160]
mov r15, qword [rsi + 0x150]
mov rax, qword [rsi + 0x158]
mov qword [rsp + 0x30], rax
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x174], 0
je 0x140136cef
lea rcx, [rsi + 0x40]
mov rdx, rbp
mov rax, r15
call qword [0x1401904a0]
mov dword [rsi + 0x174], 0
mov eax, dword [rsi + 0x170]
test eax, eax
je 0x140136d56
test r13, r13
je 0x140136ed4
mov cl, byte [r12]
inc r12
mov edx, eax
mov r8b, byte [rsi + rdx + 0x10]
xor r8b, cl
mov byte [r14], r8b
xor byte [rsi + rdx + 0x40], cl
inc r14
lea r8, [r13 - 1]
inc eax
and eax, 0xf
je 0x140136d31
cmp r13, 1
mov r13, r8
jne 0x140136d02
test eax, eax
jne 0x140136ed4
lea rcx, [rsi + 0x40]
mov qword [rsp + 0x28], rbp
mov rdx, rbp
mov rax, r15
mov r15, r8
call qword [0x1401904a0]
mov r8, r15
jmp 0x140136d5e
mov qword [rsp + 0x28], rbp
mov r8, r13
mov ebp, dword [rsi + 0xc]
bswap ebp
cmp r8, 0xc00
jb 0x140136e1b
lea rax, [rsi + 0x40]
mov qword [rsp + 0x38], rax
lea r13, [rsi + 0x10]
mov rax, r14
mov rcx, r12
mov qword [rsp + 0x40], r8
mov r15, rcx
mov r14, rax
mov r9d, 0xc00
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
mov r8, r15
mov rax, qword [rsp + 0x30]
call qword [0x1401904a0]
xor r12d, r12d
mov rcx, rsi
mov rdx, r13
mov r8, rdi
mov rax, rbx
call qword [0x1401904a0]
inc ebp
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
mov rax, qword [rsi + 0x10]
xor rax, qword [r15 + r12]
mov qword [r14 + r12], rax
mov rax, qword [rsi + 0x18]
xor rax, qword [r15 + r12 + 8]
mov qword [r14 + r12 + 8], rax
add r12, 0x10
cmp r12, 0xc00
jne 0x140136daf
mov r8, qword [rsp + 0x40]
add r8, 0xfffffffffffff400
lea rax, [r14 + r12]
lea rcx, [r15 + r12]
cmp r8, 0xbff
ja 0x140136d83
add r14, r12
add r15, r12
mov r12, r15
mov r9, r8
and r9, 0xff0
je 0x140136e93
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x28]
mov r15, r8
mov r8, r12
mov rax, qword [rsp + 0x30]
call qword [0x1401904a0]
mov r8, r15
lea r15, [rsi + 0x10]
mov rcx, rsi
mov rdx, r15
mov r13, r8
mov r8, rdi
mov rax, rbx
call qword [0x1401904a0]
mov r8, r13
inc ebp
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
mov rax, qword [rsi + 0x10]
xor rax, qword [r12]
mov qword [r14], rax
mov rax, qword [rsi + 0x18]
xor rax, qword [r12 + 8]
mov qword [r14 + 8], rax
add r14, 0x10
add r12, 0x10
add r8, 0xfffffffffffffff0
cmp r8, 0xf
ja 0x140136e48
test r8, r8
je 0x140136ef0
lea rdx, [rsi + 0x10]
mov rcx, rsi
mov r15, r8
mov r8, rdi
mov rax, rbx
call qword [0x1401904a0]
mov r8, r15
inc ebp
bswap ebp
mov dword [rsi + 0xc], ebp
xor eax, eax
mov ecx, eax
mov dl, byte [r12 + rcx]
xor byte [rsi + rcx + 0x40], dl
xor dl, byte [rsi + rcx + 0x10]
mov byte [r14 + rcx], dl
inc rax
cmp r8, rax
jne 0x140136eba
mov dword [rsi + 0x170], eax
mov eax, 1
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140136ed4
Function at 0x1401649f0
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x140164a2f
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x1401649ff
mov dword [rsi], 7
jmp 0x1401649ff
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14007aa50
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x140164a0b
mov r14, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140164a0b
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x140164ae1
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x140164a01
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1401649ff
Function at 0x140001b38
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b82
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b82
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b82
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b82
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b82
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b84
xor al, al
add rsp, 0x28
ret
Function at 0x140001e70
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.140001c40
mov rcx, rax
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400036e0
mov r8d, 4
jmp 0x140003e10
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x140002520
mov rcx, rdx
jmp 0x140003d60
jmp 0x140002650
xor r9d, r9d
test r8, r8
je 0x140003e44
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r9]
inc r9
xor rcx, rax
imul rcx, r10
cmp r9, r8
jb 0x140003e30
mov rax, rcx
ret

Function at 0x140001ec0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.140001c40
mov rcx, rax
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400036f0
mov r8, rdx
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x140003e10
mov rcx, rdx
jmp 0x140003d70
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140004e60
mov rcx, rdi
mov rbx, rax
call fcn.1400048c0
mov rdx, rbx
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140002630

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.140001c40
mov rcx, rax
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400036f0
mov r8, rdx
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x140003e10
mov rcx, rdx
jmp 0x140003d70
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140004e60
mov rcx, rdi
mov rbx, rax
call fcn.1400048c0
mov rdx, rbx
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140002630
Function at 0x140010200
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x14001021b
mov qword [r8], 0
call fcn.1400102e0
mov rbx, rax
test rax, rax
jne 0x140010231
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call fcn.140010180
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400102b3
lea rcx, [rax + rbp]
call fcn.140012d30
mov rsi, rax
test rax, rax
je 0x1400102b3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp rax, rdi
je 0x14001028c
mov rcx, rbx
call fcn.140010160
mov rcx, rsi
call fcn.140012d50
jmp 0x1400102bb
test ebp, ebp
jle 0x14001029e
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call fcn.14010f3d6
mov rcx, rbx
call fcn.140010160
test r14, r14
je 0x1400102ae
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400102bd
mov rcx, rbx
call fcn.140010160
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x1400106e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x14001071d
lea r10, [0x140114430]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r10 + rcx*4]
sub rdx, 1
jne 0x140010700
not r8d
mov eax, r8d
ret

Function at 0x140010730
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 0x14001078d
lea rbx, [0x140114430]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140010774
cmp r10, 2
jb 0x140010774
cmp byte [r9], r8b
jne 0x140010774
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 0x140010750
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400107cf
lea rbx, [0x140114430]
cmp r8b, 0x23
jne 0x1400107b3
cmp byte [r9], r8b
jne 0x1400107b3
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 0x1400107a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140012be0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c58], 0
mov rbx, r8
mov rbp, rdx
mov rdi, rcx
je 0x140012c5b
xor edx, edx
add rcx, 0x5c60
call fcn.14001f330
mov r8, rbx
lea rcx, [rdi + 0x5c60]
mov rdx, rbp
call fcn.14001e110
lea rcx, [rdi + 0x5c60]
call fcn.14001f6d0
lea rcx, [rdi + 0x5c60]
movsxd rbx, eax
call fcn.14001e2a0
mov r9, qword [rdi + 0x5c58]
mov r8, rbx
mov edx, 1
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
jmp 0x140012c67
add rcx, 0x5c60
call fcn.14001e110
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140015190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rdi, qword [0x14017d958]
movaps xmmword [rsp + 0x20], xmm7
xorps xmm7, xmm7
mov rsi, qword [rdi + 0x48a8]
test dword [rsi + 0x14], 0x40000
jne 0x14001529a
cmp qword [rdi + 0x4a10], 0
jne 0x14001529a
mov edx, 0xffffffff
mov ecx, 0x206
call fcn.140011940
mov edx, 0xffffffff
mov ecx, 0x207
mov r8d, 1
movzx ebx, al
call fcn.140011980
mov edx, 0xffffffff
mov ecx, 0x208
mov r8d, 1
movzx r14d, al
call fcn.140011980
mov edx, 0xffffffff
mov ecx, 0x205
movzx ebp, al
call fcn.140011940
cmp al, bl
jne 0x140015236
cmp r14b, bpl
je 0x14001529a
cmp dword [rdi + 0x48e0], 0
je 0x140015246
xor ecx, ecx
call fcn.140013af0
cmp word [rsi + 0x15c], 0
jne 0x140015308
cmp byte [rsi + 0x161], 0
je 0x140015308
mov edx, 0xffffffff
mov ecx, 0x205
mov r8d, 1
call fcn.140011980
test al, al
je 0x1400152bd
lea rcx, [rsi + 0x1f8]
call fcn.14000f2b0
movss xmm1, dword [rsi + 0x88]
subss xmm1, xmm0
mov rcx, rsi
call fcn.14001a1b0
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop r14
ret
mov edx, 0xffffffff
mov ecx, 0x206
mov r8d, 1
call fcn.140011980
test al, al
je 0x1400152ef
lea rcx, [rsi + 0x1f8]
call fcn.14000f2b0
addss xmm0, dword [rsi + 0x88]
movaps xmm1, xmm0
jmp 0x140015292
test r14b, r14b
je 0x1400152f9
xorps xmm1, xmm1
jmp 0x140015292
test bpl, bpl
je 0x14001529a
movss xmm1, dword [rsi + 0x90]
jmp 0x140015292
movsxd rbx, dword [rdi + 0x48e0]
lea rcx, [rsi + 0x1f8]
shl rbx, 4
add rbx, 0x3a8
movaps xmmword [rsp + 0x30], xmm6
add rbx, rsi
call fcn.14000f2b0
mov rcx, rsi
movaps xmm6, xmm0
call fcn.14000aa60
mov rcx, rbx
subss xmm6, xmm0
call fcn.14000f2b0
addss xmm6, xmm0
xorps xmm0, xmm0
movaps xmm1, xmm6
call fcn.1400050d0
mov dl, 1
mov ecx, 0x205
movaps xmm6, xmm0
call fcn.140011a20
test al, al
je 0x14001539c
movaps xmm7, xmm6
mov dword [rdi + 0x4910], 3
xorps xmm7, xmmword [0x140116000]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm0, xmm7
mov dword [rdi + 0x4918], 2
mov dword [rdi + 0x4904], 0x30
jmp 0x14001529d
mov dl, 1
mov ecx, 0x206
call fcn.140011a20
test al, al
je 0x1400153c5
movaps xmm7, xmm6
mov dword [rdi + 0x4918], 3
mov dword [rdi + 0x4904], 0x30
jmp 0x140015435
test r14b, r14b
je 0x140015404
xor esi, esi
mov rcx, rbx
mov dword [rbx + 0xc], esi
mov dword [rbx + 4], esi
call fcn.1400116d0
test al, al
je 0x1400153e3
mov dword [rbx + 8], esi
mov dword [rbx], esi
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm0, xmm7
mov dword [rdi + 0x4910], 3
mov dword [rdi + 0x4904], 0x50
jmp 0x14001529d
test bpl, bpl
je 0x14001543f
movss xmm0, dword [rsi + 0x3c]
mov rcx, rbx
movss dword [rbx + 0xc], xmm0
movss dword [rbx + 4], xmm0
call fcn.1400116d0
test al, al
je 0x14001542b
xor esi, esi
mov dword [rbx + 8], esi
mov dword [rbx], esi
mov dword [rdi + 0x4904], 0x50
mov dword [rdi + 0x4910], 2
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm0, xmm7
jmp 0x14001529d
Function at 0x1400190e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14017d958]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5bbc], ecx
test rbx, rbx
je 0x14001914d
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140019160
lea rdx, [0x140115d4c]
mov rcx, rbx
mov rdi, rax
call fcn.1400102e0
mov rbx, rax
test rax, rax
je 0x140019148
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
call fcn.140010160
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140028870
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov r10, rdx
movzx r9d, cx
mov eax, 0x5e6ea9af
shr ecx, 0x10
mul r8d
mov ebx, r8d
mov esi, r8d
shr edx, 0xb
imul eax, edx, 0x15b0
sub ebx, eax
test r8d, r8d
je 0x1400289bf
mov qword [rsp + 0x20], rdi
xor r11d, r11d
cmp ebx, 7
jbe 0x140028926
mov edx, 7
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r10]
add r11d, 8
add r9d, eax
add edx, 8
movzx eax, byte [r10 + 1]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 2]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 3]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 4]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 5]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 6]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 7]
add ecx, r9d
add r9d, eax
add r10, 8
add ecx, r9d
cmp edx, ebx
jb 0x1400288c0
xor edx, edx
xor r8d, r8d
cmp r11d, ebx
jae 0x140028987
mov eax, ebx
sub eax, r11d
cmp eax, 2
jb 0x140028974
mov eax, ebx
sub eax, r11d
sub eax, 2
shr eax, 1
inc eax
mov edi, eax
lea r11d, [r11 + rax*2]
nop dword [rax]
movzx eax, byte [r10]
add r9d, eax
movzx eax, byte [r10 + 1]
add edx, r9d
add r10, 2
add r9d, eax
add r8d, r9d
sub rdi, 1
jne 0x140028950
cmp r11d, ebx
jae 0x140028981
movzx eax, byte [r10]
add r9d, eax
add ecx, r9d
inc r10
lea eax, [r8 + rdx]
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
sub esi, ebx
mov ebx, 0x15b0
jne 0x1400288a7
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
shl ecx, 0x10
lea eax, [r9 + rcx]
pop rsi
ret
Function at 0x140031590
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
Function at 0x14004ea50
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x1f0
mov rax, qword [0x14017ce80]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x20], r8
mov rbp, rdx
mov rbx, rcx
test rdx, rdx
je 0x14004ed09
xorps xmm0, xmm0
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, 0x108
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call fcn.14010f3d6
mov r9d, 0x40
lea r8, [rsp + 0x70]
mov rdx, rbp
mov rcx, rbx
call fcn.14004fb30
test al, al
je 0x14004ed09
mov eax, 0x5a4d
cmp word [rsp + 0x70], ax
jne 0x14004ed09
movsxd rdx, dword [rsp + 0xac]
lea r8, [rsp + 0xb0]
add rdx, rbp
mov r9d, 0x108
mov rcx, rbx
call fcn.14004fb30
test al, al
je 0x14004ed09
cmp dword [rsp + 0xb0], 0x4550
jne 0x14004ed09
mov esi, dword [rsp + 0x138]
test esi, esi
je 0x14004ed09
mov eax, dword [rsp + 0x13c]
test eax, eax
je 0x14004ed09
mov qword [rsp + 0x210], rdi
mov r9d, 4
mov qword [rsp + 0x1d8], r14
mov r8d, 0x3000
mov edx, eax
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9d, r14d
mov qword [rsp + 0x38], rsi
mov rdi, rax
mov rcx, rbx
lea rax, [rsi + rbp]
mov r8, rdi
mov rdx, rax
mov qword [rsp + 0x30], rax
call fcn.14004fb30
test al, al
jne 0x14004eba8
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14004ec64
mov eax, dword [rdi + 0x1c]
mov r14, rdi
sub r14, rsi
mov qword [rsp + 0x1e8], r12
mov r12d, dword [rdi + 0x20]
add rax, r14
mov qword [rsp + 0x1e0], r13
add r12, r14
mov r13d, dword [rdi + 0x24]
xor esi, esi
add r13, r14
mov qword [rsp + 0x1d0], r15
mov qword [rsp + 0x28], rax
cmp dword [rdi + 0x18], esi
jbe 0x14004ec39
nop word [rax + rax]
mov edx, dword [r12 + rsi*4]
lea rcx, [rsp + 0x48]
add rdx, r14
call fcn.140002e70
mov rcx, qword [rsp + 0x20]
call fcn.1400048c0
lea rcx, [rsp + 0x48]
mov rbx, rax
call fcn.1400048c0
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14004ec8f
lea rcx, [rsp + 0x48]
call fcn.1400034d0
inc esi
cmp esi, dword [rdi + 0x18]
jb 0x14004ebf0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov r12, qword [rsp + 0x1e8]
mov r13, qword [rsp + 0x1e0]
mov r15, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x210]
mov r14, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14010dc10
add rsp, 0x1f0
pop rsi
pop rbp
pop rbx
ret
movzx eax, word [r13 + rsi*2]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + rax*4]
cmp ecx, 0x1000
jbe 0x14004ecd3
lea rbx, [rcx + rbp]
cmp rbx, qword [rsp + 0x30]
jb 0x14004ece6
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x40]
add rax, rbp
cmp rbx, rax
ja 0x14004ece6
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
lea rcx, [rsp + 0x48]
call fcn.1400034d0
mov eax, ebx
jmp 0x14004ec4c
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rsp + 0x48]
call fcn.1400034d0
mov rax, rbx
jmp 0x14004ec4c
xor eax, eax
jmp 0x14004ec74