joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d5680
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400d580f
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov rdx, rcx
and ecx, 0x1f
mov qword [rsp + 0x10], rcx
cmp rcx, 0x15
ja 0x1400d5725
cmp rcx, 0x12
je 0x1400d576c
nop dword [rax]
cmp rcx, 0x13
jne 0x1400d5716
bt edx, 9
jb 0x1400d5704
nop
cmp qword [rax], 8
jne 0x1400d57fb
nop
cmp qword [rax + 8], 0
nop dword [rax]
je 0x1400d57fb
bt edx, 7
jae 0x1400d56ef
mov rbx, qword [rbx]
test rbx, rbx
je 0x1400d56f7
mov rbx, qword [rbx]
mov rax, rbx
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
nop
lea rax, [0x1400dae40]
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
cmp rcx, 0x15
je 0x1400d576c
nop dword [rax]
jmp 0x1400d57b2
cmp rcx, 0x16
jne 0x1400d5760
cmp qword [rax + 8], 0
jne 0x1400d576c
mov qword [rsp + 0x18], rbx
mov rax, qword [rbx]
call fcn.140062940
nop
test al, al
je 0x1400d57e8
mov rcx, qword [rsp + 0x18]
mov rax, qword [rcx]
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
cmp rcx, 0x17
je 0x1400d5792
cmp rcx, 0x1a
jne 0x1400d57b2
nop
cmp qword [rax], 8
jne 0x1400d579f
nop
cmp qword [rax + 8], 0
je 0x1400d579f
bt edx, 7
nop
jae 0x1400d5785
mov rbx, qword [rbx]
mov rax, rbx
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
mov rax, qword [rbx]
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rax, [0x1408bcca0]
lea rbx, [0x140aec840]
call fcn.140039220
lea rax, [0x14092a420]
call fcn.14000f080
mov qword [rax + 8], 0x1b
lea rcx, [0x1409d9ee0]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x10]
mov qword [rax + 0x10], rcx
mov rbx, rax
lea rax, [0x1408e43a0]
call fcn.140039220
lea rax, [0x1408bcca0]
lea rbx, [0x140aec860]
call fcn.140039220
lea rax, [0x1408bcca0]
lea rbx, [0x140aec840]
call fcn.140039220
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
nop
call fcn.1400673a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.1400d5680

Function at 0x1400d7020
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400d70cc
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
test rax, rax
je 0x1400d70b8
mov rdx, qword [0x140afe6d0]
lea rsi, [0x140afe6c8]
cmp rax, rsi
jne 0x1400d70a9
mov qword [rsp + 0x38], rbx
mov rax, rbx
call fcn.1400c1220
movzx ecx, byte [rax + 0x17]
test cl, 0x20
je 0x1400d7096
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
call fcn.140061fe0
mov rbx, rax
mov ecx, 0x16
mov rax, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rax, [0x1408bcca0]
lea rbx, [0x140aec9d0]
call fcn.140039220
mov rbx, rdx
lea rcx, [0x140985900]
call fcn.14000c380
lea rax, [0x1408bcca0]
lea rbx, [0x140aec9c0]
call fcn.140039220
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400673a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1400d7020
Function at 0x1407f6340
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x141154dc0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1407f6360
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1407f6368
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1407f6360
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1407f63b5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1407f63ac
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1407f6360
add rax, 0x28
cmp rax, r9
jne 0x1407f6398
xor eax, eax
ret

Function at 0x1407f63c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x141154dc0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1407f63e0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1407f63e8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1407f63e0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1407f6470
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x141154dc0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1407f6490
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1407f6498
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140001000
Capabilities:
Set file attributes
Timestomp file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
xor esi, esi
xor r9d, r9d
mov edx, 0xc0000000
mov qword [rsp + 0x30], rsi
lea r8d, [rsi + 3]
mov dword [rsp + 0x28], 0x2000000
mov rdi, rcx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001056
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov eax, 0x7da
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
mov word [rsp + 0x40], ax
mov eax, 0xb
mov word [rsp + 0x44], si
mov word [rsp + 0x42], ax
mov eax, 0x15
mov word [rsp + 0x4e], si
mov word [rsp + 0x46], ax
mov eax, 0x12
mov word [rsp + 0x48], ax
mov eax, 7
mov word [rsp + 0x4a], ax
mov eax, 5
mov word [rsp + 0x4c], ax
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea r9, [rsp + 0x68]
lea rdx, [rsp + 0x68]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov eax, 1
add rsp, 0x50
pop rdi
ret
Function at 0x1400011b0
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x390
mov rax, qword [0x140004038]
xor rax, rsp
mov qword [rsp + 0x380], rax
lea rdx, [rsp + 0x50]
xor ebp, ebp
mov ecx, 0x104
mov dword [rsp + 0x40], ebp
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, str._unins_update.bat
lea rcx, [rsp + 0x50]
call sub.MSVCR90.dll_strcat
lea rdx, [rsp + 0x160]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x270]
call sub.MSVCR90.dll_strcpy
lea edx, [rbp + 0x5c]
lea rcx, [rsp + 0x270]
call qword [sym.imp.MSVCR90.dll_strrchr]
test rax, rax
je 0x14000123a
mov byte [rax], bpl
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000135c
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x3a0], rbx
mov qword [rsp + 0x3a8], rsi
call sub.MSVCR90.dll_strlen
lea rcx, section..data
lea ebx, [rax + rax*2]
call sub.MSVCR90.dll_strlen
lea rcx, [rsp + 0x50]
add ebx, eax
call sub.MSVCR90.dll_strlen
lea ecx, [rax + rbx + 0x32]
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_malloc]
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rsi, rax
call sub.MSVCR90.dll_memset
lea r11, [rsp + 0x50]
lea r9, [rsp + 0x160]
lea r8, [rsp + 0x160]
lea rdx, section..data
mov rcx, rsi
mov qword [rsp + 0x20], r11
call qword [sym.imp.MSVCR90.dll_sprintf]
mov rcx, rsi
call sub.MSVCR90.dll_strlen
lea r9, [rsp + 0x40]
mov rdx, rsi
mov rcx, rdi
mov r8, rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rsp + 0x50]
lea rdx, [0x140003300]
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rbx, qword [rsp + 0x3a0]
test rsi, rsi
je 0x140001354
mov rcx, rsi
call qword [sym.imp.MSVCR90.dll_free]
mov rsi, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140001f40
mov rbp, qword [rsp + 0x3b0]
add rsp, 0x390
pop rdi
ret
Function at 0x140001380
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x140004038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x140003350]
lea rcx, [rsp + 0x50]
xor ebx, ebx
mov qword [rcx], rax
mov rax, qword [0x140003358]
xor edx, edx
mov qword [rcx + 8], rax
mov rax, qword [0x140003360]
mov r8d, 0xeb
mov qword [rcx + 0x10], rax
movzx eax, byte [0x140003368]
mov dword [rsp + 0x44], 4
mov byte [rcx + 0x18], al
lea rcx, [rsp + 0x69]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x40], 0x3f7
call sub.MSVCR90.dll_memset
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001524
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x44]
lea rdx, [0x140003340]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001524
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x44]
lea rdx, str.VERSION_Value
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001524
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x30], eax
je 0x14000151f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9d, [rbx + 4]
lea rdx, str.VERSION_Value
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call fcn.140001d60
mov rcx, qword [rsp + 0x38]
lea rax, [0x140004060]
lea r9d, [rbx + 4]
lea rdx, [0x140003340]
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x38]
lea rax, [0x140004064]
lea r9d, [rbx + 4]
lea rdx, [0x140003320]
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001534
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140001f40
add rsp, 0x170
pop rbx
ret

