joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003fbf0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
cmp qword [rdx + 0x18], 8
jb 0x14003fc2a
mov rcx, qword [rdx]
jmp 0x14003fc2d
mov rcx, rsi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ebp, [rax + 1]
mov word [rsp + 0x88], r15w
mov r14d, ebp
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov edx, ebp
lea rcx, [rsp + 0x40]
call fcn.140018560
mov rdi, qword [rsp + 0x40]
test al, al
je 0x14003fc82
lea r8, [rsp + 0x88]
mov edx, r14d
mov rcx, rdi
call fcn.14003eb10
mov qword [rsp + 0x48], rax
cmp qword [rsi + 0x18], 8
jb 0x14003fc8c
mov rsi, qword [rsi]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
test eax, eax
je 0x14003fcd4
lea rdx, [0x14008c6dc]
test rdi, rdi
cmovne rdx, rdi
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14003fcc1
mov rcx, rbx
call fcn.1400030f0
nop
test rdi, rdi
je 0x14003fcf2
mov rdx, qword [rsp + 0x50]
sub rdx, rdi
mov r8d, 2
sar rdx, 1
mov rcx, rdi
call fcn.140002ec0
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x1400424e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, r8
mov rcx, rdx
mov rdx, rax
mov r8d, SafeArrayCreateVectorEx
jmp fcn.140002ec0

Function at 0x140043238
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x58], 0
mov ebx, edx
lea rdx, [rcx + 0x40]
mov dword [rsp + 0x40], r9d
cmp qword [rdx + 0x18], 8
jb 0x14004325c
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x1400432cb
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x14004329f
inc rax
jmp 0x1400432a6
lea rax, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
mov rdx, rax
lea rcx, [0x1400c2688]
call fcn.14000f3ec
shl rax, 0x34
movabs rcx, 0x342500000000
or rax, rdi
or rax, rcx
jmp 0x14004331d
cmp ebx, dword [rsp + 0x58]
je 0x140043313
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x1400432ed
inc rax
jmp 0x1400432f4
lea rax, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
mov rdx, rax
lea rcx, [0x1400c2688]
call fcn.14000f3ec
shl rax, 0x34
movabs rcx, 0x350500040002
jmp 0x1400432c6
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14004c088
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rdi
mov r14, rcx
mov rdi, qword [rcx]
mov rbx, qword [rdi + 8]
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x14004c0fc
mov rdx, qword [rdi + 0x10]
mov rcx, r14
call fcn.14003ba84
nop
mov rdi, qword [rdi]
mov rdx, qword [rbx + 0x40]
cmp rdx, 8
jb 0x14004c0e1
inc rdx
mov r8d, 2
mov rcx, qword [rbx + 0x28]
call fcn.140002ec0
nop
mov edx, 1
lea r8d, [rdx + 0x47]
mov rcx, rbx
call fcn.140002ec0
nop
mov rbx, rdi
cmp byte [rdi + 0x19], 0
je 0x14004c0b4
mov rax, qword [r14]
mov qword [rax + 8], rax
mov rax, qword [r14]
mov qword [rax], rax
mov rax, qword [r14]
mov qword [rax + 0x10], rax
and qword [r14 + 8], 0
mov edx, 1
lea r8d, [rdx + 0x47]
mov rcx, qword [r14]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
jmp fcn.140002ec0

Function at 0x1400541b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rdi
mov r14, rcx
mov rdi, qword [rcx]
mov rbx, qword [rdi + 8]
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x140054211
mov rdx, qword [rdi + 0x10]
mov rcx, r14
call fcn.140054c7c
nop
mov rdi, qword [rdi]
lea rcx, [rbx + 0x28]
call fcn.140055570
nop
mov edx, 1
lea r8d, [rdx + 0x4f]
mov rcx, rbx
call fcn.140002ec0
nop
mov rbx, rdi
cmp byte [rdi + 0x19], 0
je 0x1400541dc
mov rax, qword [r14]
mov qword [rax + 8], rax
mov rax, qword [r14]
mov qword [rax], rax
mov rax, qword [r14]
mov qword [rax + 0x10], rax
and qword [r14 + 8], 0
mov edx, 1
lea r8d, [rdx + 0x4f]
mov rcx, qword [r14]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
jmp fcn.140002ec0

