joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rbp
push rdi
push r12
lea rbp, [rsp - 0xa70]
sub rsp, 0xb70
mov ebx, edx
mov r12, rcx
lea rcx, [rbp - 0x80]
lea rdx, [0x1400021d0]
mov r8d, 0xae9
mov rsi, r9
mov dword [rsp + 0x68], 1
call sub.MSVCR100.dll_memcpy
lea r11, [rbp - 0x7f]
mov eax, 0x574
nop word [rax + rax]
xor byte [r11 - 1], 0x92
xor byte [r11], 0x92
add r11, 2
dec rax
jne 0x140001060
mov qword [rsp + 0x21], rax
mov qword [rsp + 0x29], rax
lea r8d, [rax + 4]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x2c]
mov qword [rsp + 0x31], rax
mov qword [rsp + 0x39], rax
mov qword [rsp + 0x41], rax
mov qword [rsp + 0x49], rax
mov qword [rsp + 0x51], rax
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
mov dword [rsp + 0x20], 0xe8
mov dword [rsp + 0x60], 0xb23
mov dword [rsp + 0x24], 0x89495900
mov dword [rsp + 0x28], 0xc18148c8
call qword [sym.imp.MSVCR100.dll_memmove]
lea rdx, [rbp + 0xaa0]
lea rcx, [rsp + 0x31]
mov r8d, 4
mov byte [rsp + 0x30], 0xba
call qword [sym.imp.MSVCR100.dll_memmove]
mov ecx, dword [rsp + 0x60]
add ecx, ebx
lea rdx, [rsp + 0x70]
mov r8d, 4
mov dword [rsp + 0x70], ecx
lea rcx, [rsp + 0x38]
mov word [rsp + 0x35], 0x8149
mov byte [rsp + 0x37], 0xc0
call qword [sym.imp.MSVCR100.dll_memmove]
lea rdx, [rbp + 0xab0]
lea rcx, [rsp + 0x3e]
mov r8d, 4
mov word [rsp + 0x3c], 0xb941
call qword [sym.imp.MSVCR100.dll_memmove]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x52]
mov r8d, 4
mov dword [rsp + 0x42], 0xe6894856
mov dword [rsp + 0x46], 0xf0e48348
mov dword [rsp + 0x4a], 0x30ec8348
mov dword [rsp + 0x4e], 0x202444c7
call qword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [rbp + 0xab0]
mov dword [rsp + 0x56], 0x5e8
mov dword [rsp + 0x5a], 0xf4894800
lea ecx, [rbx + rax + 0xb28]
mov rax, qword [rbp + 0xac0]
mov word [rsp + 0x5e], 0xc35e
mov dword [rax], ecx
call qword [sym.imp.MSVCR100.dll_malloc]
mov rdi, qword [rbp + 0xab8]
lea rdx, [rsp + 0x20]
mov rcx, rax
mov r8d, 0x40
mov qword [rdi], rax
call qword [sym.imp.MSVCR100.dll_memmove]
mov rcx, qword [rdi]
lea rdx, [rbp - 0x80]
add rcx, 0x40
mov r8d, 0xae8
call qword [sym.imp.MSVCR100.dll_memmove]
mov rcx, qword [rdi]
mov r8, rbx
add rcx, 0xb28
mov rdx, r12
call qword [sym.imp.MSVCR100.dll_memmove]
mov rcx, qword [rdi]
mov r8d, dword [rbp + 0xab0]
lea rcx, [rbx + rcx + 0xb28]
mov rdx, rsi
call qword [sym.imp.MSVCR100.dll_memmove]
lea r11, [rsp + 0xb70]
mov eax, 1
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x140003590
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
movdqa xmmword [rsp + 0x50], xmm6
mov rax, qword [0x14008a048]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [0x14008c110], 0
je 0x1400035bd
xor esi, esi
jmp 0x1400036de
mov ecx, 0x30
call fcn.1400494c0
mov rsi, rax
mov ecx, 0x20
call fcn.1400494c0
mov qword [rsi], rax
lea rcx, [rax + 0x20]
mov qword [rsi + 0x10], rcx
mov edx, 7
movq xmm6, rdx
pslldq xmm6, 8
movdqu xmmword [rax + 0x10], xmm6
mov word [rax], 0
mov qword [rsi + 8], rcx
mov qword [rsi + 0x20], 0
mov ecx, 0x60
call fcn.1400494c0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x28], 1
mov qword [0x14008c110], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
movdqu xmmword [rsp + 0x38], xmm6
mov word [rsp + 0x28], 0
mov rcx, rax
call fcn.14005a5c0
mov rbx, rax
cmp rax, 7
jbe 0x14000366b
lea rcx, [rsp + 0x28]
mov rdx, rbx
mov r9, rdi
call fcn.140006b00
jmp 0x14000368a
mov qword [rsp + 0x38], rbx
mov r8, rbx
add r8, rbx
lea rcx, [rsp + 0x28]
mov rdx, rdi
call fcn.14004d900
mov word [rsp + rbx*2 + 0x28], 0
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140003710
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x1400036db
mov rcx, qword [rsp + 0x28]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400036d6
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400036fa
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.140049510
mov sil, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140049530
mov eax, esi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
call fcn.140053350
ud2

