joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a3170
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x1400a3193
xor eax, eax
jmp 0x1400a31f2
call fcn.1400a8fb0
mov ebx, eax
cmp eax, 0x800700b7
je 0x1400a31de
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a31da
mov edx, 1
test byte [rcx + 0x1c], dl
je 0x1400a31da
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c5870]
mov edx, 0x2d
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140010d3c
mov eax, ebx
jmp 0x1400a31f2
mov rcx, rdi
call fcn.1400a3494
test eax, eax
mov edx, 1
cmovs edx, eax
mov eax, edx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a3204
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
push rdi
sub rsp, 0x30
xor edi, edi
mov r9, r8
mov dword [rax + 0x20], edi
lea rax, [rax + 0x20]
mov rbx, rcx
mov qword [rsp + 0x28], rax
mov r8, rdx
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
nop dword [rax + rax]
mov qword [rbx], rax
test rax, rax
je 0x1400a327d
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a32ea
test byte [rcx + 0x1c], 0x10
je 0x1400a32ea
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x2f]
lea r8, [0x1400c5870]
call fcn.14000cf30
jmp 0x1400a32ea
mov ebx, 0x80004005
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
nop dword [rax + rax]
mov edx, dword [rax]
sub edx, 0xb
je 0x1400a32b2
sub edx, 1
je 0x1400a32a4
sub edx, 1
je 0x1400a32ab
cmp edx, 9
jne 0x1400a32b7
mov ebx, 0x8007000e
jmp 0x1400a32b7
mov ebx, 0x80070005
jmp 0x1400a32b7
mov ebx, 0x8007009b
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a32e8
test byte [rcx + 0x1c], 1
je 0x1400a32e8
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c5870]
mov edx, 0x30
mov r9d, ebx
call fcn.14000a9b0
mov edi, ebx
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret

Function at 0x1400a3504
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, dword [rdx]
mov rdi, r8
mov rsi, rdx
mov r8d, ebx
mov rdx, rdi
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
xor edx, edx
mov r9d, eax
test eax, eax
jne 0x1400a357e
call fcn.1400a8fb0
mov ebx, eax
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a357a
test byte [rcx + 0x1c], 1
je 0x1400a357a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c5870]
mov edx, 0x38
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.140010d3c
mov eax, ebx
jmp 0x1400a35a0
cmp r9d, ebx
ja 0x1400a3594
lea eax, [r9 - 1]
cmp word [rdi + rax*2], dx
je 0x1400a359b
mov eax, 0x8000ffff
jmp 0x1400a35a0
test ebx, ebx
je 0x1400a359b
mov word [rdi], dx
mov qword [rsi], r9
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400a37b8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, rdx
mov rcx, rdx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x1400a3827
call fcn.1400a8fb0
mov ebx, eax
lea ecx, [rax + 0x7ff8fffe]
cmp ecx, 1
jbe 0x1400a3823
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a3823
test byte [rcx + 0x1c], 1
je 0x1400a3823
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c5870]
mov edx, 0x3d
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140010d3c
mov eax, ebx
jmp 0x1400a382b
mov dword [rbx], eax
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a41c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, qword [r9]
mov rbx, r9
mov eax, r14d
mov r15, r8
mov dword [rsp + 0x68], eax
mov rsi, rdx
cmp rax, r14
je 0x1400a41fe
mov eax, 0x80070057
jmp 0x1400a42d2
mov rbp, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x1400a425a
test rbp, rbp
je 0x1400a4251
mov eax, dword [rsp + 0x68]
cmp rax, qword [rbx]
jbe 0x1400a4251
mov qword [rbx], rax
mov eax, 0x800700ea
jmp 0x1400a42d2
mov eax, dword [rsp + 0x68]
mov qword [rbx], rax
jmp 0x1400a42bc
mov eax, 0x80070002
cmp edi, eax
je 0x1400a42d2
mov eax, 0x800700ea
cmp edi, eax
je 0x1400a42a5
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a42a1
test byte [rcx + 0x1c], 1
je 0x1400a42a1
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c58a0]
mov edx, SafeArrayPutElement
mov dword [rsp + 0x20], edi
mov r9, rsi
call fcn.140010d3c
mov eax, edi
jmp 0x1400a42b8
mov ecx, dword [rsp + 0x68]
cmp qword [rbx], rcx
jb 0x1400a42b5
mov eax, 0x8000ffff
jmp 0x1400a42d2
mov qword [rbx], rcx
test eax, eax
js 0x1400a42d2
mov r8d, dword [r15]
mov r9, rbx
mov rdx, r14
mov qword [rsp + 0x20], rbp
mov rcx, rsi
call fcn.1400a40d8
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400a4624
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov eax, r9d
mov rdi, rdx
cmp rax, r9
je 0x1400a4640
mov eax, 0x80070057
jmp 0x1400a46af
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x28], r9d
mov r9d, r8d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400a46ad
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a469c
test byte [rcx + 0x1c], 1
je 0x1400a469c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c58a0]
mov edx, SafeArrayPutElement
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140010d3c
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
test eax, eax
js 0x1400a46af
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400a47e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], r8
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x50
mov r14, qword [rsp + 0xa8]
mov rbp, rdx
mov rdx, qword [r9]
mov r15, r9
mov eax, edx
mov qword [rsp + 0x40], rdx
mov r13, qword [r14]
mov dword [r11 + 0x20], eax
cmp rax, rdx
je 0x1400a4848
mov ebx, 0x80070057
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov eax, r13d
mov dword [rsp + 0xa8], eax
cmp rax, r13
jne 0x1400a4827
mov eax, ebp
cmp rax, rbp
jne 0x1400a4827
lea rax, [rsp + 0xa8]
xor edi, edi
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x98]
mov rax, qword [rsp + 0xb0]
mov edx, ebp
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
mov r8, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
movzx ebx, ax
mov edx, 0x80070103
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400a48f5
mov ecx, dword [rsp + 0x98]
lea esi, [rdx - 0x19]
inc ecx
cmp qword [rsp + 0xa0], rdi
je 0x1400a48d7
mov eax, ecx
cmp rax, qword [r15]
cmova ebx, esi
cmp qword [rsp + 0xb0], rdi
je 0x1400a48ee
mov eax, dword [rsp + 0xa8]
cmp rax, qword [r14]
cmova ebx, esi
mov eax, ecx
mov qword [r15], rax
jmp 0x1400a496c
cmp ebx, edx
jne 0x1400a4900
mov ebx, edx
jmp 0x1400a482c
mov esi, 0x800700ea
cmp ebx, esi
je 0x1400a4943
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a4976
test byte [rcx + 0x1c], 1
je 0x1400a4976
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c58a0]
mov edx, 0x1b
mov dword [rsp + 0x20], ebx
mov r9d, ebp
call fcn.14000a9f4
lea edx, [rsi + 0x19]
jmp 0x1400a4976
mov ecx, dword [rsp + 0x98]
inc ecx
cmp qword [r15], rcx
jb 0x1400a4967
mov eax, dword [rsp + 0xa8]
cmp qword [r14], rax
jb 0x1400a4967
mov ebx, 0x8000ffff
jmp 0x1400a482c
mov qword [r15], rcx
mov ebx, esi
mov eax, dword [rsp + 0xa8]
mov qword [r14], rax
cmp ebx, esi
je 0x1400a482c
cmp ebx, edx
je 0x1400a482c
test ebx, ebx
js 0x1400a482c
mov r9, qword [rsp + 0xa0]
mov r8, r15
mov rdx, qword [rsp + 0x40]
mov rcx, rbp
call fcn.1400a472c
test eax, eax
js 0x1400a482e
mov rax, qword [rsp + 0xb0]
mov r9, r14
mov rcx, qword [rsp + 0xa0]
mov rdx, r13
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x90]
mov r8d, dword [rax]
call fcn.1400a40d8
test eax, eax
cmovs edi, eax
mov eax, edi
jmp 0x1400a482e
Function at 0x1400a4d80
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80070002
cmp ebx, eax
je 0x1400a4def
test ebx, ebx
jns 0x1400a4ded
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a4de9
test byte [rcx + 0x1c], 1
je 0x1400a4de9
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c58a0]
mov edx, 0x1c
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140010d3c
mov eax, ebx
jmp 0x1400a4def
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a4e04
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80070002
cmp ebx, eax
je 0x1400a4e73
test ebx, ebx
jns 0x1400a4e71
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a4e6d
test byte [rcx + 0x1c], 1
je 0x1400a4e6d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c58a0]
mov edx, 0x1d
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140010d3c
mov eax, ebx
jmp 0x1400a4e73
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a7188
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x20
and dword [rsp + 0x30], 0
mov rax, r8
mov r9, rdx
mov byte [rcx], 0
mov rbx, rcx
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r9
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
jne 0x1400a71f6
call fcn.1400a8fb0
mov ebx, eax
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a71f2
test byte [rcx + 0x1c], 1
je 0x1400a71f2
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c5908]
mov edx, 0x1a
mov r9d, ebx
call fcn.14000a9b0
mov eax, ebx
jmp 0x1400a7202
cmp dword [rsp + 0x30], 0
setne al
mov byte [rbx], al
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400a8484
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400e6870]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [rsp + 0x88]
lea rdx, [r11 - 0x38]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [r11 - 0x28], rax
mov rbx, rcx
mov dword [rsp + 0x38], eax
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
jne 0x1400a84de
mov rcx, rbx
call fcn.1400a83ec
jmp 0x1400a84e0
xor eax, eax
test eax, eax
js 0x1400a8611
cmp dword [rsp + 0x24], 4
jne 0x1400a84f6
xor eax, eax
jmp 0x1400a8611
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, edi
cmp eax, 0x7530
ja 0x1400a860c
test rsi, rsi
je 0x1400a8545
mov rax, qword [rsi]
mov edx, 0xfa
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [case.0x1400ad4ce.0]
test al, al
jne 0x1400a8556
mov eax, 0x80004004
jmp 0x1400a8611
mov ecx, 0xfa
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
jne 0x1400a8578
mov rcx, rbx
call fcn.1400a83ec
jmp 0x1400a857a
xor eax, eax
test eax, eax
js 0x1400a8611
cmp dword [rsp + 0x24], 4
je 0x1400a84ef
cmp dword [rsp + 0x24], 2
je 0x1400a8504
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1400a85e7
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1400a85e7
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a85e3
test byte [rcx + 0x1c], 1
je 0x1400a85e3
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c5a28]
mov r9d, ebx
call fcn.14000a9b0
mov eax, ebx
jmp 0x1400a8611
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
mov ebx, 0x80004005
cmp rcx, rax
je 0x1400a85e3
test byte [rcx + 0x1c], 1
je 0x1400a85e3
mov edx, SafeArrayGetLBound
jmp 0x1400a85d0
mov eax, 0x800705b4
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400abb00
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400a8638
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], r9
push rsi
push rdi
push r15
sub rsp, 0x30
mov rbp, r8
xor edi, edi
xor r8d, r8d
mov dword [rsp + 0x58], edi
xor edx, edx
mov rsi, rcx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_StartServiceW]
nop dword [rax + rax]
lea r15, [0x1400df278]
test eax, eax
jne 0x1400a86e1
call fcn.1400a8fb0
mov ebx, eax
cmp eax, 0x80070420
je 0x1400a86eb
mov rax, qword [0x1400df278]
cmp rax, r15
je 0x1400a86ca
test byte [rax + 0x1c], 1
je 0x1400a86ca
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.1400a8358
mov rcx, qword [0x1400df278]
lea edx, [rdi + 0x10]
lea r8, [0x1400c5a28]
mov dword [rsp + 0x20], ebx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140010d3c
mov edi, 1
test dil, 1
je 0x1400a86e3
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400a86e3
call fcn.1400ac0d0
jmp 0x1400a86e3
xor ebx, ebx
test ebx, ebx
jns 0x1400a86eb
mov eax, ebx
jmp 0x1400a872c
mov rcx, rsi
mov qword [rsp + 0x28], rbp
call fcn.1400a8484
mov ebx, eax
test eax, eax
jns 0x1400a872a
mov rcx, qword [0x1400df278]
cmp rcx, r15
je 0x1400a86e7
test byte [rcx + 0x1c], 1
je 0x1400a86e7
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c5a28]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetLBound
mov r9d, eax
call fcn.14000a9b0
jmp 0x1400a86e7
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop rdi
pop rsi
ret