Function at 0x1400546e4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rdi
mov r14, rcx
mov rdi, qword [rcx]
mov rbx, qword [rdi + 8]
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x14005473b
mov rdx, qword [rdi + 0x10]
mov rcx, r14
call fcn.140054d28
nop
mov rdi, qword [rdi]
mov edx, 1
lea r8d, [rdx + 0x27]
mov rcx, rbx
call fcn.140002ec0
nop
mov rbx, rdi
cmp byte [rdi + 0x19], 0
je 0x140054710
mov rax, qword [r14]
mov qword [rax + 8], rax
mov rax, qword [r14]
mov qword [rax], rax
mov rax, qword [r14]
mov qword [rax + 0x10], rax
and qword [r14 + 8], 0
mov edx, 1
lea r8d, [rdx + 0x27]
mov rcx, qword [r14]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
jmp fcn.140002ec0

Function at 0x140054914
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, rdx
mov edx, 1
lea r8d, [rdx + 0x27]
jmp fcn.140002ec0

Function at 0x140055b64
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, [rdx + 0x28]
mov rbx, rdx
call fcn.140055570
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x4f]
add rsp, 0x20
pop rbx
jmp fcn.140002ec0
Function at 0x1400590f4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rdi
mov r14, rcx
mov rdi, qword [rcx]
mov rbx, qword [rdi + 8]
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x140059155
mov rdx, qword [rdi + 0x10]
mov rcx, r14
call fcn.140059190
nop
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.14005a328
nop
mov edx, 1
lea r8d, [rdx + 0x4f]
mov rcx, rbx
call fcn.140002ec0
nop
mov rbx, rdi
cmp byte [rdi + 0x19], 0
je 0x140059120
mov rax, qword [r14]
mov qword [rax + 8], rax
mov rax, qword [r14]
mov qword [rax], rax
mov rax, qword [r14]
mov qword [rax + 0x10], rax
and qword [r14 + 8], 0
mov edx, 1
lea r8d, [rdx + 0x4f]
mov rcx, qword [r14]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
jmp fcn.140002ec0

Function at 0x14005b008
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, r8
mov rcx, rdx
mov rdx, rax
mov r8d, 8
jmp fcn.140002ec0

