joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140127150
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x140493a40]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x1404b515f]
call fcn.1400d531c
nop
mov rax, qword [rbp + 0x1d8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40
lea r9, [rbp + 0x10]
lea r8, [0x140284dae]
mov rdx, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x14012727c
mov dword [rbp + 0xa4], 0
lea r8, [rbp + 0x88]
lea rdx, [0x14028dc18]
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_strtok_s]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x140127275
cmp dword [rbp + 0xa4], 4
jge 0x140127275
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_atof]
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0xc4], xmm0
movsxd rax, dword [rbp + 0xa4]
mov rcx, qword [rbp + 0x1d0]
movss xmm0, dword [rbp + 0xc4]
movss dword [rcx + rax*4], xmm0
lea r8, [rbp + 0x88]
lea rdx, [0x14028dc18]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_strtok_s]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
jmp 0x14012720a
mov eax, 1
jmp 0x14012727e
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14028a0c0]
call fcn.1400d47cd
mov rax, rdi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.1400d2fe5
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret

Function at 0x140127310
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1404b515f]
call fcn.1400d531c
nop
mov r9, qword [rbp + 0x118]
mov r8d, 0xffffffff
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
je 0x14012737c
mov rax, qword [rbp + 0x110]
mov ecx, dword [rbp + 4]
mov dword [rax], ecx
mov eax, 1
jmp 0x14012737e
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140270b80
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400d55bf
movzx eax, al
test eax, eax
jne 0x140270ba0
mov ecx, 7
call fcn.1400d4822
nop
mov byte [rsp + 0x20], 0
call fcn.1400d4944
mov byte [rsp + 0x21], al
cmp dword [0x14049c980], 1
jne 0x140270bc4
mov ecx, 7
call fcn.1400d4822
nop
jmp 0x140270c1c
cmp dword [0x14049c980], 0
jne 0x140270c17
mov dword [0x14049c980], 1
lea rdx, [0x140284818]
lea rcx, [0x1402844e8]
call fcn.1400d2f31
test eax, eax
je 0x140270bf8
mov eax, 0xff
jmp 0x140270d21
lea rdx, [0x1402843d8]
lea rcx, [section..rdata]
call fcn.1400d490d
mov dword [0x14049c980], 2
jmp 0x140270c1c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400d4750
call fcn.1400d3fe9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140270c79
mov rcx, qword [rsp + 0x30]
call fcn.1400d2946
movzx eax, al
test eax, eax
je 0x140270c79
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x1404b7020]
nop
call fcn.1400d4313
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140270cad
mov rcx, qword [rsp + 0x38]
call fcn.1400d2946
movzx eax, al
test eax, eax
je 0x140270cad
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400d512d
nop
call fcn.140270d90
mov dword [rsp + 0x28], eax
call fcn.1400d3e40
movzx eax, al
test eax, eax
jne 0x140270ccc
mov ecx, dword [rsp + 0x28]
call fcn.1400d14a1
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140270cdb
call fcn.1400d51f5
nop
xor edx, edx
mov cl, 1
call fcn.1400d27ed
mov eax, dword [rsp + 0x28]
jmp 0x140270d21
add rsp, 0x68
ret
Function at 0x1400010ff
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140006558
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400065e5
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400065e5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400065e5
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400065cc
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400065c6
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400065ce
add rdx, 0x28
jmp 0x1400065ab
xor edx, edx
test rdx, rdx
jne 0x1400065d7
xor al, al
jmp 0x1400065eb
cmp dword [rdx + 0x24], 0
jge 0x1400065e1
xor al, al
jmp 0x1400065eb
mov al, 1
jmp 0x1400065eb
xor al, al
jmp 0x1400065eb
add rsp, 0x18
ret

Function at 0x14000116d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400079a0
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x1400011b8
Capabilities:
Terminate process

Disassembly:
jmp 0x1400056e4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.14000128f
test al, al
je 0x1400055af
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.14000123f
mov bl, al
mov ecx, dword [0x140069ca0]
cmp ecx, 1
je 0x1400055ba
test ecx, ecx
jne 0x1400054e5
mov dword [0x140069ca0], 1
lea rdx, [0x14000c660]
lea rcx, [0x14000c330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1400054c6
mov eax, 0xff
jmp 0x14000559f
lea rdx, [0x14000c220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x140069ca0], 2
jmp 0x1400054ed
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.140001226
call fcn.1400011d6
mov rbx, rax
cmp qword [rax], 0
je 0x140005520
mov rcx, rax
call fcn.1400010ff
test al, al
je 0x140005520
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x14006f020]
call fcn.1400011f9
mov rbx, rax
cmp qword [rax], 0
je 0x140005542
mov rcx, rax
call fcn.1400010ff
test al, al
je 0x140005542
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.1400011b3
mov ebx, eax
call fcn.1400011bd
test al, al
je 0x1400055c4
test sil, sil
jne 0x140005579
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1400010f0
mov eax, ebx
jmp 0x14000559f
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140001235
nop
mov ecx, 7
call fcn.140001235
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.1400011c7
add rsp, 0x28
jmp 0x140005458

Function at 0x1400011bd
Capabilities:
Parse pe header

Disassembly:
jmp 0x140006b0c
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006b57
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006b57
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006b57
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006b57
cmp dword [rcx + 0x84], 0xe
jbe 0x140006b57
cmp dword [rcx + 0xf8], 0
je 0x140006b57
mov al, 1
jmp 0x140006b59
xor al, al
add rsp, 0x28
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
push rsi
movzx rcx, word [rdx + 0x4a]
xor r9, r9
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
push r9
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
add r8, rdx
mov ecx, dword [rax + 0x18]
push rax
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x14006907d
Capabilities:
Connect socket
Resolve dns

Disassembly:
jmp 0x1400e3e80
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14017f080]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14019515a]
call fcn.14006c840
nop
mov qword [rbp + 8], 0
mov r8d, 0x30
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.14006ba1c
nop
mov dword [rbp + 0x2c], 0
mov dword [rbp + 0x30], 1
mov dword [rbp + 0x34], 6
mov rcx, qword [rbp + 0x1b0]
call fcn.14006950a
mov qword [rbp + 0x168], rax
mov rcx, qword [rbp + 0x1a8]
call fcn.14006950a
lea r9, [rbp + 8]
lea r8, [rbp + 0x28]
mov rcx, qword [rbp + 0x168]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [rbp + 0x74], eax
cmp dword [rbp + 0x74], 0
je 0x1400e3f4d
xor al, al
jmp 0x1400e4039
mov rax, qword [rbp + 8]
mov qword [rbp + 0x98], rax
jmp 0x1400e3f6c
mov rax, qword [rbp + 0x98]
mov rax, qword [rax + 0x28]
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
je 0x1400e401b
mov rax, qword [rbp + 0x98]
mov r8d, dword [rax + 0xc]
mov rax, qword [rbp + 0x98]
mov edx, dword [rax + 8]
mov rax, qword [rbp + 0x98]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rbp + 0x1a0]
mov qword [rcx], rax
mov rax, qword [rbp + 0x1a0]
cmp qword [rax], 0xffffffffffffffff
jne 0x1400e3fc1
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
xor al, al
jmp 0x1400e4039
mov rax, qword [rbp + 0x98]
mov r8d, dword [rax + 0x10]
mov rax, qword [rbp + 0x98]
mov rdx, qword [rax + 0x20]
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rbp + 0x74], eax
cmp dword [rbp + 0x74], 0xffffffff
jne 0x1400e4014
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rax, qword [rbp + 0x1a0]
mov qword [rax], 0xffffffffffffffff
jmp 0x1400e3f5a
jmp 0x1400e401b
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax], 0xffffffffffffffff
jne 0x1400e4037
xor al, al
jmp 0x1400e4039
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.14006be22
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14006aaf9
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140069546
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401048e0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14019513d]
call fcn.14006c840
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140104938
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140104a4a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x1401049e3
cmp qword [rbp + 0x28], 0
jle 0x1401049e3
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140104981
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14006c453
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x140104a39
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140104a39
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400699a6
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400d03b0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1401950e9]
call fcn.14006c840
nop
mov qword [rbp + 8], 0
jmp 0x1400d03ef
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x1400d0445
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x1400d03e4
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140069ef1
Capabilities:
Encrypt data using dpapi

Disassembly:
jmp 0x1400e5a60
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x14017f080]
xor rax, rbp
mov qword [rbp + 0x178], rax
mov dword [rbp + 0x164], 0
lea rcx, [0x14019515a]
call fcn.14006c840
nop
mov rcx, qword [rbp + 0x1a8]
call fcn.1400690b4
mov qword [rbp + 0x10], rax
mov rcx, qword [rbp + 0x1a8]
call fcn.14006a766
mov dword [rbp + 8], eax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call fcn.14006c412
test eax, eax
je 0x1400e5b5d
mov eax, dword [rbp + 0x38]
mov r8d, eax
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x68]
call fcn.1400695dc
nop
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x1a0]
call fcn.14006c43f
mov eax, dword [rbp + 0x164]
or eax, 1
mov dword [rbp + 0x164], eax
lea rcx, [rbp + 0x68]
call fcn.140069a32
nop
mov rax, qword [rbp + 0x1a0]
jmp 0x1400e5b86
lea rdx, [0x14015a0da]
mov rcx, qword [rbp + 0x1a0]
call fcn.14006a90a
mov eax, dword [rbp + 0x164]
or eax, 1
mov dword [rbp + 0x164], eax
mov rax, qword [rbp + 0x1a0]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.14006be22
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.14006aaf9
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14006ab6c
Capabilities:
Get disk information
Get disk size

Disassembly:
jmp 0x1400f1a60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x82
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x308]
mov rax, qword [0x14017f080]
xor rax, rbp
mov qword [rbp + 0x2b8], rax
mov dword [rbp + 0x294], 0
lea rcx, [0x14019515a]
call fcn.14006c840
nop
mov edx, 0x20
mov rcx, qword [rbp + 0x2e0]
call fcn.14006b832
mov rcx, qword [rbp + 0x2e0]
call fcn.14006ac57
mov qword [rbp + 0x2a8], rax
mov eax, dword [rbp + 0x294]
or eax, 1
mov dword [rbp + 0x294], eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rbp + 0x44], eax
mov byte [rbp + 0x64], 0x41
jmp 0x1400f1aff
movzx eax, byte [rbp + 0x64]
inc al
mov byte [rbp + 0x64], al
movsx eax, byte [rbp + 0x64]
cmp eax, 0x5a
jg 0x1400f1c5a
movsx eax, byte [rbp + 0x64]
sub eax, 0x41
mov ecx, 1
mov dword [rbp + 0x2a4], ecx
movzx ecx, al
mov eax, dword [rbp + 0x2a4]
shl eax, cl
mov ecx, dword [rbp + 0x44]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1400f1c55
movzx r8d, byte [rbp + 0x64]
mov edx, 1
lea rcx, [rbp + 0x258]
call fcn.14006afb8
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
mov qword [rbp + 0x2b0], rax
lea r8, [0x14015b490]
mov rdx, qword [rbp + 0x2b0]
lea rcx, [rbp + 0x88]
call fcn.14006c309
nop
lea rcx, [rbp + 0x258]
call fcn.140069a32
nop
lea rcx, [rbp + 0x88]
call fcn.14006950a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 3
je 0x1400f1bbc
cmp dword [rbp + 0xc4], 2
jne 0x1400f1c48
lea rcx, [rbp + 0x88]
call fcn.14006950a
lea r9, [rbp + 0x128]
lea r8, [rbp + 0x108]
lea rdx, [rbp + 0xe8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x1400f1c48
lea rcx, [rbp + 0x148]
call fcn.14006c7be
nop
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x148]
call fcn.14006bdaa
nop
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x178], rax
lea rdx, [rbp + 0x148]
mov rcx, qword [rbp + 0x2e0]
call fcn.14006c81d
nop
lea rcx, [rbp + 0x148]
call fcn.140069127
nop
lea rcx, [rbp + 0x88]
call fcn.140069a32
nop
jmp 0x1400f1af6
mov rax, qword [rbp + 0x2e0]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysStringLen
call fcn.14006be22
mov rax, rdi
mov rcx, qword [rbp + 0x2b8]
xor rcx, rbp
call fcn.14006aaf9
lea rsp, [rbp + 0x2c8]
pop rdi
pop rbp
ret

Function at 0x14006af45
Capabilities:
Terminate process

Disassembly:
jmp 0x140133990
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14006b698
Capabilities:
Parse pe header

Disassembly:
jmp 0x140135c30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140135c50
xor al, al
jmp 0x140135cd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140135c63
xor al, al
jmp 0x140135cd1
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 0x140135c8d
xor al, al
jmp 0x140135cd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140135ca1
xor al, al
jmp 0x140135cd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140135cb3
xor al, al
jmp 0x140135cd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140135ccf
xor al, al
jmp 0x140135cd1
mov al, 1
add rsp, 0x38
ret
Function at 0x14006be40
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1400f44b0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x62
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x298]
mov rax, qword [0x14017f080]
xor rax, rbp
mov qword [rbp + 0x238], rax
mov dword [rbp + 0x224], 0
lea rcx, [0x14019515a]
call fcn.14006c840
nop
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400f455c
lea rdx, str.Unknown_OS
mov rcx, qword [rbp + 0x260]
call fcn.14006a90a
mov eax, dword [rbp + 0x224]
or eax, 1
mov dword [rbp + 0x224], eax
mov rax, qword [rbp + 0x260]
jmp 0x1400f45fd
mov dword [rbp + 0x144], 0x100
lea rax, [rbp + 0x144]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProductName
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1400f45cc
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, str.Unknown_OS
mov rcx, qword [rbp + 0x260]
call fcn.14006a90a
mov eax, dword [rbp + 0x224]
or eax, 1
mov dword [rbp + 0x224], eax
mov rax, qword [rbp + 0x260]
jmp 0x1400f45fd
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x260]
call fcn.14006a90a
mov eax, dword [rbp + 0x224]
or eax, 1
mov dword [rbp + 0x224], eax
mov rax, qword [rbp + 0x260]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.14006be22
mov rax, rdi
mov rcx, qword [rbp + 0x238]
xor rcx, rbp
call fcn.14006aaf9
lea rsp, [rbp + 0x248]
pop rdi
pop rbp
ret