Function at 0x140003710
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x14008a048]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, 7
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], 0
lea rdi, [rsp + 0x30]
mov rcx, rdx
mov edx, 3
mov r8, rdi
call fcn.140013040
cmp qword [rsp + 0x40], 0
je 0x14000379f
mov dword [rsp + 0x2c], 0
cmp qword [rsp + 0x48], 7
jbe 0x140003776
mov rdi, qword [rsp + 0x30]
lea rdx, [rsp + 0x2c]
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rdi, rax
mov edx, dword [rsp + 0x2c]
mov rcx, rsi
mov r8, rax
call fcn.140003210
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x48]
cmp rax, 8
jb 0x1400037e3
mov rcx, qword [rsp + 0x30]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400037de
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400037f8
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.140049510
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140049530
nop
add rsp, 0x58
pop rdi
pop rsi
ret
call fcn.140053350
ud2
Function at 0x14000a6a0
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x178
mov r14, rcx
mov rax, qword [0x14008a048]
xor rax, rsp
mov qword [rsp + 0x170], rax
call fcn.140003800
mov rdi, rax
lea r15, [0x14006c8c1]
mov rcx, rax
mov rdx, r15
call fcn.140003c20
test al, al
jne 0x14000a6fa
lea rdx, str.vmodule
mov rcx, rdi
call fcn.140003c20
test al, al
je 0x14000a838
cmp qword [0x14008c120], 0
je 0x14000a72d
lea rdx, str..._.._base_logging.cc
lea r9, [0x14006b498]
lea rsi, [rsp + 0x60]
mov rcx, rsi
mov r8d, 0x1a4
call fcn.14000a950
mov rcx, rsi
call fcn.14000aac0
mov rax, qword [0x14008c128]
mov qword [0x14008c120], rax
mov ecx, 0x20
call fcn.1400494c0
mov rsi, rax
lea rcx, str.vmodule
mov qword [rsp + 0x30], rcx
call fcn.140059b00
mov qword [rsp + 0x38], rax
lea r12, [rsp + 0x60]
lea r8, [rsp + 0x30]
mov rcx, rdi
mov rdx, r12
call fcn.140003c90
mov qword [rsp + 0x20], r15
mov rcx, r15
call fcn.140059b00
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x40]
lea r8, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
call fcn.140003c90
lea r9, [0x14008c130]
mov rcx, rsi
mov rdx, rbx
mov r8, r12
call fcn.140015930
mov qword [0x14008c128], rsi
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x14000a7f7
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000a7f2
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14000a940
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.140049510
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x14000a838
mov rcx, qword [rsp + 0x60]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000a833
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14000a940
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.140049510
mov eax, dword [r14]
mov dword [section..data], eax
mov bl, 1
test al, 1
je 0x14000a91d
mov rcx, qword [0x14008c180]
test rcx, rcx
je 0x14000a868
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14008c180], 0
mov rdi, qword [0x14008c138]
test rdi, rdi
jne 0x14000a8a1
mov ecx, 0x20
call fcn.1400494c0
mov rdi, rax
mov eax, 7
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rdi + 0x10], xmm0
mov word [rdi], 0
mov qword [0x14008c138], rdi
mov rsi, qword [r14 + 8]
mov rcx, rsi
call fcn.14005a5c0
mov rbx, rax
mov rax, qword [rdi + 0x18]
cmp rax, rbx
jae 0x14000a8d0
mov rcx, rdi
mov rdx, rbx
mov r9, rsi
call fcn.140006b00
cmp dword [r14 + 0x14], 0
jne 0x14000a916
jmp 0x14000a8ff
mov r15, rdi
cmp rax, 8
jb 0x14000a8dc
mov r15, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
add r8, rbx
mov rcx, r15
mov rdx, rsi
call fcn.14004d900
mov word [r15 + rbx*2], 0
cmp dword [r14 + 0x14], 0
jne 0x14000a916
mov rcx, qword [0x14008c138]
cmp qword [rcx + 0x18], 7
jbe 0x14000a910
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.14000b0d0
mov ebx, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140049530
mov eax, ebx
add rsp, 0x178
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140053350
ud2
Function at 0x140011810
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r13, r8
mov r14, rdx
mov r15, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx edx, byte [r8 + 3]
xor rdx, rcx
imul rdx, rax
and rdx, qword [r15 + 0x30]
mov rax, qword [r15 + 8]
mov r8, qword [r15 + 0x18]
lea rdi, [rdx + rdx]
add rdi, 1
shl rdx, 4
mov rcx, qword [r8 + rdx]
mov ebx, dword [r13]
mov rdx, rcx
jmp 0x140011893
mov rdx, qword [rdx]
mov rsi, rcx
cmp rcx, rax
je 0x1400118a2
mov rsi, qword [r8 + rdi*8]
mov rsi, qword [rsi]
cmp rsi, rdx
je 0x1400118bb
cmp dword [rdx + 0x10], ebx
jne 0x140011890
cmp rdx, rax
je 0x1400118bb
mov qword [r14], rdx
mov byte [r14 + 8], 0
jmp 0x140011930
mov rdi, qword [rax]
mov r12, qword [rdi + 8]
mov ecx, 0x38
call fcn.1400494c0
mov rsi, rax
test rdi, rdi
mov rax, r12
cmove rax, rsi
mov rcx, rdi
cmove rcx, rsi
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov eax, dword [r13]
mov dword [rsi + 0x10], eax
lea rcx, [rsi + 0x18]
call fcn.140007f40
mov rax, qword [r15 + 0x10]
movabs rcx, 0x492492492492491
cmp rax, rcx
je 0x140011943
add rax, 1
mov qword [r15 + 0x10], rax
mov qword [rdi + 8], rsi
mov qword [r12], rsi
mov rax, qword [r15 + 8]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
mov rcx, r15
mov rdx, r14
call fcn.140011960
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.list_T__too_long
call fcn.140049f80
ud2
Function at 0x140012350
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400123d3
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14001239e
call fcn.14001d460
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.14001d4e0
mov rcx, qword [rsi]
call fcn.14001d470
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x1400123cc
mov qword [rsi], rdi
call fcn.14001d460
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.14001d4a0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lodsb al, byte [rsi]
test eax, 0x1fb3d27
xor al, 0x55
insb byte [rdi], dx
mov byte [rsi], dh
adc eax, dword [rcx]
iretd
invalid
enter 0x213f, 0xffffffffffffff9b
jg 0x14010c34a
mov edi, 0x5d3674b3
and dword [rsi + 0x50], 0x7fee0997
out dx, al
jg 0x14010c398
out dx, al
jg 0x14010c398
in eax, 0x9d
invalid
fcmovnb st(0), st(1)
cmp esp, dword [rax - 0x29]
pop rsp
mov ah, 0x5e
cmp dword [rsi + rdx*8 - 0x65e2726], 0x65
jg 0x14010c3f2
invalid