Function at 0x14005d9d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, r8
mov rcx, rdx
mov rdx, rax
mov r8d, 0x60
jmp fcn.140002ec0
Function at 0x140064d5c
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140064da4
lea ebx, [rsi + 0xd]
jmp 0x140064e1d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x140064e1d
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003e9a8
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x140064e01
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140064e1d
mov rdx, qword [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x140064e09
mov rcx, rdi
call fcn.1400030f0
mov ebx, esi
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140064e3b
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
mov r8d, 2
call fcn.140002ec0
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140065170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
add byte [rax - 0x39], cl
rol byte [r14], 0
add byte [rax], al

Function at 0x140065184
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
add byte [rax - 0x39], cl
rol byte [r14], 0
add byte [rax], al
Function at 0x140065288
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r10, qword [rbp - 0x40]
sub r10, 3
mov r9d, esi
mov r11, r10
add r11, r9
jmp 0x1400652c6
mov r10d, r11d
mov r10b, byte [r15 + r10]
mov byte [rbp - 0x31], r10b
movzx r10d, byte [rbp - 0x31]
mov dword [rbp - 0xf4], r10d
mov eax, r12d
mov qword [rbp - 0xf0], rax
mov rax, reloc.OLEAUT32.dll_SafeArrayCreateVectorEx
cqo
idiv r13
mov r10, rax
mov rax, qword [rbp - 0xf0]
cqo
idiv r10
mov r10d, edi
mov r9, rax
add r9, r10
movzx r10d, r9b
movsxd r9, dword [rbp - 0xf4]
xor r9d, r10d
mov byte [rbp - 0x31], r9b
mov r10d, r11d
mov r9b, byte [rbp - 0x31]
mov byte [r15 + r10], r9b
lea r11, [r11 + 1]
mov r10d, esi
add r10d, r14d
cmp r11d, r10d
jb 0x140065260
mov qword [rbp - 0x88], 0x400d2948
lea r12, [r12 + 1]
mov qword [rbp - 0x78], 0x40159000
mov r10, qword [rbp - 0x60]
add qword [rbp - 0x78], r10
mov r10, qword [rbp - 0x60]
add qword [rbp - 0x88], r10
mov r10, qword [rbp - 0x50]
sub r10, 8
mov r9d, r12d
cmp r10, r9
jge 0x14006524d
mov qword [rbp - 0x90], 0x40294000
mov r10, qword [rbp - 0x50]
sub r10, 0xe
mov dword [rbp - 0x64], r10d
mov r10d, dword [rbp - 0x64]
mov r9, qword [rbp - 0x88]
mov r10b, byte [r9 + r10]
mov byte [rbp - 0x31], r10b
mov r10d, dword [rbp - 0x64]
mov r9, qword [rbp - 0x78]
mov r8b, byte [rbp - 0x31]
mov byte [r9 + r10], r8b
mov r10d, r10d
lea r10, [r10 + 1]
mov dword [rbp - 0x64], r10d
movabs r9, 0x3dbf0
cmp r10, r9
jl 0x140065327
invalid
invalid
invalid
invalid

Function at 0x140065968
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400c20c0], eax
call fcn.140065c10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400c20c0], 0
jne case.default.0x1400659be
mov ecx, 1
call fcn.140065c10
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov word [rbx + rsi*2 - 2], fs
idiv byte [rbx + 0x238c8c8d]
invalid
Function at 0x1400027b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x1400e1a84], 0
lea rdi, [0x1400e1a80]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002888
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 0x1400027e0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x1400028be
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 0x1400028a0
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400028ff
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400028e3
cmp byte [r8], r9b
jne 0x1400028e3
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 0x1400028d0
not eax
pop rdi
ret
Function at 0x140002b00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140002b19
mov qword [r8], 0
lea rdx, [0x140049990]
call fcn.140002910
mov rbx, rax
test rax, rax
jne 0x140002b38
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002bf8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140002bf8
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002bf8
mov rax, qword [0x1400e1810]
mov rbp, rsi
test rax, rax
je 0x140002b95
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002bf8
mov r9, rbx
mov r8, rbp
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, rbp
je 0x140002be5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400e1810]
test rax, rax
je 0x140002bda
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002c01
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140002bf3
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140002c03
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400135e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x1400e1810]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2eec], esi
test rcx, rcx
je 0x1400136fa
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2ef0]
mov dword [rdi + 0x2eec], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x14001363a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.1400147a0
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x14001364e
mov edx, 8
mov rcx, rbx
call fcn.1400147a0
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2f00], esi
jle 0x14001369a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2f08]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2f00]
jl 0x140013670
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x1400136a9
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2ef8]
lea rdx, [0x140049994]
test rax, rax
movsxd rsi, esi
lea rdi, [0x1400e1808]
mov rcx, r15
cmovne rdi, rax
call fcn.140002910
mov rbx, rax
test rax, rax
je 0x1400136f5
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 rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x14001b700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x14001b962
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, pe_nt_image_headers64
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
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x1400b4710]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001b7ca
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
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 0x14001b7e9
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
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001b900
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001b830
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001b833
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.1400168c0
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.140019360
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x14001b820
jmp 0x14001b907
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, pe_nt_image_headers64
sub qword [rsp + 0x60], 1
jne 0x14001b780
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 + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x14001f530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001f6e7
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 0x14001f5c6
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001ef00
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001e510
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14001f5b7
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.140014360
mov dword [rbx + 0x80], 0
jmp 0x14001f6d3
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001d340
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