joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140050150
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1400501b7
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140050172
mov ecx, dword [r10]
jmp 0x1400502d8
cmp ecx, 0x270
jb 0x1400502d8
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
mov r8, rbx
add rbx, 8
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub rdi, 1
jne 0x1400501f0
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x140050250
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x140050800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [0x14022e878]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x140050913
mov rax, qword [rdi]
test rax, rax
jne 0x14005086b
mov r8d, reloc.WLDAP32.dll_Ordinal_79
lea rdx, str.C:UsersedsonMusicNUEVO_BALCK_BULLexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFilesconnection_win.cpp
lea rcx, str.self
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jmp 0x1400508c3
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400508c3
test rsi, rsi
jne 0x140050896
mov r8d, 0x56
lea rdx, str.C:UsersedsonMusicNUEVO_BALCK_BULLexamplesexample_win32_directx11Discord_RPCDiscord_SDKSourceFilesconnection_win.cpp
lea rcx, [0x1400ee550]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jmp 0x1400508c3
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1400508c3
cmp dword [rsp + 0x40], ebx
je 0x140050913
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x1400508e2
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x1400508e2
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140056560
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x28
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov eax, dword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x1400595f0
Capabilities:
Enumerate processes

Disassembly:
push rsi
sub rsp, 0x150
mov rsi, rdx
test rdx, rdx
jne 0x14005960c
xor eax, eax
add rsp, 0x150
pop rsi
ret
mov qword [rsp + 0x160], rbx
xor edx, edx
mov qword [rsp + 0x168], rbp
mov ecx, 2
mov qword [rsp + 0x170], rdi
xor edi, edi
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140059692
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x140059680
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x140059680
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140059660
mov rbp, qword [rsp + 0x168]
mov eax, edi
mov rdi, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rsi
ret
Function at 0x14005d060
Capabilities:
Allocate or change rwx memory
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rbx, r9
xor r12d, r12d
mov r15, qword [rsp + 0xd0]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov rsi, rax
test eax, eax
jg 0x14005d0a3
xor al, al
jmp 0x14005d246
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, rbx
call fcn.14005d270
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
cmp rbx, rdi
jne 0x14005d0da
xor dil, dil
jmp 0x14005d201
lea r10, [rsp + 0x45]
sub rdi, rbx
sar rdi, 3
mov r8, rdi
movabs r9, 0xcccccccccccccccd
nop dword [rax]
nop word [rax + rax]
dec r10
mov rax, r9
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8, rdx
test rdx, rdx
jne 0x14005d100
lea r9, [rsp + 0xd8]
lea r8, [rsp + 0x45]
mov rdx, r10
lea rcx, [rsp + 0x60]
call fcn.140049ac0
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14005d19b
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d196
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d196
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cdf84
mov ebp, r12d
test rdi, rdi
je 0x14005d1fe
movsxd r14, esi
mov rsi, rbx
nop dword [rax]
mov edx, dword [rsi]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, r14
mov rcx, qword [0x140229fd0]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9, r14
mov r8, r15
mov rdx, qword [rsi]
mov rcx, qword [0x140229fd0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
inc ebp
lea rsi, [rsi + 8]
movsxd rax, ebp
cmp rax, rdi
jb 0x14005d1b0
mov dil, 1
test rbx, rbx
je 0x14005d242
mov rdx, qword [rsp + 0x58]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x14005d23a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d23a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400cdf84
movzx eax, dil
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14005dd20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rbx, r9
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
test eax, eax
jg 0x14005dd5d
xor al, al
jmp 0x14005df4e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor r13d, r13d
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, rbx
call fcn.14005df70
mov r14, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
cmp r14, rbp
jne 0x14005dd96
xor bl, bl
jmp 0x14005df0a
mov rbx, r14
nop dword [rax]
mov r8, qword [rbx]
mov rdx, qword [0x140207a10]
mov rcx, qword [0x140207a08]
call fcn.1400cda90
lea rcx, [rbx + 8]
cmp rax, qword [0x140207a10]
je 0x14005ddda
mov r8, rbp
sub r8, rcx
mov rdx, rcx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
sub rbp, 8
jmp 0x14005dddd
mov rbx, rcx
cmp rbx, rbp
jne 0x14005dda0
mov r12d, r13d
sub rbp, r14
sar rbp, 3
test rbp, rbp
je 0x14005df08
mov r15, r14
nop dword [rax + rax]
mov rax, qword [r15]
lea rbx, [rax + 0x60]
lea rdi, [rax + 0x2c]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8d, 8
mov edx, ebx
mov rcx, qword [0x140207a00]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rsp + 0x90]
mov rdx, rbx
mov rcx, qword [0x140207a00]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8d, 8
mov edx, edi
mov rcx, qword [0x140207a00]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rsp + 0x90]
mov rdx, rdi
mov rcx, qword [0x140207a00]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
mov r8d, 8
mov edx, ebx
mov rcx, qword [0x140207a00]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
mov r8d, 8
mov edx, edi
mov rcx, qword [0x140207a00]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc r12d
lea r15, [r15 + 8]
movsxd rax, r12d
cmp rax, rbp
jb 0x14005de00
mov bl, 1
test r14, r14
je 0x14005df4b
mov rdx, qword [rsp + 0x40]
sub rdx, r14
and rdx, 0xfffffffffffffff8
mov rax, r14
cmp rdx, 0x1000
jb 0x14005df43
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005df43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400cdf84
movzx eax, bl
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14005e300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
lea rsi, [0x140229fe0]
mov qword [rbp + 0x40], rsi
xor eax, eax
mov dword [0x140229fe0], eax
xorps xmm0, xmm0
movdqa xmmword [0x140229ff0], xmm0
mov qword [0x14022a000], rax
mov dword [rsp + 0x20], 0xffffffff
mov qword [rsp + 0x24], rax
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x30], 0x3f3f3f3f
mov dword [rsp + 0x34], 0x3f3f3f3f
mov dword [rsp + 0x38], 0x3f3f3f3f
mov qword [rsp + 0x3c], 0x3f3f3f3f
mov qword [rsp + 0x44], rax
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x58], 0x43a50000
mov qword [rsp + 0x60], 0x3f3f3f3f
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], 0x3f3f3f3f
mov dword [rsp + 0x70], 0x3f3f3f3f
mov dword [rsp + 0x74], 0x3f3f3f3f
mov dword [rsp + 0x78], 0x3f3f3f3f
mov dword [rsp + 0x7c], 0x3f3f3f3f
mov dword [rbp - 0x80], 0x3f3f3f3f
mov dword [rbp - 0x7c], 0x3f3f3f3f
mov dword [rbp - 0x78], 0x3f3f3f3f
mov dword [rbp - 0x74], 0x3f3f3f3f
mov dword [rbp - 0x70], 0x3f3f3f3f
mov dword [rbp - 0x6c], 0x3f3f3f3f
mov dword [rbp - 0x68], 0x3f3f3f3f
mov dword [rbp - 0x64], 0x3f3f3f3f
mov dword [rbp - 0x60], 0x3f3f3f3f
mov dword [rbp - 0x5c], 0x3f3f3f3f
mov dword [rbp - 0x58], 0x3f3f3f3f
mov dword [rbp - 0x54], 0x3f3f3f3f
mov dword [rbp - 0x50], 0x3f3f3f3f
mov dword [rbp - 0x4c], 0x3f3f3f3f
mov dword [rbp - 0x48], 0x3f3f3f3f
mov dword [rbp - 0x44], 0x3f3f3f3f
mov dword [rbp - 0x40], 0x3f3f3f3f
mov dword [rbp - 0x3c], 0x3f3f3f3f
mov dword [rbp - 0x38], 0x3f3f3f3f
mov dword [rbp - 0x34], 0x3f3f3f3f
mov dword [rbp - 0x30], 0x3f3f3f3f
mov dword [rbp - 0x2c], 0x3f3f3f3f
mov dword [rbp - 0x28], 0x3f3f3f3f
mov qword [rbp - 0x24], 0x3f3f3f3f
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov qword [rbp + 0xc], rax
mov dword [rbp + 0x14], 0x3f3f0000
mov qword [rbp + 0x18], 0x3f3f
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x2c], 0xbf800000
lea rdi, [rsp + 0x20]
mov qword [0x14022a008], rax
movdqa xmmword [0x14022a010], xmm0
mov ecx, 0x110
call fcn.1400cdc38
mov qword [0x14022a008], rax
mov qword [0x14022a010], rax
lea rbx, [rax + 0x110]
mov qword [0x14022a018], rbx
mov r8d, 0x110
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [0x14022a010], rbx
mov rax, rsi
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140060ec0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
xor edi, edi
xor edx, edx
mov ecx, 2
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140060f46
nop
lea rdx, str.HD_Player.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x140060f34
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x140060f34
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140060f10
lea r11, [rsp + 0x150]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140060f80
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
xor esi, esi
call fcn.140060ec0
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov r8d, Ordinal_32
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
mov qword [rsp + 0x20], rsi
mov r9d, Ordinal_32
lea r8, str.C:_Windows_System32_glew32.dll
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400f22a8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
mov r8d, Ordinal_32
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, 8
call fcn.1400cdc38
lea rcx, [0x140060f60]
mov qword [rax], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14006ce60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400610cf
cmp dword [rsp + 0x48], esi
je 0x1400610c3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400610c3
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400610e0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
xor esi, esi
call fcn.140060ec0
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov r8d, Ordinal_32
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
mov qword [rsp + 0x20], rsi
mov r9d, Ordinal_32
lea r8, str.C:_Windows_System32_glew64.dll
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400f22a8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
mov r8d, Ordinal_32
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, 8
call fcn.1400cdc38
lea rcx, [0x140060f60]
mov qword [rax], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14006ce60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14006122f
cmp dword [rsp + 0x48], esi
je 0x140061223
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140061223
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140061560
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
sub rsp, 0x38
lea rcx, str.C:WindowsSystem32_tdis.exe
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400615a0
mov dword [rsp + 0x28], 1
lea r8, str.C:WindowsSystem32_tdis.exe
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret
Function at 0x140061650
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
cmp qword [0x14022a3b0], 0xf
lea rcx, [0x14022a398]
mov r8, qword [0x14022a3a8]
cmova rcx, qword [0x14022a398]
cmp r8, 0xd
jne 0x140061893
lea rdx, str.BLACK_FULL_V2
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140061893
cmp qword [0x14022a098], 0xf
lea rcx, [0x14022a080]
mov r8, qword [0x14022a090]
cmova rcx, qword [0x14022a080]
cmp r8, 0xa
jne 0x140061893
lea rdx, str.PUu07r9YRR
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140061893
cmp qword [0x14022a3d0], 0xf
lea rcx, [0x14022a3b8]
mov r8, qword [0x14022a3c8]
cmova rcx, qword [0x14022a3b8]
cmp r8, 0x40
jne 0x140061893
lea rdx, str.10c7bdaca0af437b6627a0054a849ef681109fd862d4feac7dcff52fd9e91d8f
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140061893
cmp qword [0x14022a058], 0xf
lea rcx, [0x14022a040]
mov r8, qword [0x14022a050]
cmova rcx, qword [0x14022a040]
cmp r8, 5
jne 0x140061893
lea rdx, str.10.0T
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140061893
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x14022a2e0]
mov qword [rsp + 0x40], rdi
mov rdi, qword [0x14022a2e8]
cmp rbx, rdi
je 0x14006187d
nop word [rax + rax]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140069fd0
mov rdx, qword [rsp + 0x38]
lea rax, [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
cmp rdx, 0xf
mov r8, qword [rsp + 0x30]
cmova rax, rcx
cmp r8, 7
jne 0x1400617bf
cmp dword [rax], 0x52505553
jne 0x1400617bf
cmp word [rax + 4], 0x4d45
jne 0x1400617bf
cmp byte [rax + 6], 0x4f
jne 0x1400617bf
mov dword [0x14022a738], 1
cmp rdx, 0xf
lea rax, [rsp + 0x20]
cmova rax, rcx
cmp r8, 3
jne 0x1400617e9
cmp word [rax], 0x4956
jne 0x1400617e9
cmp byte [rax + 2], 0x50
jne 0x1400617e9
mov dword [0x14022a738], 2
cmp rdx, 0xf
lea rax, [rsp + 0x20]
cmova rax, rcx
cmp r8, 5
jne 0x140061814
cmp dword [rax], 0x49534142
jne 0x140061814
cmp byte [rax + 4], 0x43
jne 0x140061814
mov dword [0x14022a738], 3
cmp rdx, 0xf
lea rax, [rsp + 0x20]
cmova rax, rcx
cmp r8, 6
jne 0x140061841
cmp dword [rax], 0x41505942
jne 0x140061841
cmp word [rax + 4], 0x5353
jne 0x140061841
mov dword [0x14022a738], 4
cmp rdx, 0xf
jbe 0x140061870
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006186b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006188c
call fcn.1400cdf84
add rbx, 0x20
cmp rbx, rdi
jne 0x140061770
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, [0x14022a0d8]
call fcn.1400615b0
test al, al
jne 0x1400618a8
call fcn.140061560
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400618c0
Capabilities:
Create process on windows
Execute command
Reference absolute stream path on windows
Schedule task via at
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
lea rcx, str.C:_adb_adb.exe__s_127.0.0.1:5555_shell_am_start__n_com.dts.freefireth_com.dts.freefireth.FFMainActivity
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor r9d, r9d
mov byte [0x140208d60], 1
mov ebx, eax
lea r8, str.C:WindowsTempdesconectar_adb.bat
xor eax, eax
lea rdx, str.open
mov dword [rsp + 0x28], eax
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
test ebx, ebx
je 0x140061926
xor r9d, r9d
lea r8, str.BLACK_BULL_PANEL
lea rdx, str.Error_al_intentar_abrir_Free_Fire._Verifique_la_conexin_ADB.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x30
pop rbx
ret
Function at 0x140068e10
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140068e31
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140068e5e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140068e60
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140068eb9
test ecx, ecx
jle 0x140068e99
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140068eb9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140068eb9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
mov ebp, 0x1a65bf83
sti
mov ebp, 0xff7d0a71
mov edi, 0xa010811f
invalid