joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006c280
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
xor r14d, r14d
mov esi, r9d
mov rbp, r8
mov rdi, rcx
mov ebx, r14d
test rdx, rdx
je 0x14006c2de
cmp word [rdx], r14w
je 0x14006c2de
mov qword [r11 - 0x28], r14
lea rax, [r11 + 0x10]
mov qword [r11 - 0x30], rax
xor r9d, r9d
mov qword [r11 - 0x38], r14
xor r8d, r8d
mov dword [rsp + 0x28], 2
mov dword [r11 - 0x48], r14d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
jmp 0x14006c2e3
mov qword [rsp + 0x78], rcx
test ebx, ebx
jne 0x14006c320
mov eax, dword [rsp + 0x98]
mov r9d, esi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rax, qword [rsp + 0x90]
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
cmp rcx, rdi
je 0x14006c320
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400783d8
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov bpl, r8b
mov rsi, rdx
mov rbx, rcx
cmp word [rdx], di
je 0x1400784a8
mov rcx, qword [rcx + 0x10]
lea r8d, [rdi + 0x5c]
test rcx, rcx
je 0x14007842e
lea rdx, [rcx - 1]
cmp rcx, rdx
jbe 0x1400784bf
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x140078427
mov rax, qword [rbx]
cmp word [rax + rdx*2], r8w
je 0x140078464
cmp word [rsi], r8w
je 0x140078464
mov rax, qword [rbx + 0x18]
sub rax, rcx
cmp rax, 1
jb 0x14007845c
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140078456
mov rax, qword [rbx]
mov dword [rax + rcx*2], r8d
jmp 0x140078464
mov rcx, rbx
call fcn.140078714
mov rdx, rsi
mov rcx, rbx
call fcn.14000bbb4
test bpl, bpl
je 0x1400784a8
cmp qword [rbx + 0x18], 8
jb 0x14007847e
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
jne 0x1400784a8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
je 0x1400784a8
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call fcn.14000d40c
int3
Function at 0x1400784cc
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1400e8708]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, r8
mov r14b, dl
mov qword [rsp + 0x50], r8
movdqa xmm0, xmmword [0x1400c1a70]
movdqu xmmword [rsp + 0x70], xmm0
xor r15d, r15d
mov word [rsp + 0x60], r15w
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140004b78
nop
xor r8d, r8d
lea rdx, [0x1400bbdc8]
lea rcx, [rsp + 0x60]
call fcn.1400783d8
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileExW]
mov rsi, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x140078595
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140078598
mov ebx, r15d
test ebx, ebx
js 0x140078678
mov byte [rsp + 0x30], 1
mov eax, dword [rbp - 0x80]
shr eax, 4
and al, 1
test r14b, r14b
je 0x1400785f1
test al, al
je 0x14007862a
movzx ecx, word [rbp - 0x54]
movzx eax, word [rbp - 0x52]
cmp cx, word [0x1400bbdd0]
jne 0x1400785d0
cmp ax, word [0x1400bbdd2]
je 0x14007862a
cmp cx, word [0x1400bbdc0]
jne 0x1400785f5
cmp ax, word [0x1400bbdc2]
jne 0x1400785f5
movzx eax, word [rbp - 0x50]
cmp ax, word [0x1400bbdc4]
jne 0x1400785f5
jmp 0x14007862a
test al, al
jne 0x14007862a
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140078661
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rax, qword [rax + 0x10]
call qword [str.___n_]
mov ebx, eax
test ebx, ebx
js 0x140078682
cmp byte [rsp + 0x30], r15b
je 0x140078682
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x1400785a5
cmp byte [rsp + 0x30], r15b
je 0x140078682
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x12
jne 0x140078668
mov ebx, r15d
jmp 0x140078682
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140078682
cmp ebx, 0x80070003
cmove ebx, r15d
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140078696
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop
lea rcx, [rsp + 0x60]
call fcn.140004948
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400786c1
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
mov rax, qword [rax + 0x20]
call qword [str.___n_]
mov qword [rdi + 0x38], r15
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400a0800
mov rbx, qword [rsp + 0x318]
add rsp, 0x2e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007f8f8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
lea r9, [r8 + 8]
mov rbx, rcx
cmp r9, r8
movabs rax, 0xcbf29ce484222325
mov r11, r8
sbb r10, r10
not r10
and r10d, 8
cmp r8, r9
ja 0x14007f946
movzx ecx, byte [r11]
movabs r9, 0x100000001b3
xor rax, rcx
inc r11
mov rcx, r11
sub rcx, r8
imul rax, r9
cmp rcx, r10
jne 0x14007f923
mov r9, qword [rbx + 0x30]
mov r11, qword [rbx + 0x18]
and r9, rax
add r9, r9
mov r10, qword [r11 + r9*8]
mov rcx, r10
cmp r10, qword [rbx + 8]
jne 0x14007f967
mov rax, qword [rbx + 8]
jmp 0x14007f96f
mov rax, qword [r11 + r9*8 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x14007f982
mov rax, qword [r8]
cmp qword [rcx + 0x10], rax
je 0x14007f986
mov rcx, qword [rcx]
jmp 0x14007f95b
mov rcx, qword [rbx + 8]
mov qword [rdx], rcx
mov rax, rdx
mov rbx, qword [rsp + 8]
ret

Function at 0x14007f998
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r10, rdx
mov rsi, rcx
movabs rax, 0xcbf29ce484222325
lea r8, [rdx + 8]
cmp r8, rdx
sbb r9, r9
not r9
and r9d, 8
cmp rdx, r8
ja 0x14007f9fc
movzx ecx, byte [rdx]
xor rax, rcx
movabs r8, 0x100000001b3
imul rax, r8
inc rdx
mov rcx, rdx
sub rcx, r10
cmp rcx, r9
jne 0x14007f9da
mov r8, qword [rsi + 0x30]
and r8, rax
add r8, r8
mov r11, qword [rsi + 0x18]
mov rbx, qword [r11 + r8*8]
mov rdx, qword [rsi + 8]
cmp qword [r11 + r8*8], rdx
jne 0x14007fa1d
mov rax, rdx
jmp 0x14007fa25
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14007fa66
mov r9, qword [r10]
cmp qword [rbx + 0x10], r9
je 0x14007fa38
mov rbx, qword [rbx]
jmp 0x14007fa12
mov rcx, rbx
mov rdi, rbx
cmp qword [r11 + r8*8], rdx
jne 0x14007fa49
mov rax, rdx
jmp 0x14007fa51
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14007fa61
cmp r9, qword [rbx + 0x10]
jne 0x14007fa61
mov rbx, qword [rbx]
jmp 0x14007fa3e
cmp rcx, rbx
jne 0x14007fa6c
mov rdi, rdx
mov rbx, rdx
mov rax, rdi
xor ebp, ebp
cmp rdi, rbx
je 0x14007fa81
inc rbp
mov rax, qword [rax]
cmp rax, rbx
jne 0x14007fa76
mov rcx, qword [rdx]
cmp rdi, rcx
jne 0x14007fadd
cmp rbx, rdx
jne 0x14007fadd
mov qword [rdx], rdx
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
and qword [rsi + 0x10], 0
cmp rcx, qword [rsi + 8]
je 0x14007faba
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.1400a0df8
mov rcx, rbx
cmp rbx, qword [rsi + 8]
jne 0x14007faa4
mov edx, 8
mov rcx, rsi
call fcn.1400805b8
nop
jmp 0x14007fae2
mov r8, rdi
mov rdi, qword [rdi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140080d0c
cmp rdi, rbx
jne 0x14007faca
mov rax, rbp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140080d0c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea r11, [r8 + 0x10]
mov rsi, rdx
lea r9, [r11 + 8]
mov r10, rcx
cmp r9, r11
movabs rax, 0xcbf29ce484222325
mov rdi, r11
sbb rbx, rbx
not rbx
and ebx, 8
cmp r11, r9
ja 0x140080d69
movzx ecx, byte [rdi]
movabs rdx, 0x100000001b3
xor rax, rcx
inc rdi
mov rcx, rdi
sub rcx, r11
imul rax, rdx
cmp rcx, rbx
jne 0x140080d47
mov rdx, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140080da1
cmp qword [rcx + rdx*8], r8
jne 0x140080d96
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
jmp 0x140080d9a
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140080dae
cmp qword [rcx + rdx*8], r8
jne 0x140080dae
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov edx, 0x20
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r10 + 0x10]
call fcn.1400a0df8
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140081338
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, r9
mov r10, r8
mov r14, rdx
mov rsi, rcx
movabs rax, 0xcbf29ce484222325
mov rdx, r8
lea r9, [r8 + 8]
cmp r9, r8
sbb r8, r8
not r8
and r8d, 8
cmp rdx, r9
ja 0x1400813a7
movzx ecx, byte [rdx]
xor rax, rcx
movabs r9, 0x100000001b3
imul rax, r9
inc rdx
mov rcx, rdx
sub rcx, r10
cmp rcx, r8
jne 0x140081385
mov r8, qword [rsi + 0x30]
and r8, rax
add r8, r8
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
cmp qword [rcx + r8*8], rdi
je 0x1400813c7
mov rdi, qword [rcx + r8*8 + 8]
mov rdi, qword [rdi]
mov r9, rdi
cmp r9, qword [rcx + r8*8]
je 0x140081416
mov rdi, qword [rdi + 8]
mov r9, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r10], rax
jne 0x1400813ca
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov edx, 0x20
mov rcx, rbx
call fcn.1400a0df8
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14008153b
mov qword [rsp + 0x80], rbx
mov rax, qword [rbx]
cmp r9, rax
je 0x140081453
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], r9
mov rcx, qword [r9 + 8]
mov qword [rcx], rbx
mov rdx, qword [r9 + 8]
mov rcx, qword [rax + 8]
mov qword [r9 + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x140081470
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14008149f
cmp rax, r9
jne 0x14008147b
mov qword [rdx + r8*8], rbx
jmp 0x14008149f
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14008149f
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x1400c1a14]
test rax, rax
jns 0x1400814c0
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1400814d1
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140081530
cmp rdx, 0x200
jae 0x1400814e9
shl rdx, 3
jmp 0x1400814fb
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1400814fb
add rdx, rdx
mov rcx, rsi
call fcn.1400805b8
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140081530
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140081338
cmp rdi, r15
jne 0x140081510
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400836dc
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400e8708]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov edi, edx
mov rbx, rcx
call qword [sym.imp.ext_ms_win_resourcemanager_gamemode_l1_2_0.dll_RmGameModeInitializeResourceRequest]
mov eax, dword [rbx + 0x20]
lea rcx, [rsp + 0x38]
and eax, 0xfffffffb
or eax, 3
mov dword [rbx + 0x20], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
mov eax, dword [rsp + 0x58]
cmp eax, 4
jb 0x140083741
mov eax, dword [rbx + 0x1c]
and dword [rbx + 4], 0
and eax, 0xffffffef
and qword [rbx + 8], 0
or eax, 0x8f
mov dword [rbx + 0x1c], eax
mov eax, edi
jmp 0x14008379e
cmp dword [0x1400e6150], 5
jbe 0x140083799
and dword [rsp + 0x94], 0
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 4
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1400cf5d3]
xor r8d, r8d
mov dword [rsp + 0x20], 3
lea rcx, [0x1400e6150]
call fcn.14000117c
mov eax, 0xc000009a
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a0800
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
Function at 0x1400845dc
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400e8708]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdx, qword [rcx + 0x148]
mov r8, rcx
xor r10d, r10d
lea rcx, [rsp + 0x28]
mov r9d, r10d
call fcn.140001008
shr r8, 4
mov ecx, r10d
mov qword [rsp + 0x20], r8
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x28], xmm0
movzx eax, byte [rsp + rcx + 0x28]
inc rcx
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
cmp rcx, 0x10
jb 0x14008461e
movzx eax, byte [rsp + r10 + 0x20]
inc r10
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
cmp r10, 8
jb 0x14008463f
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov eax, 0x45e7b273
imul r8d, ecx, 0x8001
mul r8d
shr edx, 0xe
imul ecx, edx, 0xea60
sub r8d, ecx
lea eax, [r8 + 0xea60]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a0800
add rsp, 0x48
ret
Function at 0x140085668
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd r8, dword [0x14000003c]
lea rdi, [0x140000000]
add r8, rdi
mov rsi, rdx
mov ebp, ecx
cmp dword [r8 + 0x84], 0xd
jbe 0x140085750
mov r9d, dword [r8 + 0xf0]
test r9d, r9d
je 0x140085750
movzx eax, word [r8 + 0x14]
lea rcx, [r8 + 0x18]
mov r10d, dword [r9 + rdi + 0xc]
add rcx, rax
movzx r11d, word [r8 + 6]
xor r9d, r9d
test r11d, r11d
je 0x1400856ef
mov r8d, dword [rcx + 0xc]
cmp r10d, r8d
jb 0x1400856e3
mov edx, dword [rcx + 8]
lea eax, [rdx + r8]
cmp r10d, eax
jb 0x140085728
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400856ce
mov eax, dword [rsp + 0x40]
xor ebx, ebx
mov edx, dword [rsp + 0x40]
test rbx, rbx
je 0x140085750
cmp dword [0x1400ea2a0], 0
jne 0x140085731
mov dword [0x1400ea2a0], 1
test eax, eax
js 0x14008571c
mov ecx, 0x19
int 0x29
mov rcx, rbx
mov edi, edx
call fcn.1400855c8
jmp 0x140085733
mov eax, dword [rcx + 0x24]
lea rbx, [rdi + r8]
jmp 0x1400856f9
mov edi, edx
mov r9, rsi
mov r8d, ebp
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualProtect]
test eax, eax
jne 0x140085756
lea ecx, [rax + 0x19]
int 0x29
jmp 0x140085756
mov dword [rsi], 4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a0834
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400e91d0], eax
call fcn.1400a12f0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x1400e91d0], 0
jne 0x1400a0877
mov ecx, 1
call fcn.1400a12f0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
Function at 0x14000c4c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14000c4eb
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000c4f2
mov al, 1
jmp 0x14000c64c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14000e920
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.14000e920
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.14000e970
movzx eax, al
test eax, eax
je 0x14000c549
xor al, al
jmp 0x14000c64c
mov qword [rsp + 0x68], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000c5b9
cmp dword [rsp + 0x30], 1
je 0x14000c5c5
cmp dword [rsp + 0x30], 3
je 0x14000c63a
jmp 0x14000c64a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x14000c611
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x14000c611
xor al, al
jmp 0x14000c64c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000c62b
mov dword [rsp + 0x34], 1
jmp 0x14000c633
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14000c64c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14000c64c
xor al, al
add rsp, 0xa8
ret
Function at 0x14000e110
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
lea rcx, [rsp + 0x88]
call fcn.140005d60
lea rcx, [rsp + 0x60]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xc0]
add rax, 0x348
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14000b1b0
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x360], 0
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0xb8]
lea rcx, [rsp + 0x70]
call fcn.14000e850
nop
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140007b40
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x40]
call fcn.14000d9e0
mov qword [rsp + 0x48], rax
jmp 0x14000e1bb
mov rax, qword [rsp + 0x30]
add rax, 4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x30], rax
je 0x14000e26c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x14000e1f7
jmp 0x14000e1ad
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x7f
jne 0x14000e23a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x360], ecx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000e1ad
mov rax, qword [rsp + 0xc0]
add rax, 0x348
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.1400133b0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000e1ad
lea rcx, [rsp + 0x70]
call fcn.14000aee0
mov rax, qword [rsp + 0xc0]
add rax, 0x348
mov rcx, rax
call fcn.14000e810
movzx eax, al
test eax, eax
jne 0x14000e29d
mov dword [rsp + 0x24], 1
jmp 0x14000e2a5
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
add rsp, 0xa8
pop rdi
pop rsi
ret
Function at 0x14000e850
Capabilities:
Enumerate threads

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x70]
call fcn.14000a6a0
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x14000e90e
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x14000e903
mov eax, dword [rsp + 0x38]
cmp rax, 0x10
jb 0x14000e8e8
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x44], eax
jne 0x14000e8e8
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.1400133b0
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x14000e8c5
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000ec30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov rax, qword [rsp + 0x108]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x108]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x28], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 0x74], 0
je 0x14000ede4
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x70]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140009380
lea rcx, [rsp + 0x88]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0
jmp 0x14000ed17
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x20], eax
jae 0x14000ede4
mov eax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x20]
lea rax, [rax + rcx*4]
mov rcx, rax
call fcn.140009330
mov eax, eax
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x20]
lea rax, [rax + rcx*4]
mov rcx, rax
call fcn.140009330
mov eax, eax
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.1401ac260
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x68]
call fcn.140005d90
movzx eax, al
test eax, eax
je 0x14000edd5
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
call fcn.1400049e0
mov rax, qword [rsp + 0x50]
jmp 0x14000ede6
lea rcx, [rsp + 0x68]
call fcn.1400049e0
jmp 0x14000ed0d
xor eax, eax
add rsp, 0xe8
pop rdi
pop rsi
ret