joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cdd30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x20], rsi
mov rsi, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x1400cdf47
mov qword [r11 + 0x18], rbp
lea rbp, [0x140000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
nop
test rsi, rsi
je 0x1400cdd8e
cmp r8, rsi
jae 0x1400cdf24
movzx edx, byte [r8]
test dl, dl
je 0x1400cdf24
xor ebx, ebx
mov eax, edx
shr rax, 3
mov rcx, rsi
movsx r9, byte [rax + rbp + 0x332c20]
test r9d, r9d
sete bl
add ebx, r9d
test rsi, rsi
jne 0x1400cddc2
movsxd rcx, ebx
add rcx, r8
xor r14d, r14d
lea rax, [r8 + 1]
cmp r8, rcx
cmovb r14d, edx
cmp rax, rcx
jae 0x1400cdddb
movzx r13d, byte [rax]
jmp 0x1400cddde
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x1400cdded
movzx r12d, byte [rax]
jmp 0x1400cddf0
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x1400cddff
movzx r15d, byte [rax]
jmp 0x1400cde02
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov ebp, dword [r10 + rbp + 0x332c58]
and ebp, eax
movzx r9d, r13b
shl ebp, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or ebp, eax
movzx r11d, r15b
shl ebp, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or ebp, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl ebp, 6
or ebp, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x140000000]
mov ecx, dword [r10 + rax + 0x332c08]
shr r11d, 2
shr ebp, cl
mov ecx, 0x100
cmp ebp, dword [r10 + rax + 0x332bf0]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, ebp
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp ebp, 0xffff
cmova eax, ecx
lea rcx, [0x140000000]
mov ecx, dword [r10 + rcx + 0x332c40]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x1400cdf06
test r15b, r15b
mov eax, r9d
mov ecx, r9d
mov ebp, 0xfffd
setne cl
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
mov eax, r9d
test r14b, r14b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
mov word [rdi], bp
add rdi, 2
movsxd rax, ebx
lea rbp, [0x140000000]
add r8, rax
cmp rdi, qword [rsp]
jb 0x1400cdd80
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov word [rdi], r9w
test rax, rax
je 0x1400cdf5d
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x1400ce140
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400ce15a
mov qword [r8], 0
lea rdx, [0x140332a08]
call fcn.1400ce330
mov rbx, rax
test rax, rax
jne 0x1400ce17a
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 0x1400ce225
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 0x1400ce225
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400ce225
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 0x1400ce225
cmp rdi, 0xffffffffffffffff
je 0x1400ce225
mov rcx, rdi
call fcn.1400c90c0
mov rsi, rax
test rax, rax
je 0x1400ce225
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 0x1400ce212
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.1400c9030
jmp 0x1400ce22e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400ce220
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400ce230
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 0x1400ce470
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 0x1400ce4cd
lea rbx, [0x14013ba70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400ce4b4
cmp r10, 2
jb 0x1400ce4b4
cmp byte [r9], r8b
jne 0x1400ce4b4
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 0x1400ce490
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400ce50f
lea rbx, [0x14013ba70]
cmp r8b, 0x23
jne 0x1400ce4f3
cmp byte [r9], r8b
jne 0x1400ce4f3
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 0x1400ce4e0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400d4080
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov r10, rdx
mov eax, 0x5e6ea9af
mul r8d
mov ebx, r8d
xor r9d, r9d
shr edx, 0xb
mov esi, r8d
imul eax, edx, 0x15b0
mov ecx, 1
sub ebx, eax
test r8d, r8d
je 0x1400d41cc
mov qword [rsp + 0x20], rdi
xor r11d, r11d
cmp ebx, 7
jbe 0x1400d412e
mov edx, 7
nop word [rax + rax]
movzx eax, byte [r10]
add r11d, 8
add ecx, eax
add edx, 8
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add ecx, eax
add r10, 8
add r9d, ecx
cmp edx, ebx
jb 0x1400d40d0
xor edx, edx
xor r8d, r8d
cmp r11d, ebx
jae 0x1400d4194
mov eax, ebx
sub eax, r11d
cmp eax, 2
jb 0x1400d4181
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]
nop dword [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add edx, ecx
add r10, 2
add ecx, eax
add r8d, ecx
sub rdi, 1
jne 0x1400d4160
cmp r11d, ebx
jae 0x1400d418d
movzx eax, byte [r10]
add ecx, eax
add r9d, ecx
inc r10
lea eax, [r8 + rdx]
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
sub esi, ebx
mov ebx, 0x15b0
jne 0x1400d40b8
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
shl r9d, 0x10
lea eax, [rcx + r9]
pop rsi
ret
Function at 0x1400ed330
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14038bb10]
test rax, rax
je 0x1400ed34b
mov rbx, qword [rax + 0x90]
jmp 0x1400ed34d
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400ed378
mov dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x14010cc80
Capabilities:
Reference wmi statements

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140335130]
movdqu xmmword [rsp + 0x58], xmm1
movsd xmm0, qword [str.ProcessorId]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x140333c50]
mov word [rsp + 0x50], ax
movzx eax, byte [0x140333c52]
mov byte [rsp + 0x52], al
mov byte [rsp + 0x53], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140094c1c
mov rdx, rax
mov qword [rsp + 0x28], rax
movdqa xmm0, xmmword [0x1403351f0]
movdqu xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [str.SELECT__FROM_Win32_Processor]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140333bf0]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140333bf8]
mov dword [rax + 0x18], ecx
movzx eax, byte [0x140333bfc]
mov byte [rdx + 0x1c], al
mov byte [rdx + 0x1d], 0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14010d1b0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14010cd7b
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010cd76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010cd76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140094e98
movdqa xmm0, xmmword [0x1403350b0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14010cdce
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010cdc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010cdc9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140094e98
mov rax, rbx
add rsp, 0x70
pop rbx
ret
Function at 0x14010cde0
Capabilities:
Reference wmi statements

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movdqa xmm1, xmmword [0x140335140]
movdqu xmmword [rsp + 0x38], xmm1
movsd xmm0, qword [str.SerialNumber]
movsd qword [rsp + 0x28], xmm0
mov eax, dword [0x140333c30]
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x34], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov ecx, Ordinal_50
call fcn.140094c1c
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [reloc.WLDAP32.dll_Ordinal_33]
movdqu xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [str.SELECT__FROM_Win32_PhysicalMedia]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140333c10]
movups xmmword [rax + 0x10], xmm1
movzx ecx, byte [0x140333c20]
mov byte [rax + 0x20], cl
mov byte [rax + 0x21], 0
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14010d1b0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14010cec0
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010cebb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010cebb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140094e98
movdqa xmm0, xmmword [0x1403350b0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14010cf13
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010cf0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010cf0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140094e98
mov rax, rbx
add rsp, 0x70
pop rbx
ret
Function at 0x14010cf30
Capabilities:
Reference wmi statements

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_connect]
movdqu xmmword [rsp + 0x38], xmm1
mov dword [rsp + 0x28], 0x656d614e
mov byte [rsp + 0x2c], 0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov ecx, Ordinal_50
call fcn.140094c1c
mov rdx, rax
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [reloc.WLDAP32.dll_Ordinal_35]
movdqu xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [str.SELECT__FROM_Win32_VideoController]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140333bc8]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x140333bd8]
mov word [rax + 0x20], cx
movzx eax, byte [0x140333bda]
mov byte [rdx + 0x22], al
mov byte [rdx + 0x23], 0
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14010d1b0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14010d00b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010d006
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010d006
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140094e98
movdqa xmm0, xmmword [0x1403350b0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14010d05e
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010d059
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010d059
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140094e98
mov rax, rbx
add rsp, 0x70
pop rbx
ret
Function at 0x14010d070
Capabilities:
Reference wmi statements

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_connect]
movdqu xmmword [rsp + 0x58], xmm1
mov dword [rsp + 0x48], 0x656d614e
mov byte [rsp + 0x4c], 0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140094c1c
mov rdx, rax
mov qword [rsp + 0x28], rax
movdqa xmm0, xmmword [0x1403351f0]
movdqu xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [str.SELECT__FROM_Win32_Processor]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140333bf0]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140333bf8]
mov dword [rax + 0x18], ecx
movzx eax, byte [0x140333bfc]
mov byte [rdx + 0x1c], al
mov byte [rdx + 0x1d], 0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14010d1b0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14010d14b
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010d146
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010d146
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140094e98
movdqa xmm0, xmmword [0x1403350b0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14010d19e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010d199
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010d199
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140094e98
mov rax, rbx
add rsp, 0x70
pop rbx
ret
Function at 0x1400026d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x14021eea4], 0
lea rdi, [0x14021eea0]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x1400027a8
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140002700
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x1400027de
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x1400027c0
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14000281f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140002803
cmp byte [r8], r9b
jne 0x140002803
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x1400027f0
not eax
pop rdi
ret
Function at 0x140011e50
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0x20
mov rbx, qword [0x14021eb90]
xor esi, esi
mov r15, rcx
mov dword [rbx + 0x2d9c], esi
test rcx, rcx
je 0x140011f7a
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
lea rdi, [rbx + 0x2da0]
mov dword [rbx + 0x2d9c], esi
mov r8d, dword [rdi + 4]
test r8d, r8d
jns 0x140011eb2
mov eax, r8d
mov rcx, rdi
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.140012de0
mov r8d, dword [rdi + 4]
mov dword [rdi], esi
mov eax, esi
test r8d, r8d
jne 0x140011ec9
lea edx, [r8 + 8]
mov rcx, rdi
call fcn.140012de0
mov eax, dword [rdi]
movsxd rcx, eax
mov ebp, esi
mov rax, qword [rdi + 8]
mov byte [rcx + rax], sil
inc dword [rdi]
cmp dword [rbx + 0x2db0], esi
jle 0x140011f1a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax + rax]
mov r9, qword [rbx + 0x2db8]
mov r8, rdi
add r9, r14
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rbx + 0x2db0]
jl 0x140011ef0
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
cmp qword [rdi + 8], rsi
je 0x140011f29
mov esi, dword [rdi]
dec esi
mov rax, qword [rbx + 0x2da8]
lea rdi, [0x14021eb88]
test rax, rax
movsxd rsi, esi
lea rdx, [0x140043bf4]
mov rcx, r15
cmovne rdi, rax
call fcn.140002830
mov rbx, rax
test rax, rax
je 0x140011f75
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbx
ret
Function at 0x140019c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push rbp
push r13
push r14
sub rsp, 0xb0
xor eax, eax
movsxd r13, r9d
mov dword [rsp + 0xe8], eax
mov r14, rdx
mov qword [rsp + 0x60], r13
mov rbp, rcx
test r9d, r9d
jle 0x140019e4e
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
mov r11d, 0x100
movss xmm8, dword [0x140048a70]
nop dword [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x140019cbc
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x140019cdb
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
movzx eax, byte [rbp + 0x20]
xor edi, edi
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
movzx eax, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x140019df6
mov r15, qword [rsp + 0xf0]
mov rax, r12
mov r13d, dword [rsp + 0xe8]
add r15, 6
shl rax, 4
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x140019d30
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x140019d33
mov edx, dword [rax + rsi]
mov eax, dword [rbp + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140014cd0
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.1400175c0
movzx eax, word [rbp + 0x20]
inc r13d
sub ax, word [rsp + 0x50]
inc r12
dec ax
inc edi
add ax, word [rbp + 0x1c]
add rsi, 4
add ax, word [rsp + 0x54]
mov word [r15 - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x58]
dec ax
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x5c]
mov word [r15], ax
add r15, 0x10
cmp edi, dword [rbx - 0x10]
jl 0x140019d20
mov dword [rsp + 0xe8], r13d
mov r11d, 0x100
mov r13, qword [rsp + 0x60]
add rbx, 0x28
sub r13, 1
mov qword [rsp + 0x60], r13
jne 0x140019c70
mov eax, dword [rsp + 0xe8]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop r14
pop r13
pop rbp
ret
Function at 0x14001d5b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001d767
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14001d646
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001cf80
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001c590
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14001d637
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140012b40
mov dword [rbx + 0x80], 0
jmp 0x14001d753
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001b4b0
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret