joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d561c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d569a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d5691
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d5691
mov rax, qword [rbp - 8]
jmp 0x2fc4d56af
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d5664
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc52da10
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc52eaf0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc52e412
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc550108]
test eax, eax
je 0x2fc52e4aa
lea rax, [0x2fc5500e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc550110]
mov qword [rbp - 8], rax
jmp 0x2fc52e48e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc52e482
cmp qword [rbp - 0x10], 0
je 0x2fc52e482
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc52e448
lea rax, [0x2fc5500e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc52e4ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc52e5b0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc52e5d8
mov eax, 0
jmp 0x2fc52e626
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc52e601
mov eax, 0
jmp 0x2fc52e626
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc52e621
mov eax, 0
jmp 0x2fc52e626
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc52e62c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc52e6aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc52e6a1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc52e6a1
mov rax, qword [rbp - 8]
jmp 0x2fc52e6bf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc52e674
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc535cb0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc536d90
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc5366b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc559108]
test eax, eax
je 0x2fc53674a
lea rax, [0x2fc5590e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc559110]
mov qword [rbp - 8], rax
jmp 0x2fc53672e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc536722
cmp qword [rbp - 0x10], 0
je 0x2fc536722
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc5366e8
lea rax, [0x2fc5590e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc53674b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc536850
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc536878
mov eax, 0
jmp 0x2fc5368c6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc5368a1
mov eax, 0
jmp 0x2fc5368c6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc5368c1
mov eax, 0
jmp 0x2fc5368c6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc5368cc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc53694a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc536941
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc536941
mov rax, qword [rbp - 8]
jmp 0x2fc53695f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc536914
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1800014c2
Capabilities:
Get common file path
Read .ini file

Disassembly:
push rbx
push rcx
push rdx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
sub rsp, 0x38
call fcn.1800015ac
mov rcx, 0
call sub.kernel32.dll_GetModuleHandleW
mov rbx, rax
mov rcx, 0xffffffffffffffff
mov rdx, rbx
movabs r8, 0x1800032d0
mov r9, pe_nt_image_headers64
call sub.psapi.dll_GetModuleBaseNameA
mov rcx, 0x104
movabs rdx, 0x18000300d
call sub.kernel32.dll_GetCurrentDirectoryA
lea rcx, [0x18000300d]
lea rdx, str._versiondll.ini
call sub.kernel32.dll_lstrcatA
lea rcx, str.options
lea rdx, str.filename
lea r8, str.HexFrame.exe
lea r9, [0x180003112]
mov qword [rsp + 0x20], 0x14
lea rax, [0x18000300d]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_GetPrivateProfileStringA
movabs rcx, 0x1800032d0
movabs rdx, 0x180003112
call sub.kernel32.dll_lstrcmpiA
or eax, eax
jne 0x180001591
call fcn.18000105f
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rdx
pop rcx
pop rbx
ret

Function at 0x1800015ac
Capabilities:
Get common file path

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x230
lea rcx, [rbp - 0x210]
mov rdx, 0x208
call sub.kernel32.dll_GetSystemDirectoryW
nop
lea rcx, [rbp - 0x210]
movabs rdx, str._version.dll
call sub.kernel32.dll_lstrcatW
lea rcx, [rbp - 0x210]
call sub.kernel32.dll_LoadLibraryW
mov qword [rbp - 8], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.GetFileVersionInfoA
call fcn.180001000
mov qword [0x180003360], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.GetFileVersionInfoW
call fcn.180001000
mov qword [0x180003368], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.GetFileVersionInfoExW
call fcn.180001000
mov qword [0x180003370], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.GetFileVersionInfoSizeExW
call fcn.180001000
mov qword [0x180003378], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.GetFileVersionInfoSizeA
call fcn.180001000
mov qword [0x180003380], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.GetFileVersionInfoSizeW
call fcn.180001000
mov qword [0x180003388], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.VerQueryValueA
call fcn.180001000
mov qword [0x180003390], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.VerQueryValueW
call fcn.180001000
mov qword [0x180003398], rax
add rsp, 0x230
leave
ret
Function at 0x140005c90
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rdi
push r14
push r15
mov eax, 0x1030
call fcn.14001a310
sub rsp, rax
mov rax, qword [0x14005f080]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r15, r9
mov rdi, r8
mov r14, rcx
test r8, r8
je 0x140005d57
mov r9d, 0x1000
lea rdx, [rsp + 0x20]
call fcn.140003d70
test al, al
jne 0x140005ce6
lea rdx, str.____Cant_read_module_headers
jmp 0x140005d43
movsxd rax, dword [rsp + 0x5c]
lea rcx, [rsp + 0x20]
add rcx, rax
xor r8d, r8d
movzx eax, word [rcx + 0x14]
lea r10, [rcx + 0x18]
movzx r9d, word [rcx + 6]
add r10, rax
test r9d, r9d
je 0x140005d3c
lea rbx, [r8 - 1]
nop
lea rcx, [r8 + r8*4]
cmp dword [r10 + rcx*8], 0x45474150
lea rdx, [r10 + rcx*8]
jne 0x140005d34
mov rax, rbx
inc rax
cmp byte [rdx + rax], 0
jne 0x140005d25
cmp rax, 4
je 0x140005d79
inc r8d
cmp r8d, r9d
jb 0x140005d10
lea rdx, str.____Cant_find_section
lea rcx, [0x1403b4b80]
call fcn.14000a3b0
mov rcx, rax
call fcn.14000a660
lea rdx, str.____No_module_address_to_find_pattern
lea rcx, [0x1403b4b80]
call fcn.14000a3b0
mov rcx, rax
call fcn.14000a660
xor eax, eax
jmp 0x140005e79
mov eax, dword [rdx + 0xc]
lea rbp, [rsp + 0x20]
mov ecx, dword [rdx + 8]
add rbp, rax
je 0x140005d3c
test ecx, ecx
je 0x140005d3c
lea rax, [rsp + 0x20]
sub rbp, rax
add rbp, rdi
mov edi, ecx
je 0x140005d57
cmp rcx, 0x40000000
jbe 0x140005dc7
lea rdx, str.____Cant_find_pattern__Too_big_section
lea rcx, [0x1403b4b80]
call fcn.14000a3b0
mov rcx, rax
call fcn.14000a660
xor eax, eax
jmp 0x140005e79
mov qword [rsp + 0x1068], rsi
call fcn.140019f58
mov r9, rdi
mov r8, rbp
mov rdx, rax
mov rcx, r14
mov rsi, rax
call fcn.140003d70
mov r10, qword [rsp + 0x1080]
inc rbx
cmp byte [r10 + rbx], 0
jne 0x140005df0
mov r9d, 0
sub rdi, rbx
je 0x140005e4c
movzx r11d, byte [r10]
mov rbx, rsi
sub rbx, r15
nop
mov rdx, r10
mov rax, r15
test r11b, r11b
je 0x140005e3f
movzx ecx, r11b
lea r8, [rbx + r9]
cmp cl, 0x78
jne 0x140005e31
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
jne 0x140005e44
movzx ecx, byte [rdx + 1]
inc rdx
inc rax
test cl, cl
jne 0x140005e23
cmp byte [rdx], 0
je 0x140005e98
inc r9
cmp r9, rdi
jb 0x140005e10
lea rdx, str.____Cant_find_pattern
lea rcx, [0x1403b4b80]
call fcn.14000a3b0
mov rcx, rax
call fcn.14000a660
mov rcx, rsi
call fcn.140019910
xor eax, eax
mov rsi, qword [rsp + 0x1068]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400198f0
add rsp, 0x1030
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret
lea rbx, [r9 + rsi]
test rbx, rbx
je 0x140005e4c
mov rcx, rsi
call fcn.140019910
sub rbx, rsi
lea rax, [rbx + rbp]
jmp 0x140005e71
Function at 0x140006ae0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140006b02
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140006b7c
mov rdi, r14
mov rcx, rbx
call fcn.140009380
test rax, rax
jle 0x140006b54
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14003ef70
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140006b6c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140006b74
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140006b16
sub r14, rdi
jmp 0x140006c5f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140006b93
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140006b95
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140006bc7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14003ef70
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140006c5c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140006c02
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140006c3d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14002553c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140006c5c
cmp rbp, rax
ja 0x140006c10
test rbp, rbp
je 0x140006c5c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14002553c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140013f90
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14005f080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400140ac
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x1400140ac
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x140014009
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x1400140b7
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov eax, dword [rbx]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14001409a
mov edx, eax
cmp rdx, rbp
jae 0x14001409a
mov r9d, dword [rbx + 4]
test r9d, r9d
je 0x14001409a
lea rax, [rdx + rsi]
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [r9 - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x140014072
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x14001408e
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140014960
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
test eax, eax
jne 0x140014022
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x1400140b7
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400198f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140016940
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14005f080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov edi, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400169c9
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140016980
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
test eax, eax
js 0x140016aa6
mov ebx, r14d
cmp dword [rdi], ebx
jbe 0x140016aa6
nop dword [rax]
mov eax, ebx
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rdi + 0x2e]
lea rbp, [rcx + rdi]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140016a25
lea rcx, [rsp + 0x28]
call fcn.14000ba40
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x140016a45
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call fcn.140024f50
test eax, eax
je 0x140016adc
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140016a9c
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016a97
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016b2f
call fcn.140019910
inc ebx
cmp ebx, dword [rdi]
jb 0x1400169f0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400198f0
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov rbx, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140016b2a
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016b25
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016b2f
call fcn.140019910
mov rax, rbx
jmp 0x140016ab9
call fcn.1400236c0
int3
Function at 0x140019458
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140019492
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140019497
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400194e0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140043a30]
cmp byte [rcx + rax], 0
je 0x1400194e0
dec r8
sub rdx, 1
jne 0x1400194c6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001a670
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001a6ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001a6ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001a6ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001a6ba
cmp dword [rcx + 0x84], 0xe
jbe 0x14001a6ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001a6bc
xor al, al
add rsp, 0x28
ret

Function at 0x14002816c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140027f68

Function at 0x14002e06c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14002e082
mov al, 1
jmp 0x14002e0e2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14002e093
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14002e0e0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003642c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002e0e0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14002e0e0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002e0e0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14002e0e2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14002f4fc
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002f51c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140025f3c
or eax, 0xffffffff
jmp 0x14002f51e
xor eax, eax
add rsp, 0x28
ret

Function at 0x14002fb50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14001a310
sub rsp, rax
mov rax, qword [0x14005f080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14002d60c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002fb9f
mov rax, rbp
jmp 0x14002fca7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3b5e10]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140031570
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3b5e10]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002fca3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002fca3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140031570
test rax, rax
js 0x14002fca3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002fca3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002fc95
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002fc95
cmp byte [rcx], 0xd
jne 0x14002fc7b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002fc8a
cmp byte [rcx + 1], 0xa
jne 0x14002fc8a
inc rcx
jmp 0x14002fc8a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x5f4b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002fc5d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002fca7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400198f0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret