joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f30b
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400340a0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x1400720c0]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14007e102]
call fcn.14001f35b
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140034106
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14003410d
mov al, 1
jmp 0x14003427d
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14001e5a0
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.14001e5a0
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14001ef5f
movzx eax, al
test eax, eax
je 0x140034170
xor al, al
jmp 0x14003427d
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x1400341e3
cmp dword [rbp + 0x160], 1
je 0x1400341ee
cmp dword [rbp + 0x160], 3
je 0x14003426c
jmp 0x14003427b
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14003423e
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14003423e
xor al, al
jmp 0x14003427d
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140034259
mov dword [rbp + 0x154], 1
jmp 0x140034263
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14003427d
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14003427d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140063c10]
call fcn.14001f013
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14001e974
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x22ada1370
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
lea rax, [rbp - 8]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call rax
test eax, eax
sete al
test al, al
je 0x22ada13d8
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptAcquireContextW___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x22ada1553
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0x800c
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
call rax
test eax, eax
sete al
test al, al
je 0x22ada142a
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptCreateHash___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x22ada1553
mov rax, qword [rbp - 0x10]
mov ecx, dword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptHashData]
call rax
test eax, eax
sete al
test al, al
je 0x22ada1472
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptHashData___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x22ada1553
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8, rcx
mov edx, 0x6610
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
call rax
test eax, eax
sete al
test al, al
je 0x22ada14c5
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptDeriveKey___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x22ada1553
mov rax, qword [rbp - 0x18]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
call rax
test eax, eax
sete al
test al, al
je 0x22ada151d
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptDecrypt___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x22ada1553
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
call rax
nop
add rsp, 0x50
pop rbp
ret
Function at 0x22ada1573
Capabilities:
Create thread

Disassembly:
push rbp
mov eax, 0x120c0
call fcn.22ada24c0
sub rsp, rax
lea rbp, [rsp + 0x80]
movabs rax, 0x570db00f29d8ac8a
movabs rdx, 0x4ceb7105d7c5e385
mov qword [rbp + 0x12010], rax
mov qword [rbp + 0x12018], rdx
lea rax, [rbp - 0x40]
lea rdx, [0x22ada90e8]
mov ecx, 0x12050
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov dword [rbp + 0x1203c], 0x12050
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x12050
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x12030], rax
cmp qword [rbp + 0x12030], 0
jne 0x22ada1624
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_Allocate_memory___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xffffffff
jmp 0x22ada1756
lea rcx, [rbp + 0x12010]
mov edx, dword [rbp + 0x1203c]
lea rax, [rbp - 0x40]
mov r9d, 0x10
mov r8, rcx
mov rcx, rax
call sym.DecryptAES_char__unsigned_long__char__unsigned_long_
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x12030]
mov r8d, 0x12050
mov rcx, rax
call sym.memmove
lea rdx, [rbp - 0x44]
mov rax, qword [rbp + 0x12030]
mov r9, rdx
mov r8d, 0x20
mov edx, 0x12050
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
sete al
test al, al
je 0x22ada16b1
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xfffffffe
jmp 0x22ada1756
mov rax, qword [rbp + 0x12030]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x12028], rax
cmp qword [rbp + 0x12028], 0
jne 0x22ada1717
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xfffffffd
jmp 0x22ada1756
mov rax, qword [rbp + 0x12030]
mov rdx, rax
lea rax, str._n_nalmem_:__p_n
mov rcx, rax
call sym.printf_char_const__::_
mov rax, qword [rbp + 0x12028]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x12030]
call rax
mov eax, 0
add rsp, 0x120c0
pop rbp
ret

Function at 0x22ada1900
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x22ada1970
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x22adbe064]
mov rbx, rcx
test esi, esi
jle 0x22ada1aa0
mov rax, qword [0x22adbe068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x22ada19bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x22ada1a45
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x22ada19a0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x22ada1ac2
mov rax, qword [0x22adbe068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x22adbe068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x22ada1aa7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x22ada1a3e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x22ada1a50
add dword [0x22adbe064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x22adbe068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x22ada1a3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x22ada19c8
mov rax, qword [0x22adbe068]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x22ada1e40
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x22adbe0a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x22adbe080]
test rbx, rbx
je 0x22ada1e9c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x22ada1e93
test rsi, rsi
je 0x22ada1e93
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x22ada1e78
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x22ada20b0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x22ada20c8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x22ada20d0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x22ada20e0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x22ada212d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x22ada2124
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x22ada212f
add rax, 0x28
cmp rax, r9
jne 0x22ada2110
xor eax, eax
ret

Function at 0x22ada2130
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x22ada21c0
mov rdx, qword [0x22adbb6d0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x22ada21ae
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x22ada21ae
cmp word [rax + 0x18], 0x20b
jne 0x22ada21ae
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x22ada21c0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x22ada2199
add rbx, 0x28
cmp rbx, rdi
je 0x22ada21c0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x22ada2190
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x22ada21d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x22adbb6d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x22ada21f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x22ada21f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x22ada21f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x22ada224d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x22ada2244
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x22ada21f0
add rax, 0x28
cmp rax, r9
jne 0x22ada2230
xor eax, eax
ret

Function at 0x22ada2250
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x22adbb6d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x22ada226f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x22ada2278
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x22ada226f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x22ada2290
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x22adbb6d0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x22ada22b0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x22ada22b8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x22ada22b0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x22ada2300
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x22ada22f7
test rcx, rcx
je 0x22ada22b0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x22ada22e8
xor eax, eax
ret
Function at 0x22ada2310
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x22adbb6d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x22ada232f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x22ada2338
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x22ada2350
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x22adbb6d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x22ada2370
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x22ada2378
ret
cmp word [r8 + 0x18], 0x20b
jne 0x22ada2370
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x22ada2370
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x22ada23c4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x22ada23d0
add rdx, 0x28
cmp r9, rdx
jne 0x22ada23b0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x22ada23e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x22adbb6d0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x22ada2402
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x22ada2410
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x22ada2402
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x22ada2402
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x22ada2402
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x22ada2465
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x22ada2478
add rdx, 0x28
cmp rdx, r10
jne 0x22ada2450
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x22ada2487
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x22ada2497
mov edx, dword [rax + 0xc]
test edx, edx
je 0x22ada246e
test ecx, ecx
jg 0x22ada2480
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001a80
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001b0a
mov rcx, qword [rsp + 0x30]
lea rdx, str.ProxyEnable
mov dword [rsp + 0x38], eax
mov r9d, 4
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Disconnected_From_The_Proxy.
jmp 0x140001b18
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed.
call fcn.140001e10
lea rdx, [0x1400021c0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140002690
add rsp, 0x58
ret

Function at 0x140003024
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000306e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000306e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000306e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000306e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000306e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003070
xor al, al
add rsp, 0x28
ret
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
nop
cmpsb byte [rsi], byte [rdi]
in eax, dx
jg 0x140020a05
mov bh, 0x21
in eax, dx
fxch st(3)
jge 0x140020a4c
add al, 0x5d
push rax
add esp, edi
invalid
in eax, 0xf8
mov ah, 0x1d
test bl, 0x1d
movabs dword [0x8aa2a7158e683f99], eax
invalid
sub al, 0xfa
scasd eax, dword [rdi]
sbb esp, esi
jmp 0xde7ae759
js 0x1400209dd
invalid
Function at 0x140005630
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x850
mov rax, qword [0x1400a2060]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rdi, rdx
movzx ebx, cx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x800
call fcn.14004f2b0
movabs rax, 0x5c003a0063
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
mov r8d, 0x400
mov word [rsp + 0x38], bx
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x1400057b5
cmp word [rsp + 0x40], 0x5c
jne 0x140005734
cmp word [rsp + 0x42], 0x5c
jne 0x140005734
cmp word [rsp + 0x44], 0x3f
jne 0x140005734
cmp word [rsp + 0x46], 0x5c
jne 0x140005734
mov r8d, 4
lea rdx, [0x14008ebe0]
mov rcx, rdi
call fcn.1400071b0
lea rax, [rsp + 0x48]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400056e2
mov r8, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x10]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x14000572d
lea rbx, [rcx + rdx]
mov qword [rdi + 0x10], rbx
cmp r8, 8
jb 0x140005710
mov rdi, qword [rdi]
lea r8, [rdx + rdx]
lea rdx, [rsp + 0x48]
lea rcx, [rdi + rcx*2]
call fcn.14004ea60
xor eax, eax
mov word [rdi + rbx*2], ax
jmp 0x1400057b5
lea r9, [rsp + 0x48]
jmp 0x1400057a2
mov r8d, 4
lea rdx, [0x14008ebe0]
mov rcx, rdi
call fcn.1400071b0
lea rax, [rsp + 0x40]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140005755
mov r8, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x10]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x14000579d
lea rbx, [rcx + rdx]
mov qword [rdi + 0x10], rbx
cmp r8, 8
jb 0x140005783
mov rdi, qword [rdi]
lea r8, [rdx + rdx]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + rcx*2]
call fcn.14004ea60
xor eax, eax
mov word [rdi + rbx*2], ax
jmp 0x1400057b5
lea r9, [rsp + 0x40]
movzx r8d, byte [rsp + 0x30]
mov rcx, rdi
mov qword [rsp + 0x20], rdx
call fcn.1400080f0
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14004c7f0
mov rbx, qword [rsp + 0x860]
add rsp, 0x850
pop rdi
ret