joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024010
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r8
mov r9, rax
sar r9, 2
test rax, rax
je 0x140024091
xor r11d, r11d
lea r10, [0x140053f50]
mov edx, r9d
nop word cs:[rax + rax]
nop
mov eax, dword [r8 + r11*4]
mov esi, eax
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 8
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 0x10
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
movzx esi, dl
shr eax, 0x18
xor eax, esi
shr edx, 8
xor edx, dword [r10 + rax*4]
add r11, 1
cmp r11, r9
jb 0x140024040
jmp 0x140024094
mov edx, r9d
cmp edx, dword [rcx + 0x18]
sete al
pop rsi
ret

Function at 0x1400240a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r8
mov r9, rax
sar r9, 2
test rax, rax
je 0x140024121
xor r11d, r11d
lea r10, [0x140053f50]
mov edx, r9d
nop word cs:[rax + rax]
nop
mov eax, dword [r8 + r11*4]
mov esi, eax
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 8
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 0x10
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
movzx esi, dl
shr eax, 0x18
xor eax, esi
shr edx, 8
xor edx, dword [r10 + rax*4]
add r11, 1
cmp r11, r9
jb 0x1400240d0
jmp 0x140024124
mov edx, r9d
mov dword [rcx + 0x18], edx
pop rsi
ret

Function at 0x1400267e0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400267f9
mov dword [rsi], eax
mov al, 1
jmp 0x1400267fb
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x140029ce0
Capabilities:
Encode data using xor

Disassembly:
cmp rdx, 0x7fffffff
jbe 0x14002685c
xor eax, eax
ret
jmp 0x140029ce0
push rsi
xor eax, eax
test rcx, rcx
je 0x140029e19
test edx, edx
jle 0x140029e19
mov r11d, edx
shr r11d, 2
je 0x140029d98
lea r10d, [r11 - 1]
mov r9d, r11d
mov esi, edx
mov r8, rcx
test dl, 4
je 0x140029d3a
movzx r9d, word [rcx]
add r9d, edx
movzx eax, word [rcx + 2]
shl eax, 0xb
xor eax, r9d
shl r9d, 0x10
xor r9d, eax
lea r8, [rcx + 4]
mov esi, r9d
shr esi, 0xb
add esi, r9d
mov r9d, r10d
lea r10, [r10*4 + 4]
cmp r11d, 1
je 0x140029d93
nop dword [rax + rax]
movzx eax, word [r8]
add eax, esi
movzx esi, word [r8 + 2]
shl esi, 0xb
xor esi, eax
shl eax, 0x10
xor eax, esi
mov esi, eax
shr esi, 0xb
add esi, eax
movzx eax, word [r8 + 4]
add eax, esi
movzx esi, word [r8 + 6]
shl esi, 0xb
xor esi, eax
shl eax, 0x10
xor eax, esi
mov esi, eax
shr esi, 0xb
add esi, eax
add r8, 8
add r9d, 0xfffffffe
jg 0x140029d50
add rcx, r10
jmp 0x140029d9a
mov esi, edx
and dl, 3
cmp dl, 1
je 0x140029dc8
cmp dl, 2
je 0x140029dda
cmp dl, 3
jne 0x140029ded
movzx eax, word [rcx]
add esi, eax
movsx eax, byte [rcx + 2]
shl eax, 0x12
xor eax, esi
mov ecx, esi
shl ecx, 0x10
xor eax, ecx
mov esi, eax
shr esi, 0xb
jmp 0x140029deb
movsx eax, byte [rcx]
add esi, eax
mov eax, esi
shl eax, 0xa
xor eax, esi
mov esi, eax
shr esi, 1
jmp 0x140029deb
movzx eax, word [rcx]
add esi, eax
mov eax, esi
shl eax, 0xb
xor eax, esi
mov esi, eax
shr esi, 0x11
add esi, eax
lea eax, [rsi*8]
xor eax, esi
mov ecx, eax
shr ecx, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add ecx, eax
mov edx, ecx
shl edx, 0x19
xor edx, ecx
mov eax, edx
shr eax, 6
add eax, edx
pop rsi
ret
Function at 0x14002ced0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov esi, edx
mov rdi, rcx
or ebx, 0xffffffff
xor r14d, r14d
cmp edx, ebx
jne 0x14002cf20
cmp edx, ebx
cmove esi, r14d
mov eax, esi
jmp 0x14002d0f3
mov rax, qword [rcx + 0x40]
cmp qword [rax], r14
je 0x14002cf54
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x14002cf54
lea ecx, [r8 - 1]
mov dword [rdx], ecx
mov rdx, qword [rdi + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x14002cf19
cmp qword [rdi + 0x80], r14
je 0x14002d0f1
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14002cf8e
mov rdx, qword [rdi + 0x90]
mov rcx, qword [rdi + 0x88]
mov qword [r8], rcx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
cmp qword [rdi + 0x68], r14
jne 0x14002cfae
movsx ecx, sil
mov rdx, qword [rdi + 0x80]
call fcn.140036ecc
cmp eax, ebx
cmovne ebx, esi
jmp 0x14002d0f1
mov byte [rbp - 0x19], sil
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp + 7]
call fcn.14002a7d4
nop
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae r8, qword [rbp + 7]
lea r9, [rbp + 7]
cmovae r9, qword [rbp + 7]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rcx]
add r8, qword [rbp + 0x17]
mov rax, qword [rdx + 0x38]
lea rdx, [rbp - 0x11]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], r9
lea rdx, [rbp - 9]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x19]
lea rdx, [rdi + 0x74]
call qword [case.0x14002a26e.0]
test eax, eax
js 0x14002d0b7
cmp eax, 1
jg 0x14002d09d
lea rax, [rbp + 7]
mov r10, qword [rbp + 7]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
cmovae rax, r10
mov r15, qword [rbp - 0x11]
sub r15, rax
je 0x14002d066
lea rcx, [rbp + 7]
cmp rdx, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, r15
mov edx, 1
call fcn.1400375f0
cmp r15, rax
jne 0x14002d0b7
mov byte [rdi + 0x71], 1
lea rax, [rbp - 0x19]
cmp qword [rbp - 9], rax
jne 0x14002d099
test r15, r15
jne 0x14002cfc3
cmp qword [rbp + 0x17], 0x20
jae 0x14002d0b7
xor r8d, r8d
lea edx, [r15 + 8]
lea rcx, [rbp + 7]
call fcn.140007da0
jmp 0x14002cfc3
mov ebx, esi
jmp 0x14002d0b7
cmp eax, 3
jne 0x14002d0b7
movsx ecx, byte [rbp - 0x19]
mov rdx, qword [rdi + 0x80]
call fcn.140036ecc
cmp eax, ebx
cmovne ebx, esi
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14002d0f1
inc rdx
mov r10, qword [rbp + 7]
mov rax, r10
cmp rdx, 0x1000
jb 0x14002d0e9
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d11b
mov rcx, r10
call fcn.14002a000
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14002a340
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140034cb0
int3
Function at 0x14002d8e0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0x68], rbx
je 0x14002da52
cmp byte [rcx + 0x71], bl
je 0x14002da52
mov rax, qword [rcx]
or edx, 0xffffffff
mov rax, qword [rax + 0x18]
call qword [case.0x14002a26e.0]
cmp eax, 0xffffffff
jne 0x14002d945
xor al, al
jmp 0x14002da57
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.14002a7d4
nop
mov esi, 1
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r9, qword [rbp - 0x30]
lea r8, [rbp - 0x30]
cmovae r8, qword [rbp - 0x30]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rcx]
add r9, qword [rbp - 0x20]
mov rax, qword [rdx + 0x40]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
lea rdx, [rdi + 0x74]
call qword [case.0x14002a26e.0]
mov ecx, eax
test eax, eax
je 0x14002d9a5
sub ecx, esi
je 0x14002d9a8
cmp ecx, 2
jne 0x14002da14
jmp 0x14002da11
mov byte [rdi + 0x71], bl
lea rax, [rbp - 0x30]
mov r10, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, r10
mov r14, qword [rbp - 0x40]
sub r14, rax
je 0x14002d9e8
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, r14
mov rdx, rsi
call fcn.1400375f0
cmp r14, rax
jne 0x14002da0e
cmp byte [rdi + 0x71], bl
je 0x14002da0b
test r14, r14
jne 0x14002d95b
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.140007da0
jmp 0x14002d95b
mov bl, sil
mov sil, bl
mov bl, sil
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14002da4e
inc rdx
mov r10, qword [rbp - 0x30]
mov rax, r10
cmp rdx, 0x1000
jb 0x14002da46
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002da7d
mov rcx, r10
call fcn.14002a000
mov al, bl
jmp 0x14002da57
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14002a340
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140034cb0
int3
Function at 0x1400013ae
Capabilities:
Execute command

Disassembly:
push rbp
sub rsp, 0x6d0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], r8
mov qword [rbp + 0x6b0], rcx
mov qword [rbp + 0x6b8], rdx
mov byte [rbp + 0x6c0], r8b
mov rax, qword [0x1400e0a40]
xor rax, rbp
mov qword [rbp + 0x690], rax
mov qword [rbp + 0x30], 0
lea rax, [rbp + 0x470]
mov edx, 0
mov ecx, 0x21c
mov rdi, rax
mov eax, edx
and eax, 0xffff
mov ah, al
mov edx, eax
shl eax, 0x10
or eax, edx
mov esi, ecx
shr rcx, 2
rep stosd dword [rdi], eax
mov ecx, esi
and ecx, 3
rep stosb byte [rdi], al
lea rax, [rbp + 0x88]
mov byte [rax], 0
lea rax, [rbp + 0x88]
mov rdx, qword [rbp + 0x6b8]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x88]
lea rdx, [0x1400af700]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x88]
mov rdx, qword [rbp + 0x6b0]
mov rdx, qword [rdx + 0x38]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov qword [rbp + 0x48], rax
movsx eax, byte [rbp + 0x6c0]
movsx rax, al
test eax, eax
je 0x1400014bc
lea rax, [rbp + 0x88]
lea rdx, str._2_1
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x88]
mov rdx, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, rax
call rdx
mov dword [rbp], eax
mov eax, dword [rbp]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x6b0]
lea rdx, [rbp + 0x470]
mov ecx, 0x21c
mov dword [rbp + 0x58], ecx
mov rcx, rax
mov eax, dword [rbp + 0x58]
mov r8d, eax
call fcn.140020110
mov dword [rbp + 8], eax
mov eax, dword [rbp + 4]
test eax, eax
je 0x140001540
mov rax, qword [rbp + 0x6b0]
mov rdx, qword [rbp + 0x6b8]
mov ecx, dword [rbp + 4]
lea rbx, str.sprvfexExecCmd
mov qword [rsp + 0x20], 0
mov dword [rbp + 0x60], ecx
mov rcx, rax
mov eax, dword [rbp + 0x60]
mov r8d, eax
mov r9, rbx
call fcn.14002cb05
mov dword [rbp + 0xc], eax
jmp 0x14000156f
mov rax, qword [rbp + 0x6b0]
mov rdx, qword [rbp + 0x6b8]
mov ecx, dword [rbp + 4]
lea rbx, [rbp + 0x470]
mov dword [rbp + 0x68], ecx
mov rcx, rax
mov eax, dword [rbp + 0x68]
mov r8d, eax
mov r9, rbx
call fcn.14002d4d0
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 4]
mov dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x690]
mov qword [rbp + 0x690], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x14]
mov rbx, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x78]
mov rdi, qword [rbp + 0x80]
lea rsp, [rbp + 0x6a0]
pop rbp
ret
Function at 0x14000bb49
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x4a0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rdx
mov qword [rbp + 0x490], rcx
mov qword [rbp + 0x498], rdx
mov rax, qword [0x1400e0a40]
xor rax, rbp
mov qword [rbp + 0x478], rax
mov rax, qword [rbp + 0x490]
lea rdx, [rbp + 0x78]
mov ecx, 0x400
mov rbx, qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov dword [rbp + 0x48], ecx
mov rcx, rax
mov eax, dword [rbp + 0x48]
mov r8d, eax
call rbx
mov dword [rbp], eax
mov eax, dword [rbp]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
test eax, eax
je 0x14000bc7b
lea rax, [rbp + 0x78]
mov rdx, qword [rbp + 0x498]
mov rcx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov qword [rbp + 0x50], rcx
mov rcx, rax
mov rax, qword [rbp + 0x50]
call rax
mov dword [rbp + 8], eax
mov eax, dword [rbp + 8]
test eax, eax
jne 0x14000bc18
mov eax, 1
mov dword [rbp + 0x18], eax
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x478], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x18]
mov rbx, qword [rbp + 0x70]
lea rsp, [rbp + 0x480]
pop rbp
ret
lea rax, [rbp + 0x78]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
movsx eax, byte [rax]
movsx rax, al
test eax, eax
je 0x14000bc7b
mov eax, 7
mov rdx, qword [rbp + 0x490]
mov rcx, qword [rbp + 0x38]
mov rbx, qword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
mov qword [rbp + 0x58], rcx
mov ecx, eax
mov rax, qword [rbp + 0x58]
mov r8, rax
call rbx
mov dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x38]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rbp + 0x40], rax
mov eax, 1
add rax, qword [rbp + 0x40]
add rax, qword [rbp + 0x38]
mov qword [rbp + 0x38], rax
jmp 0x14000bc20
mov eax, 1
mov rdx, qword [rbp + 0x490]
mov rcx, qword [rbp + 0x498]
mov rbx, qword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
mov qword [rbp + 0x60], rcx
mov ecx, eax
mov rax, qword [rbp + 0x60]
mov r8, rax
call rbx
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
test eax, eax
je 0x14000bcde
lea rax, str.Created_Link:_s_Device:_s_n
mov rdx, qword [rbp + 0x490]
mov rcx, qword [rbp + 0x498]
mov qword [rbp + 0x68], rcx
mov rcx, rax
mov rax, qword [rbp + 0x68]
mov r8, rax
call fcn.14000f4d8
jmp 0x14000bd13
mov eax, 0
mov dword [rbp + 0x1c], eax
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x478], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x1c]
mov rbx, qword [rbp + 0x70]
lea rsp, [rbp + 0x480]
pop rbp
ret
mov eax, 1
mov dword [rbp + 0x20], eax
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x478], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x20]
mov rbx, qword [rbp + 0x70]
lea rsp, [rbp + 0x480]
pop rbp
ret
Function at 0x14000d0c4
Capabilities:
Check if file exists
Get disk information

Disassembly:
push rbp
sub rsp, 0x120
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rdx
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], rdx
mov rax, qword [0x1400e0a40]
xor rax, rbp
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xf0]
lea rdx, [rbp]
movsx eax, byte [rax]
mov byte [rdx], al
lea rax, [rbp]
inc rax
mov byte [rax], 0x3a
lea rax, [rbp]
add rax, 2
mov byte [rax], 0x5c
lea rax, [rbp]
add rax, 3
mov byte [rax], 0
lea rax, [rbp]
mov edx, 0
mov ecx, 0
mov ebx, 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rsi, [rbp + 0x70]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], 0x64
mov rsi, qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [rbp + 0x38], ecx
mov rcx, rax
mov eax, dword [rbp + 0x38]
mov r8d, eax
mov r9, rbx
call rsi
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
test eax, eax
je 0x14000d200
lea rax, str._s_is_on:_s_n
lea rdx, [rbp]
lea rcx, [rbp + 0x70]
mov qword [rbp + 0x40], rcx
mov rcx, rax
mov rax, qword [rbp + 0x40]
mov r8, rax
call fcn.14000f4d8
lea rax, [rbp + 0x70]
lea rdx, str.OraCFS
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov dword [rbp + 8], eax
mov eax, dword [rbp + 8]
test eax, eax
jne 0x14000d200
mov eax, 0
mov dword [rbp + 0x1c], eax
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0xd8], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x1c]
mov rbx, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
lea rsp, [rbp + 0xe0]
pop rbp
ret
mov eax, 0
cmp eax, 1
je 0x14000d2f2
mov eax, 7
mov rdx, qword [rbp + 0xf0]
mov rcx, qword [rbp + 0xf8]
mov rbx, qword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
mov qword [rbp + 0x48], rcx
mov ecx, eax
mov rax, qword [rbp + 0x48]
mov r8, rax
call rbx
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
test eax, eax
je 0x14000d271
lea rax, str.Deleted_Link:__s_Device:_s_n
mov rdx, qword [rbp + 0xf0]
mov rcx, qword [rbp + 0xf8]
mov qword [rbp + 0x50], rcx
mov rcx, rax
mov rax, qword [rbp + 0x50]
mov r8, rax
call fcn.14000f4d8
jmp 0x14000d200
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
cmp eax, 2
je 0x14000d2f2
lea rax, str.Link:_s_Device:_s_Error:_d_n
mov rdx, qword [rbp + 0xf0]
mov rcx, qword [rbp + 0xf8]
mov ebx, dword [rbp + 0x18]
mov qword [rbp + 0x58], rcx
mov rcx, rax
mov rax, qword [rbp + 0x58]
mov r8, rax
mov r9d, ebx
call fcn.14000f4d8
mov eax, 0
mov dword [rbp + 0x20], eax
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0xd8], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x20]
mov rbx, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
lea rsp, [rbp + 0xe0]
pop rbp
ret
mov eax, 1
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0xd8], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x24]
mov rbx, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
lea rsp, [rbp + 0xe0]
pop rbp
ret
Function at 0x14000efe1
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0xa0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x70], rcx
mov dword [rbp + 0x78], edx
mov qword [rbp + 0x30], 0
mov dword [rbp], 0
mov dword [rbp + 4], 0
mov dword [rbp + 8], 0
mov eax, dword [rbp + 0x78]
imul rax, rax, 2
mov rdx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
call rdx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
test rax, rax
jne 0x14000f06a
lea rax, str.Failure_in_allocation_of_buffer_for_WideCharStr_n
mov rcx, rax
call fcn.14000f4d8
mov eax, dword [rbp + 4]
mov rbx, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x58]
lea rsp, [rbp + 0x60]
pop rbp
ret
mov eax, 0
mov rdx, qword [rbp + 0x30]
mov ecx, dword [rbp + 0x78]
mov rbx, qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [rbp + 0x40], ecx
mov rcx, rax
mov eax, dword [rbp + 0x40]
mov r8d, eax
call rbx
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
mov dword [rbp], eax
mov eax, dword [rbp]
test eax, eax
jne 0x14000f0b2
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
mov dword [rbp + 8], eax
jmp 0x14000f133
mov eax, 0
mov edx, 0
mov rcx, qword [rbp + 0x30]
mov ebx, dword [rbp]
mov rsi, qword [rbp + 0x70]
mov qword [rsp + 0x20], rsi
mov esi, dword [rbp + 0x78]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov rsi, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rbp + 0x48], rcx
mov ecx, eax
mov rax, qword [rbp + 0x48]
mov r8, rax
mov r9d, ebx
call rsi
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
test eax, eax
jne 0x14000f133
mov dword [rbp + 8], 0xffffffff
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x18], eax
lea rax, str.Failure_in_WideCharToMultiByte_error__d_n
mov edx, dword [rbp + 0x18]
mov rcx, rax
call fcn.14000f4d8
mov rax, qword [rbp + 0x30]
mov rdx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rax
call rdx
mov eax, dword [rbp + 8]
test eax, eax
je 0x14000f158
mov eax, dword [rbp + 8]
mov rdx, qword [sym.imp.orauts.dll_SetLastError]
mov ecx, eax
call rdx
mov eax, dword [rbp + 4]
mov rbx, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x58]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x14001269d
Capabilities:
Resolve dns

Disassembly:
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r9
mov r12, r9
mov rdi, r8
mov r15, rdx
mov r13, rcx
xor r14d, r14d
inc r14d
mov rcx, r15
call qword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x1400126fa
mov rcx, r15
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x14001277f
mov rdx, qword [rax + 0x18]
mov r8, qword [rdx]
mov eax, dword [r8]
cmp eax, 0xffffffff
je 0x14001273d
mov ecx, eax
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r15, rax
test r15, r15
je 0x140012769
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
inc rax
cmp rax, qword [r12]
ja 0x14001274e
mov rcx, rdi
mov rdx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
xor r14d, r14d
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
inc rax
mov qword [r12], rax
mov eax, r14d
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, r13
lea rdx, str.buf_too_small
lea r8, str.output_buffer_to_small
xor r9d, r9d
call fcn.140014089
jmp 0x14001272e
mov rcx, r13
lea rdx, str.convert_error
lea r8, str.error_converting_string
xor r9d, r9d
jmp 0x1400127a7
call qword [sym.imp.orauts.dll_GetLastError]
mov rdi, rsp
mov rcx, r13
lea rdx, str.unrecognized_host
lea r8, str.error_getting_addr
lea r9, str.gethostbyname_failed__d_for__s
mov dword [rdi + 0x20], eax
mov qword [rdi + 0x28], r15
call fcn.140014089
jmp 0x14001273d
Function at 0x14002ec16
Capabilities:
Get system information on windows

Disassembly:
push rbp
mov eax, 0x80a0
call fcn.1400aab80
sub rsp, 0x80a0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x8090], rcx
mov rax, qword [0x1400e0a40]
xor rax, rbp
mov qword [rbp + 0x8070], rax
lea rax, [rbp + 0x40]
mov rdx, qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov rcx, rax
call rdx
movzx eax, word [rbp + 0x40]
movzx eax, ax
mov dword [rbp], eax
mov eax, dword [rbp]
cmp eax, 0xffff
je 0x14002ec84
mov eax, 0xfffffffa
add eax, dword [rbp]
cmp eax, 1
jbe 0x14002ec9c
mov eax, dword [rbp]
cmp eax, 9
je 0x14002ec9c
jmp 0x14002ecb4
lea rax, [rbp + 0x70]
lea rdx, str.Unknown
mov rcx, rax
call fcn.1400012e0
mov dword [rbp + 4], eax
jmp 0x14002ecca
lea rax, [rbp + 0x70]
lea rdx, str.64_bit
mov rcx, rax
call fcn.1400012e0
mov dword [rbp + 0xc], eax
jmp 0x14002ecca
lea rax, [rbp + 0x70]
lea rdx, str.32_bit
mov rcx, rax
call fcn.1400012e0
mov dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x8090]
mov edx, 0
mov rcx, rax
call fcn.14002483b
mov dword [rbp + 8], eax
mov eax, dword [rbp + 8]
test eax, eax
je 0x14002ed2b
lea rax, str.ssprvfexCheckArchitecture:_unable_to_wrap_vres_n
mov rcx, rax
call fcn.140001114
mov dword [rbp + 0x14], eax
mov eax, 1
mov dword [rbp + 0x28], eax
mov rax, qword [rbp + 0x8070]
mov qword [rbp + 0x8070], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x28]
lea rsp, [rbp + 0x8080]
pop rbp
ret
mov rax, qword [rbp + 0x8090]
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.140024a10
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
test eax, eax
je 0x14002ed8b
lea rax, str.ssprvfexCheckArchitecture:_unable_to_wrap_val_message_n
mov rcx, rax
call fcn.140001114
mov dword [rbp + 0x1c], eax
mov eax, 1
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x8070]
mov qword [rbp + 0x8070], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x2c]
lea rsp, [rbp + 0x8080]
pop rbp
ret
mov rax, qword [rbp + 0x8090]
lea rdx, str.Exectask:_Architecture_retrieval_was_successful
mov rcx, rax
call fcn.14002d658
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x14002edee
lea rax, str.ssprvfexCheckArchitecture:_unable_to_wrap_log_message_n
mov rcx, rax
call fcn.140001114
mov dword [rbp + 0x24], eax
mov eax, 1
mov dword [rbp + 0x30], eax
mov rax, qword [rbp + 0x8070]
mov qword [rbp + 0x8070], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x30]
lea rsp, [rbp + 0x8080]
pop rbp
ret
mov eax, 0
mov dword [rbp + 0x34], eax
mov rax, qword [rbp + 0x8070]
mov qword [rbp + 0x8070], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x34]
lea rsp, [rbp + 0x8080]
pop rbp
ret