joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001570
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140015c60], rbx
je 0x1400015d7
cmp rax, rbx
jne 0x1400015ca
mov ebx, 1
mov esi, ebx
jmp 0x1400015dc
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400015af
mov ebx, 1
mov eax, dword [0x140015c68]
cmp eax, ebx
jne 0x1400015f4
mov edi, 0x1f
mov ecx, edi
call fcn.140174000
jmp 0x14000166a
mov eax, dword [0x140015c68]
test eax, eax
jne 0x14000165f
mov dword [0x140015c68], ebx
lea r15, [0x140010bf8]
lea rdi, [0x140010be0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140001651
test eax, eax
jne 0x140001655
cmp qword [rdi], r14
je 0x140001646
movabs r10, 0xd30527475e523070
mov rax, qword [rdi]
mov rcx, qword [0x140010b90]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000161e
test eax, eax
je 0x140001665
mov eax, 0xff
jmp 0x1400017ca
mov dword [0x1400153e4], ebx
mov edi, 0x1f
mov eax, dword [0x140015c68]
cmp eax, ebx
jne 0x140001691
lea rdx, [0x140010bd8]
lea rcx, [0x140010ba0]
call sub.msvcrt.dll__initterm
mov dword [0x140015c68], 2
test esi, esi
jne 0x14000169f
mov rax, r14
xchg qword [0x140015c60], rax
cmp qword [0x140015c80], r14
je 0x1400016dc
lea rcx, [0x140015c80]
call fcn.140001c70
test eax, eax
je 0x1400016dc
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140015c80]
mov r9, qword [0x140010b90]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400016f5
mov eax, 0xff
jmp 0x1400017ca
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000177b
test ax, ax
je 0x140001710
test edx, edx
jne 0x14000177b
sub ax, bx
cmp ax, di
ja 0x140001726
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x140001710
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140006fbc
mov dword [0x1400153e0], eax
cmp dword [0x140015400], r14d
jne 0x140001764
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400153e4], r14d
jne 0x140001779
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400153e0]
jmp 0x1400017ca
cmp ax, 0x22
jne 0x14000178f
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400016fe
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140001d04
add rsp, 0x28
jmp 0x140001570
Function at 0x685813d0
Capabilities:
Check os version

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xc0
mov dword [rbp - 0xa0], 0x94
lea rax, [rbp - 0xa0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetVersionExA]
call rax
mov eax, dword [rbp - 0x9c]
cmp eax, 6
jne 0x68581415
mov eax, dword [rbp - 0x98]
cmp eax, 1
jne 0x68581415
mov eax, 1
jmp 0x6858141a
mov eax, 0
add rsp, 0xc0
pop rbp
ret

Function at 0x68581423
Capabilities:
Get system firmware table

Disassembly:
push rbp
sub rsp, 0x430
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x3a8], 0x400
lea rax, [rbp - 0x60]
mov r9d, 0x400
mov r8, rax
mov edx, 0
mov ecx, 0x52534d42
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
call rax
mov dword [rbp + 0x3a4], eax
cmp dword [rbp + 0x3a4], 0
jne 0x68581476
mov eax, 1
jmp 0x6858151f
mov dword [rbp + 0x3ac], 0
mov eax, dword [rbp + 0x3a4]
sub eax, 8
cmp dword [rbp + 0x3ac], eax
jae 0x6858151a
lea rdx, [rbp - 0x60]
mov eax, dword [rbp + 0x3ac]
add rax, rdx
mov r8d, 6
lea rdx, str.VMware
mov rcx, rax
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x68581507
lea rdx, [rbp - 0x60]
mov eax, dword [rbp + 0x3ac]
add rax, rdx
mov r8d, 0xa
lea rdx, str.VirtualBox
mov rcx, rax
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x68581507
lea rdx, [rbp - 0x60]
mov eax, dword [rbp + 0x3ac]
add rax, rdx
mov r8d, 7
lea rdx, str.Hyper_V
mov rcx, rax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x6858150e
mov eax, 1
jmp 0x6858151f
add dword [rbp + 0x3ac], 1
jmp 0x68581480
mov eax, 0
add rsp, 0x430
pop rbp
ret
Function at 0x68581528
Capabilities:
Read file on windows

Disassembly:
push rbp
sub rsp, 0x2c0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x250], rcx
mov dword [rbp + 0x258], edx
lea rax, [rbp + 0xe0]
mov rdx, rax
lea rcx, str.2.ann_9ebb9d3a_5ecd_4f9a_9212_7e8c3cc160e0.
mov rax, qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call rax
mov qword [rbp + 0x230], rax
cmp qword [rbp + 0x230], 0xffffffffffffffff
jne 0x6858157a
mov eax, 0
jmp 0x685816e4
lea rax, [rbp - 0x30]
mov word [rax], 0x5c2e
mov byte [rax + 2], 0
lea rax, [rbp + 0xe0]
lea rdx, [rax + 0x2c]
lea rax, [rbp - 0x30]
mov rcx, rax
call sub.msvcrt.dll_strcat
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp + 0x228], rax
cmp qword [rbp + 0x228], 0xffffffffffffffff
jne 0x68581606
mov rax, qword [rbp + 0x230]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
call rax
mov eax, 0
jmp 0x685816e4
mov edx, dword [rbp + 0x258]
lea rcx, [rbp - 0x34]
mov rax, qword [rbp + 0x228]
mov qword [rsp + 0x20], 0
mov r9, rcx
mov r8d, edx
mov rdx, qword [rbp + 0x250]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ReadFile]
call rax
mov dword [rbp + 0x224], eax
mov rax, qword [rbp + 0x228]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x230]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
call rax
cmp dword [rbp + 0x224], 0
jne 0x68581675
mov eax, 0
jmp 0x685816e4
mov dword [rbp + 0x23c], 0
mov eax, dword [rbp - 0x34]
cmp dword [rbp + 0x23c], eax
jge 0x685816df
mov eax, dword [rbp + 0x23c]
movsxd rdx, eax
mov rax, qword [rbp + 0x250]
add rax, rdx
movzx eax, byte [rax]
cmp al, 0xd
je 0x685816be
mov eax, dword [rbp + 0x23c]
movsxd rdx, eax
mov rax, qword [rbp + 0x250]
add rax, rdx
movzx eax, byte [rax]
cmp al, 0xa
jne 0x685816d6
mov eax, dword [rbp + 0x23c]
movsxd rdx, eax
mov rax, qword [rbp + 0x250]
add rax, rdx
mov byte [rax], 0
jmp 0x685816df
add dword [rbp + 0x23c], 1
jmp 0x6858167f
mov eax, 1
add rsp, 0x2c0
pop rbp
ret
Function at 0x68581a0d
Capabilities:
Create process on windows
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xe0
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0x70]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [rbp - 0x70], 0x68
mov dword [rbp - 0x34], 1
mov word [rbp - 0x30], 0
lea rax, [rbp - 0x90]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
lea rax, [rbp - 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, qword [rbp + 0x10]
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
sete al
test al, al
je 0x68581acd
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
mov rax, qword [rbp - 0x90]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x90]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x88]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
nop
add rsp, 0xe0
pop rbp
ret
Function at 0x68581b15
Capabilities:
Terminate process

Disassembly:
push rbp
sub rsp, 0x930
lea rbp, [rsp + 0x80]
call fcn.685813d0
test al, al
je 0x68581b3c
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
movzx eax, byte [0x68584010]
test al, al
je 0x68581b57
call fcn.68581423
test al, al
je 0x68581b57
mov eax, 1
jmp 0x68581b5c
mov eax, 0
test al, al
je 0x68581b6e
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
lea rax, [rbp + 0x7a0]
mov r8d, 0x104
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call rax
lea rax, [rbp + 0x7a0]
mov edx, 0x5c
mov rcx, rax
call sub.msvcrt.dll_strrchr
add rax, 1
lea rdx, str.rundll32.exe
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x68581bc5
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
lea rax, [rbp + 0x3a0]
mov edx, 0x400
mov rcx, rax
call fcn.68581528
test eax, eax
sete al
test al, al
je 0x68581bf0
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call rax
mov r8d, 0x400
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
call rax
mov qword [rbp + 0x8a8], rax
cmp qword [rbp + 0x8a8], 0
jne 0x68581c2f
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
mov rdx, qword [rbp + 0x8a8]
lea rax, [rbp + 0x3a0]
mov rcx, rax
call fcn.685816ed
mov dword [rbp + 0x8a4], eax
cmp dword [rbp + 0x8a4], 0
je 0x68581c64
mov eax, dword [rbp + 0x8a4]
cdqe
cmp rax, 0x3ff
jbe 0x68581c96
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call rax
mov rdx, qword [rbp + 0x8a8]
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_HeapFree]
call rax
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
mov eax, dword [rbp + 0x8a4]
movsxd rcx, eax
mov rdx, qword [rbp + 0x8a8]
lea rax, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov eax, dword [rbp + 0x8a4]
cdqe
mov byte [rbp + rax - 0x60], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call rax
mov rdx, qword [rbp + 0x8a8]
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_HeapFree]
call rax
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.68581a0d
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
nop

Function at 0x685820c0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.68583360
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.68583360
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x68582130
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x685885e4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x685822d8
mov rax, qword [0x685885e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x6858217c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x68582207
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x68582160
mov rcx, r12
call fcn.68582e30
mov rbp, rax
test rax, rax
je 0x68582312
mov rax, qword [0x685885e8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.68582f60
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x685885e8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x68582321
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x68582200
sub eax, 4
and eax, 0xfffffffb
jne 0x68582290
add dword [0x685885e4], 1
cmp ebx, 8
jae 0x68582238
test bl, 4
jne 0x685822e0
test ebx, ebx
je 0x68582229
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x68582300
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x68582229
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x6858226a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x685885e8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x68582200
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.685820c0
nop dword [rax]
xor edi, edi
jmp 0x68582187
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x68582229
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x68582229
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.685820c0
mov rax, qword [0x685885e8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.685820c0
nop
nop dword [rax]
Function at 0x68582aa0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x685888c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x685888a0]
test rbx, rbx
je 0x68582af4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x68582aeb
test r12, r12
je 0x68582aeb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x68582ad0
lea rcx, [0x685888c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x68582e30
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x685852a0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x68582ea9
mov rcx, r10
call fcn.68582d00
test eax, eax
je 0x68582ea9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x68582ea6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x68582e9d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x68582ea9
add r8, 0x28
cmp r8, r9
jne 0x68582e88
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x1400032a0
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
sub rsp, 0xe8
mov qword [rsp + 0x38], rcx
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.14000ba00
xor al, 0xff
test al, 1
jne 0x1400032ea
mov qword [rsp + 0x40], 0
jmp 0x140003432
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rsp + 0x64]
shl rcx, 1
add rax, rcx
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
cmp word [rax], 0
jne 0x140003330
cmp dword [rsp + 0x64], 0
je 0x14000333d
jmp 0x14000334c
mov eax, dword [rsp + 0x64]
add eax, 1
mov dword [rsp + 0x64], eax
jmp 0x140003300
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x1400032cc
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x50]
call fcn.140003010
test al, 1
jne 0x140003365
jmp 0x14000333d
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x50]
movzx eax, word [rax + 0x48]
mov edx, eax
shr rdx, 1
call fcn.14000e270
mov qword [rsp + 0x28], rax
mov r8, rdx
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.140259700
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xc0]
call fcn.14000a6d0
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0xa0]
lea r8, str.qihoo_360qihoo_api_moni.rs
mov r9d, 9
lea rax, [0x1402755f8]
mov qword [rsp + 0x20], rax
call fcn.140004e00
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 1
lea rcx, [rsp + 0x88]
call fcn.140139ef0
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
add rsp, 0xe8
ret
Function at 0x14000ac20
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x138]
xor edx, edx
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x168]
lea rdx, [rsp + 0x138]
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x168]
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x38]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xd8]
xor edx, edx
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x108]
lea rdx, [rsp + 0xd8]
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x108]
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x68], rax
jb 0x14000acef
add rsp, 0x198
ret
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x70]
mov r9d, 0x30
call qword [sym.imp.kernel32.dll_VirtualQueryEx]
cmp dword [rsp + 0x98], 0x20000
je 0x14000ad25
mov byte [rsp + 0xa4], 0
jmp 0x14000ad85
cmp dword [rsp + 0x94], 0x40
je 0x14000ad45
cmp dword [rsp + 0x94], 0x20
sete al
and al, 1
mov byte [rsp + 0xa6], al
jmp 0x14000ad4d
mov byte [rsp + 0xa6], 1
test byte [rsp + 0xa6], 1
jne 0x14000ad6d
cmp dword [rsp + 0x94], 4
sete al
and al, 1
mov byte [rsp + 0xa5], al
jmp 0x14000ad75
mov byte [rsp + 0xa5], 1
mov al, byte [rsp + 0xa5]
and al, 1
mov byte [rsp + 0xa4], al
test byte [rsp + 0xa4], 1
jne 0x14000ada6
mov rax, qword [rsp + 0x88]
add rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], rax
jmp 0x14000acdb
mov rax, qword [rsp + 0x28]
cmp rax, qword [rsp + 0x70]
jae 0x14000adbc
mov byte [rsp + 0xa7], 0
jmp 0x14000addd
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
add rcx, qword [rsp + 0x88]
cmp rax, rcx
setb al
and al, 1
mov byte [rsp + 0xa7], al
test byte [rsp + 0xa7], 1
je 0x14000ad8f
lea rcx, [rsp + 0xa8]
lea rdx, [rsp + 0x70]
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [0x14038d250]
lea rdx, [rsp + 0xa8]
mov r8d, 0x30
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14000ad8f

