joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400be6e8
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140095db4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400be772
cmp byte [rbp - 0x21], r15b
je 0x1400be76d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400be7a8
call fcn.1400b10b4
test eax, eax
jne 0x1400be794
cmp byte [rbp - 0x21], r15b
je 0x1400be78c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400be7a8
cmp byte [rbp - 0x21], r15b
je 0x1400be7a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400a2ca8
test eax, eax
jne 0x1400be848
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140095db4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400be7e7
cmp byte [rbp - 0x21], r15b
je 0x1400be81c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400be81c
call fcn.1400b10b4
test eax, eax
jne 0x1400be808
cmp byte [rbp - 0x21], r15b
je 0x1400be801
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400be81c
cmp byte [rbp - 0x21], r15b
je 0x1400be819
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400a2ca8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400be848
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400be84b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400be859
mov rcx, rdi
call fcn.1400b07fc
cmp byte [rbp + 0x3f], r15b
je 0x1400be868
mov rcx, qword [rbp + 0x27]
call fcn.1400b07fc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001509c
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 0x14001511a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015111
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 0x140015111
mov rax, qword [rbp - 8]
jmp 0x14001512f
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 0x1400150e4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001b18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b62
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b62
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b62
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b64
xor al, al
add rsp, 0x28
ret
Function at 0x1400015ca
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor eax, eax
cmp word [rcx], 0x5a4d
mov rbx, rcx
mov rbp, rdx
jne 0x14000164b
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000164b
mov edi, dword [rdx + 0x88]
xor esi, esi
add rdi, rcx
mov r12d, dword [rdi + 0x20]
mov r13d, dword [rdi + 0x14]
add r12, rcx
cmp esi, r13d
jae 0x140001649
mov edx, dword [r12 + rsi*4]
mov rcx, rbp
add rdx, rbx
call sub.msvcrt.dll_strcmp
mov edx, eax
lea rax, [rsi + 1]
test edx, edx
jne 0x140001644
mov eax, dword [rdi + 0x24]
add rsi, rsi
add rsi, rbx
movzx edx, word [rsi + rax]
mov eax, dword [rdi + 0x1c]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
jmp 0x14000164b
mov rsi, rax
jmp 0x14000160a
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x140001658
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rbx, qword [rax + 0x20]
mov rsi, rcx
test rbx, rbx
je 0x14000169b
cmp word [rbx + 0x48], 0
je 0x140001699
mov rcx, qword [rbx + 0x50]
mov rdx, rsi
call sub.msvcrt.dll__wcsicmp
test eax, eax
jne 0x140001694
mov rbx, qword [rbx + 0x20]
jmp 0x14000169b
mov rbx, qword [rbx]
jmp 0x140001672
xor ebx, ebx
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x1400016b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rbx
sub rsp, 0x228
movabs rax, 0x1423bb56419a5974
mov r10, rdx
mov qword [rsp], rax
mov r9, rcx
lea rbx, [rsp + 0x20]
movabs rdx, 0x159aa1c3d0225a74
lea rcx, [rsp + 0x120]
movabs rax, 0x993c2b002ebe091
mov qword [rsp + 8], rdx
movabs rdx, 0x295a161ccc51f477
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x10], rax
xor eax, eax
mov rdx, rax
mov byte [rax + rcx], al
inc rax
and edx, 0x1f
mov dl, byte [rsp + rdx]
mov byte [rax + rbx - 1], dl
cmp rax, 0x100
jne 0x140001709
xor edx, edx
xor r11d, r11d
mov r8b, byte [rcx + rdx]
mov al, byte [rbx + rdx]
add eax, r8d
add eax, r11d
movzx r11d, al
movzx eax, al
mov sil, byte [rsp + rax + 0x120]
mov byte [rsp + rax + 0x120], r8b
mov byte [rcx + rdx], sil
inc rdx
cmp rdx, 0x100
jne 0x140001729
xor edx, edx
xor ebx, ebx
xor r11d, r11d
cmp rdx, r10
je 0x1400017b7
lea ecx, [rbx + 1]
movzx ebx, cl
movzx ecx, cl
mov al, byte [rsp + rcx + 0x120]
lea r8d, [rax + r11]
movzx r11d, r8b
movzx r8d, r8b
mov sil, byte [rsp + r8 + 0x120]
mov byte [rsp + rcx + 0x120], sil
mov byte [rsp + r8 + 0x120], al
add al, byte [rsp + rcx + 0x120]
movzx eax, al
mov al, byte [rsp + rax + 0x120]
xor byte [r9 + rdx], al
inc rdx
jmp 0x140001764
mov rax, rdx
add rsp, 0x228
pop rbx
pop rsi
ret

Function at 0x140001942
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov rax, qword gs:[0x60]
test byte [rax + 0xbc], 0x70
setne al
ret
Function at 0x140001956
Capabilities:
Check for outputdebugstring error
Print debug messages

Disassembly:
sub rsp, 0x28
mov ecx, 0x7331c0de
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [0x140005040]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7331c0de
setne al
add rsp, 0x28
ret

Function at 0x140001b4c
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x68
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x28], 0x7fffffff
setbe al
add rsp, 0x68
ret

Function at 0x140002b20
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 fcn.140003950
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140003950
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002b90
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14004a3b4]
mov rbx, rcx
test esi, esi
jle 0x140002cc0
mov rax, qword [0x14004a3b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002bdb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002c65
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002bc0
mov rcx, rbx
call fcn.1400035e0
mov rdi, rax
test rax, rax
je 0x140002ce2
mov rax, qword [0x14004a3b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003720
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14004a3b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002cc7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002c5e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002c70
add dword [0x14004a3b4], 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 [0x14004a3b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002c5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002b20
nop dword [rax]
xor esi, esi
jmp 0x140002be8
mov rax, qword [0x14004a3b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002b20
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002b20
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140003250
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14004a420]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14004a400]
test rbx, rbx
je 0x1400032ac
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 0x1400032a3
test rsi, rsi
je 0x1400032a3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003288
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 0x1400035e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140047130]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003600
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003608
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003600
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000365d
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 0x140003654
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003600
add rax, 0x28
cmp rax, r9
jne 0x140003640
xor eax, eax
ret

Function at 0x140003660
Capabilities:
Parse pe header

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

Function at 0x140003720
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140047130]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000373f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003748
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002060
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x140002071
test rbx, rbx
je 0x140002158
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140002158
mov qword [rsp + 0x38], rsi
mov rsi, qword [0x140024d30]
test rsi, rsi
je 0x140002153
lea rcx, [rbx*2 + 1]
mov edx, 1
mov qword [rsp + 0x30], rbp
call qword [sym.imp.MSVCR120.dll_calloc]
mov rbp, rax
test rax, rax
jne 0x1400020d4
call fcn.140002200
or ecx, 0xffffffff
call qword [sym.imp.MSVCR120.dll_exit]
int3
test rbx, rbx
je 0x140002125
nop dword [rax]
movzx ecx, byte [rdi]
cmp cl, 0xd
jne 0x1400020f3
mov byte [rax], 0x5c
inc rax
mov byte [rax], WSAStartup
jmp 0x140002113
cmp cl, 0xa
jne 0x140002103
mov byte [rax], 0x5c
inc rax
mov byte [rax], WSAGetLastError
jmp 0x140002113
cmp cl, 0x25
jne 0x140002111
mov byte [rax], cl
inc rax
mov byte [rax], cl
jmp 0x140002113
mov byte [rax], cl
inc rdi
inc rax
dec rbx
jne 0x1400020e0
mov rsi, qword [0x140024d30]
lea rdx, [0x14001b7b4]
mov r8, rbp
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_fprintf_s]
mov rcx, rbp
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, qword [0x140024d30]
call qword [sym.imp.MSVCR120.dll_fflush]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004f30
Capabilities:
Read file on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov edx, 1
mov ecx, 0x104
call qword [sym.imp.MSVCR120.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x140004fa3
lea rcx, str._n____Error_allocating_memory
call fcn.140001fb0
mov rcx, qword [0x140024d38]
mov edx, 0xc000000
call qword [sym.imp.pdcurses.dll_wattron]
mov rcx, qword [0x140024d38]
lea rdx, str.Error_allocating_memory_n
xor r8d, r8d
call qword [sym.imp.pdcurses.dll_wprintw]
mov rcx, qword [0x140024d38]
mov edx, 0xc000000
call qword [sym.imp.pdcurses.dll_wattroff]
or ecx, 0xffffffff
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov r9, qword [0x140024d80]
lea rax, str.passphrases.txt
lea r8, [0x14001be90]
mov edx, 0x104
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCR120.dll_sprintf_s]
lea r8, [0x14001b844]
lea rcx, [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fopen_s]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14000502f
mov rcx, qword [0x140024d38]
mov edx, 0xc000000
call qword [sym.imp.pdcurses.dll_wattron]
mov rcx, qword [0x140024d38]
lea rdx, str.passphrases.txt_not_found_n
xor r8d, r8d
call qword [sym.imp.pdcurses.dll_wprintw]
mov rcx, qword [0x140024d38]
mov edx, 0xc000000
call qword [sym.imp.pdcurses.dll_wattroff]
or ecx, 0xffffffff
call qword [sym.imp.MSVCR120.dll_exit]
int3
xor edx, edx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x58], rdi
lea r8d, [rdx + 2]
call qword [sym.imp.MSVCR120.dll__fseeki64]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120.dll__ftelli64]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov rdi, rax
call qword [sym.imp.MSVCR120.dll__fseeki64]
lea rcx, [rdi + 1]
mov edx, 1
call qword [sym.imp.MSVCR120.dll_calloc]
mov rbp, rax
test rax, rax
jne 0x140005089
call fcn.140002200
or ecx, 0xffffffff
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov r9, qword [rsp + 0x40]
mov r8, rdi
mov edx, 1
mov rcx, rax
mov qword [rsp + 0x50], rsi
call qword [sym.imp.MSVCR120.dll_fread]
mov rcx, qword [rsp + 0x40]
mov rsi, rax
call qword [sym.imp.MSVCR120.dll_fclose]
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_free]
lea rcx, [rdi + rdi*2]
mov edx, 1
call qword [sym.imp.MSVCR120.dll_calloc]
mov rdx, rax
mov qword [0x140024c30], rax
test rax, rax
jne 0x1400050e8
call fcn.140002200
or ecx, 0xffffffff
call qword [sym.imp.MSVCR120.dll_exit]
int3
xor ebx, ebx
test rsi, rsi
je 0x14000515e
mov rdi, rbp
movzx ecx, byte [rdi]
lea eax, [rcx - 9]
test al, 0xfa
jne 0x140005106
cmp cl, 0xe
je 0x140005106
dec rbx
jmp 0x140005153
cmp cl, 0x20
jne 0x140005111
mov byte [rdx + rbx], 0x2b
jmp 0x140005153
movzx ecx, cl
call qword [sym.imp.MSVCR120.dll_isalnum]
test eax, eax
jne 0x140005146
mov rcx, qword [0x140024c30]
movzx r8d, byte [rdi]
lea rdx, str.___x
add rcx, rbx
call qword [sym.imp.MSVCR120.dll_sprintf]
mov rdx, qword [0x140024c30]
add rbx, 2
jmp 0x140005153
mov rdx, qword [0x140024c30]
movzx eax, byte [rdi]
mov byte [rdx + rbx], al
inc rdi
inc rbx
dec rsi
jne 0x1400050f2
mov rcx, rbp
call qword [sym.imp.MSVCR120.dll_free]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
Function at 0x14000ad20
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x30
mov rbx, rdx
mov rbp, rcx
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rsi, rax
test rax, rax
je 0x14000aea2
movzx r8d, word [rax + 0x10]
cmp r8w, 2
jne 0x14000ae7e
mov r8, qword [rax + 0x18]
cmp qword [r8], 0
je case.default.0x14000ae9b
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r14
lea r14, [0x14001d699]
xor edi, edi
nop dword [rax + rax]
mov rax, qword [rdi + r8]
lea rdi, [rdi + 8]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rbx
sub rdx, rax
nop word [rax + rax]
movzx ecx, byte [rax]
lea rax, [rax + 1]
mov byte [rdx + rax - 1], cl
test cl, cl
jne 0x14000ada0
cmp byte [reloc.WS2_32.dll_accept], cl
je 0x14000ae0f
cmp qword [0x140024d30], 0
je 0x14000ae0f
lea rcx, [0x140024d40]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [0x140024d4c]
movzx r9d, word [0x140024d4a]
movzx r8d, word [0x140024d48]
mov rcx, qword [0x140024d30]
lea rdx, str._n_02d:_02d:_02d__s
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.MSVCR120.dll_fprintf_s]
mov rcx, qword [0x140024d30]
call qword [sym.imp.MSVCR120.dll_fflush]
mov rcx, rbp
call fcn.140001fb0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14000ae4d
mov rcx, qword [0x140024d30]
test rcx, rcx
je 0x14000ae4d
lea r8, str._defined_as:
lea rdx, [0x14001b794]
call qword [sym.imp.MSVCR120.dll_fprintf_s]
mov rcx, qword [0x140024d30]
call qword [sym.imp.MSVCR120.dll_fflush]
mov rcx, rbx
call fcn.140001fb0
mov r8, qword [rsi + 0x18]
cmp qword [rdi + r8], 0
jne 0x14000ad80
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
cmp r8w, 0x11
jne case.default.0x14000ae9b
lea rcx, str.NETBIOS_address_was_returned_n
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
jmp qword [sym.imp.MSVCR120.dll_printf_s]
mov eax, dword [str.Error]
mov dword [rbx], eax
movzx eax, word [0x14001bbe0]
mov word [rbx + 4], ax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
xlatb
jmp qword [rsi]
jb 0x14003e122
in al, dx
invalid
xchg cl, bl
out dx, eax
dec dword [rdi - 0x6b000e25]
fdivrp st(0)
call [rdx - 0x59000e20]
invalid
loopne case.0x14000ae9b.1
jmp qword [rsi - 0x55000919]
out 0xf5, eax
invalid
scasb al, byte [rdi]
invalid
hlt
mov ebx, 0xc3fff4e9
jmp 0x14003e176
retf 0xfaed
cli
call rcx
out dx, eax
cli
call rax
jmp 0x14003e180
call rdi
xlatb
out dx, eax
cmc
invalid
jrcxz 0x14003e18b
idiv edi
jrcxz 0x14003e18f
idiv edi
stc
std
invalid
clc
invalid
invalid
fdiv st(7), st(0)
mov ebx, 0xb3ffd9d3
rcl esi, 1
jmp [rbx - 0x5a002a34]
jo 0x14003e1a1
mov ebx, 0xb9a769ff
jmp qword [rdx - 0x5c]
movsb byte [rdi], byte [rsi]
call [rdi]
sbb byte [rdi + rdi*8 - 0x6a89e7], 0x15
jb 0x14003e1c0
call qword [rcx + rsi*2]
Function at 0x14000aed0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rcx, qword [0x140024d38]
lea rdx, str.CPU_support:
mov qword [rsp + 0x20], 0
call qword [sym.imp.pdcurses.dll_wprintw]
mov eax, dword [0x140024e2c]
shr eax, 0x19
test al, 1
je 0x14000af27
mov rcx, qword [0x140024d38]
lea rdx, str._AES
xor r8d, r8d
call qword [sym.imp.pdcurses.dll_wprintw]
mov ecx, dword [0x140024e30]
mov eax, ecx
shr eax, 0x19
test al, 1
je 0x14000af53
mov rcx, qword [0x140024d38]
lea rdx, str._SSE
xor r8d, r8d
call qword [sym.imp.pdcurses.dll_wprintw]
mov ecx, dword [0x140024e30]
shr ecx, 0x1a
test cl, 1
je 0x14000af72
mov rcx, qword [0x140024d38]
lea rdx, str._SSE2
xor r8d, r8d
call qword [sym.imp.pdcurses.dll_wprintw]
test byte [0x140024e2c], 1
je 0x14000af92
mov rcx, qword [0x140024d38]
lea rdx, str._SSE3
xor r8d, r8d
call qword [sym.imp.pdcurses.dll_wprintw]
mov eax, dword [0x140024e2c]
shr eax, 0x14
test al, 1
je 0x14000afb6
mov rcx, qword [0x140024d38]
lea rdx, str._SSE4.2
xor r8d, r8d
call qword [sym.imp.pdcurses.dll_wprintw]
mov eax, dword [0x140024e2c]
shr eax, 0x1c
test al, 1
je 0x14000afda
mov rcx, qword [0x140024d38]
lea rdx, str._AVX
xor r8d, r8d
call qword [sym.imp.pdcurses.dll_wprintw]
mov eax, dword [0x140024e34]
shr eax, 5
test al, 1
je 0x14000affe
mov rcx, qword [0x140024d38]
lea rdx, str._AVX2
xor r8d, r8d
call qword [sym.imp.pdcurses.dll_wprintw]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0x58]
call fcn.1400013e0
cmp qword [rax + 0x18], 0x10
jb 0x14000b01d
mov rax, qword [rax]
mov rcx, qword [0x140024d38]
lea rdx, [0x14001bb8c]
xor r9d, r9d
mov r8, rax
call qword [sym.imp.pdcurses.dll_wprintw]
cmp qword [rsp + 0x70], 0x10
jb 0x14000b04a
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
lea rcx, [rsp + 0x58]
call fcn.140001420
cmp qword [rax + 0x18], 0x10
jb 0x14000b05e
mov rax, qword [rax]
mov r9d, dword [rsp + 0x48]
mov rcx, qword [0x140024d38]
lea rdx, str.__s____u_cores_
mov r8, rax
call qword [sym.imp.pdcurses.dll_wprintw]
cmp qword [rsp + 0x70], 0x10
jb 0x14000b08d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPhysicallyInstalledSystemMemory]
test eax, eax
je 0x14000b0bc
mov r8, qword [rsp + 0x20]
mov rcx, qword [0x140024d38]
lea rdx, str._nRAM:__llu_Mb
shr r8, 0xa
xor r9d, r9d
call qword [sym.imp.pdcurses.dll_wprintw]
mov rcx, qword [0x140024d38]
lea rdx, [0x14001bbb4]
xor r8d, r8d
call qword [sym.imp.pdcurses.dll_wprintw]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140018be0
add rsp, 0x88
ret
Function at 0x140002d20
Capabilities:
Parse pe header

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

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

Function at 0x14000ac00
Capabilities:
Parse pe header

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