Function at 0x140012650
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x14008a048]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14001267f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140012682
mov rcx, qword [rdi]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1400126a3
test bl, bl
je 0x1400126ec
cmp byte [rdi + 8], 0
je 0x1400126de
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1400126e1
cmp byte [rdi + 8], 0
je 0x1400126b4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1400126b7
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400126cd
xor edi, edi
jmp 0x140012768
cmp byte [rdi + 8], 0
je 0x140012720
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140012723
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rdi + 8], 0
je 0x1400126fd
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140012700
mov rcx, qword [rdi]
call sub.KERNEL32.dll_GetProcessId
mov rcx, qword [0x14008c440]
mov dil, 1
test rcx, rcx
je 0x140012768
mov edx, eax
mov r8d, esi
call fcn.140017a30
jmp 0x140012768
mov rcx, qword [rdi]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140012736
mov esi, dword [rsp + 0x24]
cmp byte [rdi + 8], 0
je 0x140012747
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14001274a
mov rcx, qword [rdi]
call sub.KERNEL32.dll_GetProcessId
mov rcx, qword [0x14008c440]
test rcx, rcx
je 0x140012765
mov edx, eax
mov r8d, esi
call fcn.140017a30
mov dil, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140049530
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x14001a2f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rax, qword [0x14008a048]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rsi, [rsp + 0x20]
mov rcx, rsi
xor edx, edx
call fcn.140026c30
cmp qword [rdi + 0x18], 7
jbe 0x14001a322
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140026d30
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140049530
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x14001a350
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
mov rsi, rcx
mov rax, qword [0x14008a048]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rdi, [rsp + 0x70]
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x102
jbe 0x14001a390
xor esi, esi
jmp 0x14001a3f5
mov qword [rsp + 0x20], rdi
cmp word [rsp + 0x70], 0
je 0x14001a3ae
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x72], 0
lea rax, [rax + 1]
jne 0x14001a3a0
jmp 0x14001a3b0
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140007fa0
lea rbx, [rsp + 0x50]
mov rcx, rdi
mov rdx, rbx
call fcn.140009cb0
mov rcx, rsi
mov rdx, rbx
call fcn.140008130
mov rcx, rbx
call fcn.140008050
mov rcx, rdi
call fcn.140008050
mov sil, 1
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140049530
mov eax, esi
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret

Function at 0x14001a420
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x14008a048]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14001a490
movzx eax, word [rsp + 0x70]
test ax, ax
je 0x14001a490
mov qword [rsp + 0x40], rdi
xor eax, eax
cmp word [rsp + rax*2 + 0x72], 0
lea rax, [rax + 1]
jne 0x14001a470
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140007fa0
jmp 0x14001a4e4
lea rdi, [rsp + 0x50]
mov rcx, rdi
call fcn.140007f40
mov rcx, rdi
call fcn.14001a350
test al, al
je 0x14001a4b8
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140007f60
jmp 0x14001a4da
lea rax, [0x14006ca6c]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140007fa0
lea rcx, [rsp + 0x50]
call fcn.140008050
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140049530
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret
Function at 0x14001a760
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x14008a048]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x80], 0
je 0x14001a7e0
cmp qword [rsi + 0x68], 0
je 0x14001a81a
cmp byte [rsi + 0x71], 0
je 0x14001a81a
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001a816
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
test eax, eax
je 0x14001a7e4
cmp eax, 1
je 0x14001a7e8
cmp eax, 3
jne 0x14001a816
jmp 0x14001a81a
xor edi, edi
jmp 0x14001a831
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x14001a810
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, rbx
call fcn.140055fa0
cmp rbx, rax
jne 0x14001a816
cmp byte [rsi + 0x71], 0
je 0x14001a81a
xor ebx, ebx
jmp 0x14001a81d
mov rbx, rsi
mov rcx, qword [rsi + 0x80]
call fcn.140054f10
xor edi, edi
test eax, eax
cmove rdi, rbx
mov byte [rsi + 0x7c], 0
mov byte [rsi + 0x71], 0
lea rax, [rsi + 8]
mov qword [rsi + 0x18], rax
lea rax, [rsi + 0x10]
mov qword [rsi + 0x20], rax
lea rax, [rsi + 0x28]
mov qword [rsi + 0x38], rax
lea rax, [rsi + 0x30]
mov qword [rsi + 0x40], rax
lea rax, [rsi + 0x48]
mov qword [rsi + 0x50], rax
lea rax, [rsi + 0x4c]
mov qword [rsi + 0x58], rax
mov qword [rsi + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x80], 0
mov rax, qword [0x14008c468]
mov qword [rsi + 0x74], rax
mov qword [rsi + 0x68], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140049530
mov rax, rdi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x14001cb10
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x188
mov rax, qword [0x14008a048]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov eax, dword [0x14008c498]
mov ecx, dword [0x14008c3f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001cb70
lea rsi, [0x14008c490]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140049530
mov rax, rsi
add rsp, 0x188
pop rdi
pop rsi
ret
lea rcx, [0x14008c498]
call fcn.14004a5d0
mov eax, dword [0x14008c498]
cmp eax, 0xffffffff
jne 0x14001cb4c
lea rcx, [rsp + 0x64]
xor esi, esi
mov r8d, 0x118
xor edx, edx
call fcn.14004dd70
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x64]
cmp eax, 0xa
je 0x14001cbe1
cmp eax, 6
jne 0x14001cc1c
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetProductInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [rsp + 0x64]
mov edx, dword [rsp + 0x68]
lea rdi, [rsp + 0x2c]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call rax
mov esi, dword [rsp + 0x2c]
mov ecx, pe_nt_image_headers64
call fcn.1400494c0
mov rdi, rax
lea rdx, [rsp + 0x60]
lea r8, [rsp + 0x30]
mov rcx, rax
mov r9d, esi
call fcn.14001cc80
mov qword [0x14008c490], rdi
lea rcx, [0x14008c498]
call fcn.14004a640
jmp 0x14001cb4c
Function at 0x14001d990
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x14008a048]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x14008c4b8]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x14001daff
jp 0x14001daff
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebp, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x14008c4c8]
mov ecx, dword [0x14008c3f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001db1e
mov eax, dword [0x14008c4d8]
mov ecx, dword [0x14008c3f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001db5a
rdtsc
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rsi, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rsi, qword [0x14008c4d0]
movq xmm1, rsi
punpckldq xmm1, xmmword [0x14006cd20]
subpd xmm1, xmmword [0x14006cd30]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addpd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x20]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x14006cd48]
ucomisd xmm1, xmm0
ja 0x14001daff
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x14008c4c0]
movq xmm1, rdi
punpckldq xmm1, xmmword [0x14006cd20]
subpd xmm1, xmmword [0x14006cd30]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addpd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x14008c4b8], xmm6
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140049530
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x14008c4c8]
call fcn.14004a5d0
mov eax, dword [0x14008c4c8]
cmp eax, 0xffffffff
jne 0x14001da11
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14008c4c0], rdx
lea rcx, [0x14008c4c8]
call fcn.14004a640
jmp 0x14001da11
lea rcx, [0x14008c4d8]
call fcn.14004a5d0
mov eax, dword [0x14008c4d8]
cmp eax, 0xffffffff
jne 0x14001da36
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
mov qword [0x14008c4d0], rax
lea rcx, [0x14008c4d8]
call fcn.14004a640
jmp 0x14001da36

Function at 0x140021120
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x14008a0f0]
cmp ecx, 0xffffffff
je 0x14002113e
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp rax, 1
sete al
jmp 0x140021140
xor eax, eax
add rsp, 0x28
ret