Function at 0x14000b700
Capabilities:
Hash data with md5

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x20]
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 0x67452301
mov dword [rsp + 0x7c], 0xefcdab89
mov dword [rsp + 0x80], 0x98badcfe
mov dword [rsp + 0x84], 0x10325476
lea rdx, [rsp + 0x30]
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x70]
mov qword [rcx + 0x50], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rcx + 0x40], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rcx + 0x48], rdx
add rsp, 0x88
ret
Function at 0x140058900
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x40], r8
mov rax, rdx
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x58], rax
call fcn.14002be10
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x60]
call fcn.1400a9e30
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov eax, 1
xor ecx, ecx
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
jne 0x1400589a0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
add rcx, 8
call fcn.14001dde0
mov rcx, rax
call fcn.1400317e0
mov qword [rsp + 0x38], rax
cmp rax, 0
sete al
test al, 1
jne 0x140058a32
jmp 0x140058a15
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x58]
movzx edx, byte [rcx + 4]
xor rax, rdx
movabs rdx, 0x100000001b3
imul rax, rdx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rcx + 5]
xor rax, rdx
movabs rdx, 0x100000001b3
imul rax, rdx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
call fcn.14001a170
mov rcx, rax
mov rax, qword [rsp + 0x28]
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x140058941
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
xor edx, edx
div rcx
mov rcx, rdx
call fcn.140031770
nop
add rsp, 0x78
ret
lea rcx, [0x1402c6410]
lea r8, [0x1402c63f0]
mov edx, 0x39
call fcn.140274170
ud2

Function at 0x140058de0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x20], rdx
mov rax, rcx
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x40], rax
call fcn.14001a170
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movabs r8, 0xcbf29ce484222325
xor rax, r8
movabs r8, 0x100000001b3
imul rax, r8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx r8d, byte [rdx + 4]
xor rax, r8
movabs r8, 0x100000001b3
imul rax, r8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx edx, byte [rdx + 5]
xor rax, rdx
movabs rdx, 0x100000001b3
imul rax, rdx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
add rcx, 8
call fcn.14001de50
mov rcx, rax
call fcn.1400317e0
mov qword [rsp + 0x38], rax
cmp rax, 0
sete al
test al, 1
jne 0x140058ebb
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
xor edx, edx
div rcx
mov rcx, rdx
call fcn.140031770
nop
add rsp, 0x48
ret
lea rcx, [0x1402c6410]
lea r8, [0x1402c6498]
mov edx, 0x39
call fcn.140274170
ud2