joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140076ffc
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [0x1400b5c14], 0xffffffff
jne 0x1400770ad
xor ebx, ebx
lea rax, [rsp + 0x50]
mov r9d, 0x20019
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov dword [0x1400b5c14], ebx
lea rdx, [0x1400aab80]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400770ad
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.PrintIsolationDefault
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x40], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14007709c
cmp dword [rsp + 0x40], ebx
setne bl
mov dword [0x1400b5c14], ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, dword [0x1400b5c14]
add rsp, 0x30
pop rbx
ret

Function at 0x1400776bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SoftwarePoliciesMicrosoftWindows_NTPrinters
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
jne 0x140077763
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x58], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.PrintDriverIsolationOverrideCompat
mov dword [rsp + 0x60], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140077752
cmp dword [rsp + 0x58], 4
jne 0x140077752
cmp dword [rsp + 0x68], 1
sete bl
mov dword [rdi + 0x58], ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [str._S_v_]
lea rax, str._S_v_
cmp rcx, rax
je 0x1400777a7
test byte [rcx + 0x1c], 2
je 0x1400777a7
cmp dword [rdi + 0x58], 1
lea rax, str.kOverrideCompatOFF
mov rcx, qword [rcx + 0x10]
lea r9, str.kOverrideCompatON
cmovne r9, rax
lea r8, [0x1400aac00]
mov edx, 0xe
call fcn.1400416c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140077898
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SoftwarePoliciesMicrosoftWindows_NTPrinters
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
jne 0x140077939
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.PrintDriverIsolationExecutionPolicy
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14007791e
cmp dword [rsp + 0x60], ebx
je 0x140077923
mov ebx, 1
mov dword [rdi + 0x54], ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140077940
mov dword [rdi + 0x54], 1
mov rcx, qword [str._S_v_]
lea rax, str._S_v_
cmp rcx, rax
je 0x140077984
test byte [rcx + 0x1c], 2
je 0x140077984
cmp dword [rdi + 0x54], 1
lea rax, str.kExecuteInProc
mov rcx, qword [rcx + 0x10]
lea r9, str.kExecuteInSandbox
cmovne r9, rax
lea r8, [0x1400aac00]
mov edx, 0xd
call fcn.1400416c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14007abb4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
and dword [rsp + 0x68], 0
lea rax, [r11 + 0x20]
and dword [rsp + 0x30], 0
lea r9, [r11 - 0x18]
mov rdi, r8
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
xor r8d, r8d
mov rbx, rdx
mov rsi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14007acbc
cmp dword [rsp + 0x30], 3
jne 0x14007acbc
cmp dword [rsp + 0x68], 0x48
jbe 0x14007acbc
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov qword [rdi], rax
test rax, rax
je 0x14007acb5
lea rcx, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14007aca0
mov rcx, qword [rdi]
movzx edx, word [rcx + 0x46]
movzx ecx, word [rcx + 0x44]
add edx, ecx
cmp dword [rsp + 0x68], edx
je 0x14007aced
lea ebx, [rax + 0xd]
mov rcx, qword [str._S_v_]
lea rax, str._S_v_
cmp rcx, rax
je 0x14007aca0
test byte [rcx + 0x1c], 4
je 0x14007aca0
mov rcx, qword [rcx + 0x10]
lea edx, [rbx - 3]
lea r8, [0x1400aaec8]
call fcn.14002e7b4
mov rcx, qword [rdi]
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
and qword [rdi], 0
jmp 0x14007aced
mov ebx, 8
jmp 0x14007aced
mov ebx, 0xd
mov rcx, qword [str._S_v_]
lea rax, str._S_v_
cmp rcx, rax
je 0x14007aced
test byte [rcx + 0x1c], 4
je 0x14007aced
mov rcx, qword [rcx + 0x10]
lea edx, [rbx - 2]
lea r8, [0x1400aaec8]
call fcn.14002e7b4
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140002dc8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002e12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002e12
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002e12
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002e12
cmp dword [rcx + 0x84], 0xe
jbe 0x140002e12
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002e14
xor al, al
add rsp, 0x28
ret
Function at 0x1400026c0
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 0x14000271d
lea rbx, [0x14002fb70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002704
cmp r10, 2
jb 0x140002704
cmp byte [r9], r8b
jne 0x140002704
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 0x1400026e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000275f
lea rbx, [0x14002fb70]
cmp r8b, 0x23
jne 0x140002743
cmp byte [r9], r8b
jne 0x140002743
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 0x140002730
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400028a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400028ba
mov qword [r8], 0
lea rdx, [0x14002f9d0]
call fcn.140002770
mov rbx, rax
test rax, rax
jne 0x1400028da
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 0x1400029b1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400029b1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400029b1
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 0x1400029b1
cmp rdi, 0xffffffffffffffff
je 0x1400029b1
mov rax, qword [0x14004e070]
test rax, rax
je 0x14000294e
inc dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400029b1
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 0x14000299e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004e070]
test rax, rax
je 0x140002993
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400029ba
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400029ac
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400029bc
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 0x140006090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x14002f925]
mov dword [rsp + 0x2c], eax
lea r11, [0x14002fb70]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x1400060e3
cmp byte [r8], r9b
jne 0x1400060e3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x1400060d0
mov ecx, dword [rbx + 0x2fac]
lea rax, [0x1400112f0]
mov edi, dword [rbx + 0x2fa8]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x1400113a0]
mov qword [rsp + 0x38], rax
lea rax, [0x140011480]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x1400061e5
inc edi
test ecx, ecx
je 0x14000614f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140006154
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1400061e5
mov rax, qword [0x14004e070]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x140006178
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x2fb0]
mov rsi, rax
test rdx, rdx
je 0x1400061d3
movsxd rcx, dword [rbx + 0x2fa8]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2fb0]
test rcx, rcx
je 0x1400061cd
mov rax, qword [0x14004e070]
test rax, rax
je 0x1400061cd
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2fb0], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2fac], edi
movsxd rax, dword [rbx + 0x2fa8]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2fb0]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2fa8]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140007490
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400074e0
lea r11, [0x14002fb70]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400074c3
cmp byte [r8], r9b
jne 0x1400074c3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400074b0
mov rcx, qword [0x14004e070]
not eax
movsxd rdx, dword [rcx + 0x1a68]
mov r9, qword [rcx + 0x1a70]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x140007541
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x140007539
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x14000753c
mov rdx, r8
test rdx, rdx
jne 0x140007510
cmp r9, r10
je 0x140007550
cmp dword [r9], eax
jne 0x140007550
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x140010ae0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x14004e070]
cmp byte [rbx + 0x2fc8], 0
je 0x140010bcc
cmp qword [rbx + 0x2fd0], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2fd8]
je 0x140010bb4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x140010b5b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400122d0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140002c70
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x2fd0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2fe0]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x14004e068]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.140002c70
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x140010f50
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r13
sub rsp, 0x38
mov r13, qword [0x14004e070]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
mov rdi, rcx
mov qword [rsp + 0x30], r12
test rdx, rdx
jne 0x140010f8e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x140010f85
test r13, r13
je 0x140010f9a
inc dword [r13 + 0x3bc]
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x58], rax
mov rsi, rax
lea r12, [rax + rbx]
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [r12], 0
xor edi, edi
mov rcx, rsi
cmp rsi, r12
jae 0x140011163
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x1400111a7
cmp al, 0xd
je 0x1400111a7
mov rbx, rcx
cmp rcx, r12
jae 0x140011013
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x140011013
cmp al, 0xd
je 0x140011013
inc rbx
cmp rbx, r12
jb 0x140011000
mov byte [rbx], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x140011147
cmp al, 0x5b
jne 0x14001112e
cmp rbx, rcx
jbe 0x14001112e
cmp byte [rbx - 1], 0x5d
lea rsi, [rbx - 1]
jne 0x14001112e
lea r14, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x140011147
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call sub.VCRUNTIME140.dll_memchr
mov r11, rax
test rax, rax
je 0x140011147
mov r10, qword [0x14004e070]
lea r8, [r14 + 1]
mov byte [r15], 0
mov esi, 0xffffffff
movzx r9d, byte [r14]
mov ecx, esi
test r9b, r9b
je 0x1400110da
cmp r9b, 0x23
jne 0x1400110b7
cmp byte [r8], r9b
jne 0x1400110b7
cmp byte [r8 + 1], r9b
cmove ecx, esi
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
lea rax, [0x14002fb70]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x1400110a5
mov r8d, dword [r10 + 0x2fa8]
xor eax, eax
not ecx
test r8d, r8d
jle 0x140011104
mov r9, qword [r10 + 0x2fb0]
lea rdx, [r9 + 8]
cmp dword [rdx], ecx
je 0x14001110a
inc eax
add rdx, 0x30
cmp eax, r8d
jl 0x1400110f5
xor edi, edi
xor ebp, ebp
jmp 0x140011147
cdqe
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, r9
je 0x140011106
mov rax, qword [rdi + 0x10]
lea r8, [r11 + 1]
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x140011147
test rdi, rdi
je 0x140011147
test rbp, rbp
je 0x140011147
mov r9, rcx
mov r8, rbp
mov rcx, r13
mov rdx, rdi
call qword [rdi + 0x18]
lea rcx, [rbx + 1]
cmp rcx, r12
jb 0x140010fe0
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
test rsi, rsi
je 0x14001118e
mov rax, qword [0x14004e070]
test rax, rax
je 0x14001118e
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [r13 + 0x2f90], 1
add rsp, 0x38
pop r13
pop rsi
ret
inc rcx
jmp 0x140010fe0
Function at 0x1400111b0
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x14004e070]
xor r15d, r15d
mov r14, rcx
mov dword [rbx + 0x2f94], r15d
test rcx, rcx
je 0x1400112db
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [rbx + 0x2f98]
mov dword [rbx + 0x2f94], r15d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x140011214
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.1400122d0
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x14001122a
mov edx, 8
mov rcx, rdi
call fcn.1400122d0
movsxd rcx, dword [rdi]
mov ebp, r15d
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
cmp dword [rbx + 0x2fa8], r15d
jle 0x140011275
mov rsi, r15
nop word [rax + rax]
mov r9, qword [rbx + 0x2fb0]
mov r8, rdi
add r9, rsi
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add rsi, 0x30
cmp ebp, dword [rbx + 0x2fa8]
jl 0x140011250
mov eax, dword [rdi]
lea rdx, [0x14002f9d4]
test eax, eax
lea rdi, [0x14004e068]
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2fa0]
cmove ecx, r15d
test rax, rax
movsxd rsi, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.140002770
mov rbp, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x1400112d1
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 rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x14001c7e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001c971
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 edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14001c850
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001c1a0
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001b800
mov dword [rbx + 0x80], 0
jmp 0x14001c95d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001a750
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
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 [rsi + 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], edi
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], edi
movsd xmm0, qword [rsi]
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], edi
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], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 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
Function at 0x140025e70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
movdqa xmm0, xmmword [0x1400344b0]
xor ebx, ebx
movdqu xmmword [rbp + 0x17], xmm0
mov ecx, ebx
mov dword [rbp + 0x27], 0x1005d50
nop dword [rax]
lea eax, [rcx + 0x27]
xor byte [rbp + rcx + 0x17], al
inc rcx
cmp rcx, 0x12
jb 0x140025eb0
mov byte [rbp + 0x2a], bl
mov rcx, rbx
mov dword [rbp - 9], 0x464d5c49
mov dword [rbp - 5], 0x42490247
mov word [rbp - 1], 0x43
mov byte [rbp + 1], 1
nop
lea eax, [rcx + 0x27]
xor byte [rbp + rcx - 9], al
inc rcx
cmp rcx, 9
jb 0x140025ee0
lea rcx, [rbp - 9]
mov byte [rbp + 1], bl
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movdqa xmm0, xmmword [0x140034450]
mov rdx, rbx
movdqu xmmword [rbp + 0x2f], xmm0
mov rdi, rax
mov word [rbp + 0x3f], 0x100
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx + 0x27]
xor byte [rbp + rdx + 0x2f], cl
inc rdx
cmp rdx, 0x10
jb 0x140025f30
mov byte [rbp + 0x40], bl
mov dword [rbp + 7], 0x464d5c49
mov dword [rbp + 0xb], 0x42490247
mov word [rbp + 0xf], 0x43
mov byte [rbp + 0x11], 1
nop dword [rax + rax]
lea eax, [rbx + 0x27]
xor byte [rbp + rbx + 7], al
inc rbx
cmp rbx, 9
jb 0x140025f60
lea rcx, [rbp + 7]
mov byte [rbp + 0x11], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
lea r9, [rbp + 0x47]
mov dl, 1
mov rbx, rax
lea ecx, [r8 + 0x13]
call rdi
lea rax, [rbp + 0x4b]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 6
mov ecx, 0xc00002b4
call rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14002cb70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140025fe0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x140026003
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x27]
xor byte [rcx + rax], dl
inc rax
cmp rax, 9
jb 0x140025ff0
mov byte [rcx + 0xa], 0
mov rax, rcx
ret