Function at 0x140001560
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x28
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_KillTimer]
call fcn.140001550
lea rcx, [0x140003370]
mov edx, 1
call fcn.140001100
call fcn.140001380
call fcn.1400011b0
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400016d0
Capabilities:
Delete file
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd rsi, r8d
mov rbp, rdx
mov rbx, rcx
xor edi, edi
call qword [sym.imp.MSVCR90.dll_remove]
lea rdx, [0x140003390]
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_fopen]
mov rbx, rax
test rax, rax
je 0x14000173e
mov qword [rsp + 0x30], r12
mov r12d, 1
mov r8, rsi
mov r9, rax
mov rcx, rbp
mov rdx, r12
call qword [sym.imp.MSVCR90.dll_fwrite]
mov rcx, rbx
cmp eax, esi
cmove edi, r12d
call qword [sym.imp.MSVCR90.dll_fclose]
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x140001760
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
sub rsp, 0x58
xor eax, eax
mov r10, r9
xor r9d, r9d
mov qword [r11 - 0x28], r9
mov dword [r11 + 8], r9d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
cmp rcx, 0xffffffffffffffff
je 0x1400017b4
mov eax, edx
lea r9, [r11 + 8]
shl r8d, 9
shl rax, 9
mov rdx, r10
mov dword [rsp + 0x40], eax
shr rax, 0x20
mov dword [rsp + 0x44], eax
lea rax, [r11 - 0x28]
mov qword [r11 - 0x38], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
add rsp, 0x58
ret

Function at 0x140001870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r13
push r14
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
mov r14, r8
mov rdi, rdx
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rbx
mov r8, rdi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x14000193e
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r12
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
mov rcx, rsi
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
mov r12, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test ebp, 0x1ff
mov dword [r14], ebp
setne r13b
mov rsi, rax
mov eax, ebp
shr eax, 9
add r13d, eax
shl r13d, 9
mov ecx, r13d
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov r8d, r13d
xor edx, edx
mov rcx, rax
mov rdi, rax
call sub.MSVCR90.dll_memset
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call sub.MSVCR90.dll_memcpy
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rax, rdi
jmp 0x140001941
mov rax, r13
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop rdi
ret
Function at 0x140001960
Capabilities:
Get disk information via ioctl

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x40
mov rbp, rcx
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov rdi, rbx
cmp rbp, 0xffffffffffffffff
je 0x140001a21
mov ecx, 0xc00
mov qword [rsp + 0x58], rsi
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov rsi, rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov edx, 0x70050
mov rcx, rbp
mov dword [rsp + 0x28], 0xc00
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140001a0f
lea rax, [rsi + 0x38]
lea edx, [rbx + 4]
nop dword [rax]
mov rcx, qword [rax]
cmp rcx, rbx
jle 0x1400019ef
mov rdi, qword [rax + 8]
mov rbx, rcx
add rax, 0x90
sub rdx, 1
jne 0x1400019e0
lea rax, [rdi + rbx]
cqo
and edx, 0x1ff
lea rbx, [rdx + rax]
sar rbx, 9
test rsi, rsi
je 0x140001a1c
mov rcx, rsi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void____ptr64_
mov rsi, qword [rsp + 0x58]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140001b00
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x140004038]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], 0
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
lea r8, [rsp + 0x20]
lea rdx, str.IDR_BINARY
repne scasb al, byte [rdi]
mov rax, qword [0x1400033a8]
mov ecx, 0x66
mov qword [rdi - 1], rax
mov eax, dword [0x1400033b0]
mov dword [rsp + 0x20], 0
mov dword [rdi + 7], eax
movzx eax, word [0x1400033b4]
mov word [rdi + 0xb], ax
movzx eax, byte [0x1400033b6]
mov byte [rdi + 0xd], al
call fcn.140001870
mov rdi, rax
test rax, rax
je 0x140001bdb
mov r8d, dword [rsp + 0x20]
test r8d, r8d
jle 0x140001bbc
mov rcx, rax
mov rdx, r8
nop
xor byte [rcx], 0x99
inc rcx
sub rdx, 1
jne 0x140001bb0
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.1400016d0
lea rcx, [rsp + 0x30]
call fcn.140001000
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140001f40
add rsp, 0x150
pop rdi
ret
Function at 0x140001d60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x140004038]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x31]
xor edi, edi
xor edx, edx
mov r8d, 0x103
mov qword [rsp + 0x160], rbx
mov byte [rsp + 0x30], dil
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x30]
mov edx, 0x104
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx ecx, byte [rsp + 0x30]
lea rdx, [rsp + 0x20]
sub ecx, 0x41
call fcn.1400015a0
mov ecx, dword [rsp + 0x20]
call fcn.140001c00
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140001e4f
test rax, rax
je 0x140001e4f
mov rcx, rax
call fcn.140001960
mov rcx, rsi
mov ebx, eax
call fcn.140001a40
mov r11d, eax
sub r11d, ebx
cmp r11d, 0x29a
jae 0x140001e15
mov ecx, 0x2aa
sub ecx, r11d
lea eax, [rcx + 0x32000]
cmp ebx, eax
jbe 0x140001e4f
sub ebx, ecx
add r11d, ecx
cmp r11d, 0xa00000
jbe 0x140001e2c
mov rcx, rsi
call fcn.140001a40
lea ebx, [rax - 0x2800]
lea edx, [rbx + 0x6a]
lea r8, [0x140004064]
mov rcx, rsi
mov dword [0x140004060], edx
call fcn.140001cd0
test eax, eax
je 0x140001e4f
mov edi, 1
jmp 0x140001e60
mov dword [0x140004060], edi
mov dword [0x140004064], edi
call fcn.140001b00
mov rbx, qword [rsp + 0x160]
cmp rsi, 0xffffffffffffffff
je 0x140001e77
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140001f40
mov rsi, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x140002393
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140004038]
jne 0x140001f5a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001f56
repz ret
ror rcx, 0x10
jmp 0x1400022ec
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140004130]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140004228]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140002371
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140004130]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140002393
mov rax, qword [rsp + 0x88]
mov qword [0x140004228], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400041c8], rax
mov rax, qword [0x140004228]
mov qword [0x1400040a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400041b0], rax
mov dword [0x140004090], 0xc0000409
mov dword [0x140004094], 1
mov rax, qword [0x140004038]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140004040]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140004128], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400033d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140004128], 0
jne 0x14000241a
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x18000e920
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180056460]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x1d], 0x33697061
mov dword [rbp - 0x19], 0x6c642e32
mov word [rbp - 0x1f], 0x7664
mov byte [rbp - 0x20], 0x41
mov word [rbp - 0x15], 0x6c
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180010f90
add rsp, 0x40
pop rbp
ret

Function at 0x18000e974
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180056460]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x6e72654b
mov dword [rbp - 0x1b], 0x2e32336c
mov dword [rbp - 0x17], 0x6c6c64
mov byte [rbp - 0x1c], 0x65
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180010f90
add rsp, 0x40
pop rbp
ret

Function at 0x18000eabc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180056460]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov dword [rbp - 0x1a], 0x7274736e
mov dword [rbp - 0x1f], 0x6873756c
mov byte [rbp - 0xb], bl
mov dword [rbp - 0x11], 0x6361436e
mov dword [rbp - 0x16], 0x69746375
mov byte [rbp - 0x20], 0x46
mov byte [rbp - 0x1b], 0x49
mov word [rbp - 0xd], 0x6568
mov byte [rbp - 0x12], 0x6f
call fcn.18000e974
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000eb38
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call rax
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180010f90
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x18000eb54
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180056460]
xor rax, rsp
mov qword [rbp - 8], rax
or rbx, 0xffffffffffffffff
mov word [rbp - 0x20], 0x6547
mov dword [rbp - 0x19], 0x54746e65
mov dword [rbp - 0x1d], 0x72727543
mov dword [rbp - 0x13], 0x646165
mov word [rbp - 0x15], 0x7268
mov byte [rbp - 0x1e], 0x74
call fcn.18000e974
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000ebb4
call rax
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180010f90
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret