joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e088b
Capabilities:
Print debug messages

Disassembly:
jmp 0x140286100
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1409de940]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140286126
jmp 0x1402861a3
mov rcx, qword [rbp + 0x30]
call fcn.1400dfa3f
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14028613f
jmp 0x1402861a3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14028615c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400de153
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400de824
test eax, eax
jne 0x1402861a3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400dfd73
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1400e0c50
Capabilities:
Get geographical location

Disassembly:
jmp 0x14014da20
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, [0x1402bb178]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14014da5d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1400e2e8d
add rsp, 0x58
ret

Function at 0x1400e0c91
Capabilities:
Create process on windows

Disassembly:
jmp 0x14028a160
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [rsp + 0xe8]
call fcn.1400df2ab
lea rcx, [rsp + 0xb8]
call fcn.1400df2ab
lea rcx, [rsp + 0x88]
call fcn.1400df2ab
call fcn.1400e0287
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
call fcn.1400def0e
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x14028a202
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.1400df8aa
lea rcx, [rsp + 0xb8]
call fcn.1400df8aa
lea rcx, [rsp + 0xe8]
call fcn.1400df8aa
mov eax, dword [rsp + 0x54]
jmp 0x14028a3a8
call fcn.1400e0287
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.1400def0e
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14028a262
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.1400df8aa
lea rcx, [rsp + 0xb8]
call fcn.1400df8aa
lea rcx, [rsp + 0xe8]
call fcn.1400df8aa
mov eax, dword [rsp + 0x5c]
jmp 0x14028a3a8
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x168], 0
je 0x14028a2e8
call fcn.1400e0287
mov r8d, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.1400def0e
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14028a2d6
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call fcn.1400df8aa
lea rcx, [rsp + 0xb8]
call fcn.1400df8aa
lea rcx, [rsp + 0xe8]
call fcn.1400df8aa
mov eax, dword [rsp + 0x64]
jmp 0x14028a3a8
lea rcx, [rsp + 0x88]
call fcn.1400df18e
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.1400df18e
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe8]
call fcn.1400df18e
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x88]
call fcn.1400df8aa
lea rcx, [rsp + 0xb8]
call fcn.1400df8aa
lea rcx, [rsp + 0xe8]
call fcn.1400df8aa
mov eax, dword [rsp + 0x68]
add rsp, 0x128
ret
Function at 0x1400e0d68
Capabilities:
Set environment variable

Disassembly:
jmp 0x14027a9e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x1400e1119
Capabilities:
Parse pe header

Disassembly:
jmp 0x14019a630
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14019a650
xor al, al
jmp 0x14019a6d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14019a663
xor al, al
jmp 0x14019a6d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14019a68d
xor al, al
jmp 0x14019a6d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14019a6a1
xor al, al
jmp 0x14019a6d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14019a6b3
xor al, al
jmp 0x14019a6d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14019a6cf
xor al, al
jmp 0x14019a6d1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400e1a83
Capabilities:
Terminate process

Disassembly:
jmp 0x1401bc2e0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401bc30e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400e2816
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400e28a2
Capabilities:
Print debug messages

Disassembly:
jmp 0x14024b870
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400e2a2d
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401bb360
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401bacb0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401bb3a9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1409ff020]
jmp 0x1401bb3b8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1400e2b68
Capabilities:
Set environment variable

Disassembly:
jmp 0x140296c80
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400df2ab
lea rcx, [rsp + 0x48]
call fcn.1400df2ab
call fcn.1400e0287
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400def0e
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140296cef
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400df8aa
lea rcx, [rsp + 0x78]
call fcn.1400df8aa
mov eax, dword [rsp + 0x24]
jmp 0x140296d80
call fcn.1400e0287
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400def0e
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140296d36
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400df8aa
lea rcx, [rsp + 0x78]
call fcn.1400df8aa
mov eax, dword [rsp + 0x2c]
jmp 0x140296d80
lea rcx, [rsp + 0x48]
call fcn.1400df18e
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400df18e
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400df8aa
lea rcx, [rsp + 0x78]
call fcn.1400df8aa
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1400e38e2
Capabilities:
Get file size
Read file on windows