Function at 0x1400a8748
Capabilities:
Modify service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x60
xor edi, edi
or edx, 0xffffffff
and qword [rax - 0x18], rdi
mov r9d, edx
and qword [rax - 0x20], rdi
mov rsi, rcx
and qword [rax - 0x28], rdi
and qword [rax - 0x30], rdi
lea r8d, [rdi + 2]
and qword [rax - 0x38], rdi
and qword [rax - 0x40], rdi
and qword [rax - 0x48], rdi
mov dword [rsp + 0x88], edi
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_ChangeServiceConfigW]
nop dword [rax + rax]
test eax, eax
jne 0x1400a880c
call fcn.1400a8fb0
mov ebx, eax
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400a87f0
test byte [rcx + 0x1c], 1
je 0x1400a87f0
mov rdx, rsi
lea rcx, [rsp + 0x90]
call fcn.1400a8358
mov rcx, qword [0x1400df278]
lea edx, [rdi + 0x15]
lea r8, [0x1400c5a28]
mov dword [rsp + 0x20], ebx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140010d3c
mov edi, 1
test dil, 1
je 0x1400a8808
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400a8808
call fcn.1400ac0d0
mov eax, ebx
jmp 0x1400a880e
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400aa300
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
lea r15, [rcx + 0x10]
mov rdi, rcx
mov rcx, r15
mov esi, r8d
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
cmp dword [rdi + 0x90], 0
mov ebp, 1
je 0x1400aa366
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rax, qword [rbx + 0x18]
mov rcx, rbx
xor bpl, bpl
call qword [case.0x1400ad4ce.0]
jmp 0x1400aa441
lea r14, [rdi + 0x78]
mov rax, qword [r14]
cmp qword [rdi + 0x80], rax
jae 0x1400aa3b3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ecx, eax
sub ecx, dword [rdi + 0x9c]
cmp ecx, 0x249f0
jb 0x1400aa3b3
mov rcx, qword [rdi + 0x70]
mov r8, r14
mov rdx, qword [rdi + 0x80]
mov dword [rdi + 0x9c], eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ad4ce.0]
lea rdx, [rdi + 0x38]
cmp qword [rbx], rbx
jne 0x1400aa3f9
sub esi, ebp
je 0x1400aa3df
cmp esi, 8
je 0x1400aa3d9
mov rax, qword [rdx + 8]
mov qword [rbx], rdx
mov qword [rbx + 8], rax
mov qword [rax], rbx
mov qword [rdx + 8], rbx
jmp 0x1400aa3f5
lea rcx, [rdx + 0x20]
jmp 0x1400aa3e3
lea rcx, [rdx + 0x10]
mov rax, qword [rcx + 8]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rax], rbx
mov qword [rcx + 8], rbx
add qword [rdx + 0x30], rbp
mov rax, qword [rdi + 0x88]
cmp qword [r14], rax
jae 0x1400aa448
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
add qword [r14], rbp
mov rcx, r15
mov dword [rdi + 0x9c], eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x70]
xor bpl, bpl
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ad4ce.0]
test al, al
jne 0x1400aa448
mov ebx, 0x800703e3
jmp 0x1400aa44a
xor ebx, ebx
test bpl, bpl
je 0x1400aa45e
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400ab520
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
and qword [rdx], 0
lea rbp, [rcx + 0x28]
mov r14, rdx
mov rsi, rcx
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1400ab580
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x1400ab579
call fcn.1400a8fb0
mov edi, eax
cmp eax, 0x80070012
jne 0x1400ab607
and qword [r14], 0
xor eax, eax
jmp 0x1400ab647
xor edi, edi
jmp 0x1400ab607
mov r9, qword [rsi + 0x20]
lea rdx, str._ws_ws
mov r8, qword [rsi + 0x18]
lea rcx, [rsp + 0x40]
and qword [rsp + 0x40], 0
call fcn.1400a3c2c
mov ebx, eax
test eax, eax
js 0x1400ab636
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1400ab5c9
cmp rcx, 0xffffffffffffffff
je 0x1400ab5c4
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
and qword [rsi + 0x10], 0
mov rbx, qword [rsp + 0x40]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
cmp rax, 0xffffffffffffffff
jne 0x1400ab5f4
call fcn.1400a8fb0
mov edi, eax
add eax, 0x7ff8fffe
jmp 0x1400ab5fa
mov qword [rsi + 0x10], rax
xor edi, edi
test rbx, rbx
je 0x1400ab607
mov rcx, rbx
call fcn.1400ac0d0
cmp edi, 0x80070012
je 0x1400ab56e
test edi, edi
js 0x1400ab632
test byte [rsi + 0x280], 2
je 0x1400ab62a
test byte [rbp], 0x10
jne 0x1400ab540
mov qword [r14], rbp
jmp 0x1400ab572
mov eax, edi
jmp 0x1400ab647
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400ab645
call fcn.1400ac0d0
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1400abb28
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400e7770], eax
call fcn.1400ac2d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400e7770], 0
jne 0x1400abb6b
mov ecx, 1
call fcn.1400ac2d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
push r9
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
push rax
add r8, rdx
mov ecx, dword [rax + 0x18]
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140002170
Capabilities:
Parse pe header

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