Disassembly:
jmp 0x140106c80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x40]
lea rcx, [0x1409fe125]
call fcn.1400e2ee2
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140106cee
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x140106db6
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xffffffff
jne 0x140106d15
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x140106db6
mov eax, dword [rbp + 0x24]
mov qword [rbp + 0x138], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x138]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
jne 0x140106d5f
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x140106db6
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jne 0x140106da7
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp + 0x48], 0
je 0x140106da3
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x140106db6
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14025cff0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400de153
sub rsp, rax
mov rax, qword [0x1409de940]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1409e3a90]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14025d1e2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x14025d136
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14025d136
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14025d11b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14025d0b8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14025d1a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14025d201
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14025d1dd
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14025d201
jmp 0x14025d08e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400dfd73
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14025d2b0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400de153
sub rsp, rax
mov rax, qword [0x1409de940]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1409e3a90]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14025d4bd
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x14025d409
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14025d409
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x14025d3e9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x14025d378
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14025d47d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14025d4dc
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x14025d4b8
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14025d4dc
jmp 0x14025d34e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400dfd73
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x180003830
Capabilities:
Access peb ldr_data
Encode data using xor
Get number of processors
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rbx, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rax + 0x60]
mov r10d, 0xb15cccf8
movzx r8d, word [rax + 0x58]
shr r8, 1
lea r11, [rdx + r8*2]
cmp rdx, r11
je 0x1800038b3
nop dword [rax + rax]
movsx ecx, byte [rdx]
mov r8d, ecx
sub cl, 0x41
mov r9d, r8d
or r9d, 0x20
cmp cl, 0x19
cmova r9d, r8d
add rdx, 2
xor r9d, r10d
imul r10d, r9d, 0x1000193
cmp rdx, r11
jne 0x180003880
cmp r10d, 0x9cf2bb20
je 0x1800038b8
mov rax, qword [rax]
jmp 0x180003860
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x30]
add rdx, qword [rbx]
xor esi, esi
mov r8d, 8
mov qword [rsp + 0x30], rsi
call fcn.1800915b0
mov rdx, qword [rsp + 0x30]
movabs rdi, 0x7ffffffdfffe
mov rcx, qword [0x1800aef00]
cmp rdx, rcx
jbe 0x1800038fd
add rcx, qword [0x1800aef08]
cmp rdx, rcx
jb 0x18000390d
lea rax, [rdx - 0x10000]
cmp rax, rdi
ja 0x180003a2b
add rdx, 0xb8
mov qword [rsp + 0x38], rsi
mov r8d, 8
lea rcx, [rsp + 0x38]
call fcn.1800915b0
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x30]
add rdx, qword [rbx + 8]
mov r8d, 8
mov qword [rsp + 0x30], rsi
call fcn.1800915b0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [0x1800aef00]
cmp rdx, rcx
jbe 0x180003964
add rcx, qword [0x1800aef08]
cmp rdx, rcx
jb 0x180003974
lea rax, [rdx - 0x10000]
cmp rax, rdi
ja 0x180003a2b
mov rcx, rbx
call fcn.180003c10
mov edx, eax
mov rcx, rbx
call fcn.180003a40
mov r9, rax
mov rax, qword [0x1800aef00]
cmp r9, rax
jbe 0x1800039a4
mov rdx, qword [0x1800aef08]
add rdx, rax
cmp r9, rdx
jb 0x1800039b0
lea rcx, [r9 - 0x10000]
cmp rcx, rdi
ja 0x180003a2b
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x30]
add rdx, r9
mov qword [rsp + 0x30], rsi
mov r8d, 8
call fcn.1800915b0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [0x1800aef00]
cmp rdx, rcx
jbe 0x1800039e9
add rcx, qword [0x1800aef08]
cmp rdx, rcx
jb 0x1800039f5
lea rax, [rdx - 0x10000]
cmp rax, rdi
ja 0x180003a2b
mov rcx, rbx
call fcn.180003c10
mov edx, eax
mov rcx, rbx
call fcn.180003a40
mov rdx, qword [0x1800aef00]
cmp rax, rdx
jbe 0x180003a1f
add rdx, qword [0x1800aef08]
cmp rax, rdx
jb 0x180003a2d
lea rcx, [rax - 0x10000]
cmp rcx, rdi
jbe 0x180003a2d
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180003a40
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov ebx, edx
mov r14, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r8, qword [rax + 0x60]
mov r10d, 0x7cfebe13
movzx r9d, word [rax + 0x58]
shr r9, 1
lea r11, [r8 + r9*2]
cmp r8, r11
je 0x180003ac3
nop dword [rax + rax]
movsx ecx, byte [r8]
mov edx, ecx
sub cl, 0x41
mov r9d, edx
or r9d, 0x20
cmp cl, 0x19
cmova r9d, edx
add r8, 2
xor r9d, r10d
imul r10d, r9d, 0x1000193
cmp r8, r11
jne 0x180003a90
cmp r10d, 0x7993e633
je 0x180003ac8
mov rax, qword [rax]
jmp 0x180003a70
mov rdi, qword [rax + 0x30]
lea rcx, [rsp + 0x58]
mov edx, dword [r14 + 0x18]
mov eax, ebx
mov esi, ebx
add rdx, 0x10
and eax, 7
sar esi, 3
dec rax
movsxd rbp, esi
xor r15d, r15d
mov r8d, 4
mov dword [rsp + 0x58], r15d
lea rbx, [rax + rax*4]
shl rbx, 3
add rdx, rbx
add rdx, rdi
call fcn.1800915b0
mov eax, dword [rsp + 0x58]
cmp rbp, rax
jae 0x180003bf4
mov edx, dword [r14 + 0x18]
lea rcx, [rsp + 0x50]
add rdx, rbx
mov qword [rsp + 0x50], r15
add rdx, rdi
mov r8d, 8
call fcn.1800915b0
movabs rax, 0x1ffffffffffffffc
mov dword [rsp + 0x58], r15d
mov rdx, rbp
lea rcx, [rsp + 0x58]
shr rdx, 3
mov r8d, 4
and rdx, rax
add rdx, qword [rsp + 0x50]
call fcn.1800915b0
mov eax, dword [rsp + 0x58]
and esi, 0x1f
bt eax, esi
jae 0x180003bf4
mov edx, dword [r14 + 0x18]
lea rcx, [rsp + 0x50]
add rdx, 8
mov qword [rsp + 0x50], r15
add rdx, rbx
mov r8d, 8
add rdx, rdi
call fcn.1800915b0
mov rax, qword [rsp + 0x50]
lea rdx, [rax + rbp*8]
mov eax, dword [r14 + 0x18]
add rax, rbx
cmp byte [rax + rdi + 0x14], 1
jbe 0x180003bd9
mov r8d, 8
mov qword [rsp + 0x60], r15
lea rcx, [rsp + 0x60]
call fcn.1800915b0
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov r8d, 4
mov dword [rsp + 0x58], r15d
lea rcx, [rsp + 0x58]
call fcn.1800915b0
mov eax, dword [rsp + 0x58]
not eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180004aa0
Capabilities:
Encode data using xor

Disassembly:
push r14
sub rsp, 0x40
sub rdx, rcx
movabs rax, 0x6666666666666667
imul rdx
mov r10, rcx
mov r14, rdx
sar r14, 4
mov rax, r14
shr rax, 0x3f
add r14, rax
mov r11, r14
sar r11, 1
test r11, r11
jle 0x180004c73
mov qword [rsp + 0x50], rbx
lea rax, [r11 + r11*4]
mov qword [rsp + 0x58], rbp
lea rbp, [r14 - 1]
mov qword [rsp + 0x60], rsi
lea rsi, [rcx + rax*8]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x38], r12
mov r12d, 0x50
mov qword [rsp + 0x30], r15
movsxd rbx, r9d
sar rbp, 1
nop
movups xmm3, xmmword [rsi - 0x28]
lea rsi, [rsi - 0x28]
dec r11
movsd xmm5, qword [rsi + 0x20]
mov r9, r11
movsd qword [rsp + 0x20], xmm5
mov rdi, r11
movups xmm4, xmmword [rsi + 0x10]
movups xmmword [rsp], xmm3
movups xmmword [rsp + 0x10], xmm4
cmp r11, rbp
jge 0x180004ba4
nop
lea rdx, [rdi + rdi]
lea rax, [rdx + rdx*4]
lea r8, [r10 + rax*8]
movss xmm0, dword [r8 + rbx + 0x28]
lea rax, [r9 + r9*4]
comiss xmm0, dword [r8 + rbx + 0x50]
seta cl
movzx edi, cl
xor rdi, 1
inc rdi
add rdi, rdx
mov edx, 0x28
test cl, cl
mov r9, rdi
cmove rdx, r12
movups xmm0, xmmword [rdx + r8]
movups xmmword [r10 + rax*8], xmm0
movups xmm1, xmmword [rdx + r8 + 0x10]
movups xmmword [r10 + rax*8 + 0x10], xmm1
movsd xmm0, qword [rdx + r8 + 0x20]
movsd qword [r10 + rax*8 + 0x20], xmm0
cmp rdi, rbp
jl 0x180004b40
cmp r9, rbp
jne 0x180004be0
test r14b, 1
jne 0x180004be0
lea rax, [r9 + r9*4]
lea rcx, [r14 + r14*4]
movups xmm0, xmmword [r10 + rcx*8 - 0x28]
lea r9, [r14 - 1]
movups xmmword [r10 + rax*8], xmm0
movups xmm1, xmmword [r10 + rcx*8 - 0x18]
movups xmmword [r10 + rax*8 + 0x10], xmm1
movsd xmm0, qword [r10 + rcx*8 - 8]
movsd qword [r10 + rax*8 + 0x20], xmm0
cmp r11, r9
jge 0x180004c36
movss xmm2, dword [rsp + rbx]
nop word [rax + rax]
lea rcx, [r9 - 1]
sar rcx, 1
lea rdx, [rcx + rcx*4]
lea rax, [rbx + rdx*8]
comiss xmm2, dword [rax + r10]
jbe 0x180004c36
lea rax, [r9 + r9*4]
mov r9, rcx
movups xmm0, xmmword [r10 + rdx*8]
movups xmmword [r10 + rax*8], xmm0
movups xmm1, xmmword [r10 + rdx*8 + 0x10]
movups xmmword [r10 + rax*8 + 0x10], xmm1
movsd xmm0, qword [r10 + rdx*8 + 0x20]
movsd qword [r10 + rax*8 + 0x20], xmm0
cmp r11, rcx
jl 0x180004bf0
lea rax, [r9 + r9*4]
movups xmmword [r10 + rax*8], xmm3
movups xmmword [r10 + rax*8 + 0x10], xmm4
movsd qword [r10 + rax*8 + 0x20], xmm5
test r11, r11
jg 0x180004b10
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop r14
ret