joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003d7d
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rax, [0x180003b9a]
mov edx, 0x1165
mov r8d, dword [0x180076f00]
add r8d, 0x540
mov dword [0x180076f04], r8d
cmp rcx, 0
mov qword [rbp - 8], rcx
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x14], edx
je 0x180003e13
jmp 0x180003e2a
mov rax, qword [rbp - 0x20]
add rsp, 0x60
pop rbp
ret
mov rax, qword [rbp - 0x28]
add rax, 0x3c
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax]
mov rdx, qword [rbp - 0x28]
cmp dword [rdx + rcx], 0x4550
je 0x180003e4a
mov dword [0x180076f04], 0xa
mov eax, dword [rbp - 0x34]
add eax, 0x85b
mov rcx, qword [rbp - 0x28]
add rcx, 0xfffffffffffff000
and rcx, 0xfffffffffffff000
mov qword [rbp - 0x10], rcx
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 0x14]
mov rcx, qword [rbp - 0x10]
cmp word [rcx], 0x5a4d
mov dword [rbp - 0x34], eax
mov qword [rbp - 0x28], rcx
je 0x180003dc6
jmp 0x180003de8
mov dword [0x180076f04], 0x10eb
xor eax, eax
mov edx, eax
mov rcx, qword [rbp - 8]
call fcn.180003eae
mov qword [rbp - 0x20], rax
jmp 0x180003dbc
mov eax, dword [rbp - 0x34]
mov dword [0x180076f00], eax
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rcx
jmp 0x180003dbc
Function at 0x1400050f0
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 0x14000514d
lea rbx, [0x1400fab90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005134
cmp r10, 2
jb 0x140005134
cmp byte [r9], r8b
jne 0x140005134
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 0x140005110
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000518f
lea rbx, [0x1400fab90]
cmp r8b, 0x23
jne 0x140005173
cmp byte [r9], r8b
jne 0x140005173
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 0x140005160
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140005350
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000537f
mov r8d, 0x78f
lea rdx, str.E:FreeFireVisulStudioProjectsMakeOwnNameXitersVip_menu___Copyimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000538b
mov qword [rdi], 0
lea rdx, [0x1400fa3d8]
mov rcx, rbx
call fcn.1400051a0
mov rbx, rax
test rax, rax
jne 0x1400053ad
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140005486
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140005486
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140005486
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140005486
cmp rsi, 0xffffffffffffffff
je 0x140005486
mov rax, qword [0x1401b3f70]
test rax, rax
je 0x140005423
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140005486
mov r9, rbx
mov r8, rsi
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, rsi
je 0x140005473
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401b3f70]
test rax, rax
je 0x140005468
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000548f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140005481
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140005491
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140008b10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x140008b47
mov r8d, 0x70a
lea rdx, str.E:FreeFireVisulStudioProjectsMakeOwnNameXitersVip_menu___Copyimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xf0]
lea rdx, [0x1400fab90]
movsxd r8, dword [rbx + 0xe8]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x1401b3f70]
not ebx
cmp dword [rcx + 0x3f28], ebx
jne 0x140008bc6
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001e7b0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140017740
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401b3f70]
mov edi, ecx
cmp byte [rbx + 0x4a6d], 0
jne 0x140017792
cmp byte [rbx + 0x4a6e], 0
jne 0x140017792
movsx r9d, word [rbx + 0x5b6a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140004fb0
test dil, 1
je 0x1400178b8
jmp 0x14001781d
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140105c6c]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x140105c44]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x3910]
mulss xmm0, dword [0x140105b8c]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
movsx r9d, word [rbx + 0x5b6a]
call fcn.140004fb0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140017870
lea r11, [0x1400fab90]
nop dword [rax]
cmp r9b, 0x23
jne 0x140017853
cmp byte [r8], r9b
jne 0x140017853
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140017840
not ecx
call fcn.14000cf30
test rax, rax
je 0x1400178b8
cmp byte [rax + 0xae], 0
je 0x1400178b8
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b6a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b6a]
call fcn.140004fb0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000f9e0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001ce80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c50], 0
lea rbx, [rcx + 0x5c58]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001cf27
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001ceda
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001f6a0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400058e0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c50]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c60]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401b3f68]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001cf2f
mov rcx, rbx
call fcn.1400058e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d5d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x1401b3f70]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001d634
lea r10, [0x1400fab90]
cmp r8b, 0x23
jne 0x14001d617
cmp byte [rdx], r8b
jne 0x14001d617
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001d604
mov eax, dword [r14 + 0x5bc8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001d695
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001d65a
cmp edi, eax
jl 0x14001d674
mov r8d, 0x701
lea rdx, str.E:FreeFireVisulStudioProjectsMakeOwnNameXitersVip_menu___Copyimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5bd0]
cmp dword [rax + rbp + 8], ebx
je 0x14001d6b2
mov eax, dword [r14 + 0x5bc8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001d651
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001d6bf
cmp edi, dword [r14 + 0x5bc8]
jl 0x14001d6d9
mov r8d, 0x701
lea rdx, str.E:FreeFireVisulStudioProjectsMakeOwnNameXitersVip_menu___Copyimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5bd0]
lea rax, [rax + rcx*8]
jmp 0x14001d697
Function at 0x14004b8d0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor eax, eax
movq xmm2, r8
punpcklqdq xmm2, xmm2
mov r9, rdx
mov r10, rcx
test rdx, rdx
je 0x14004ba5b
cmp rdx, 8
jb 0x14004ba40
cmp dword [reloc.WS2_32.dll_accept], 5
jl 0x14004ba40
movdqa xmm3, xmmword [0x140105e30]
mov r11, rdx
movdqa xmm4, xmmword [reloc.WS2_32.dll_getsockopt]
lea rdx, [rcx + 4]
movdqa xmm5, xmmword [0x140105ef0]
and r11, 0xfffffffffffffff8
mov qword [rsp + 0x10], rbx
mov rbx, 0xfffffffffffffffe
mov qword [rsp], rdi
sub rbx, rcx
mov edi, 2
sub rdi, rcx
movzx ecx, word [rdx - 4]
movq xmm0, rax
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, r10
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp rax, r11
jb 0x14004b943
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp rax, r9
jae 0x14004ba5b
nop word [rax + rax]
movzx ecx, al
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r10 + rax], dl
inc rax
cmp rax, r9
jb 0x14004ba40
add rsp, 8
ret
Function at 0x14004bb40
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov esi, dword [0x1401b4390]
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 r14, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14004bc9e
test esi, esi
jne 0x14004bc11
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
je 0x14004bc7a
lea rdx, str.LdVBoxHeadless.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x14004bc7a
lea rdx, str.MEmuHeadless.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x14004bc7a
lea rdx, str.AndroidProcess.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x14004bc7a
jmp 0x14004bc4e
cmp esi, 1
jne 0x14004bc1f
lea rdx, str.HD_Player.exe
jmp 0x14004bc6b
cmp esi, 2
jne 0x14004bc2d
lea rdx, str.LdVBoxHeadless.exe
jmp 0x14004bc6b
cmp esi, 3
jne 0x14004bc3b
lea rdx, str.MEmuHeadless.exe
jmp 0x14004bc6b
cmp esi, 4
jne 0x14004bc49
lea rdx, str.AndroidProcess.exe
jmp 0x14004bc6b
cmp esi, 5
jne 0x14004bc88
lea rdx, str.AndroidEmulatorEx
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x14004bc7a
lea rdx, str.aow_exe.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x14004bc88
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x14004bc88
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14004bba7
lea r11, [rsp + 0x150]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14004c030
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov r14, rdx
mov r8d, dword [0x1401b4168]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov rsi, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x14004c077
add rsi, qword [r14]
mov rbx, qword [r14]
jmp 0x14004c07d
add rsi, r14
mov rbx, r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor edi, edi
mov qword [rsp + 0x50], rdi
sub rsi, rbx
je 0x14004c0c1
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14007b860
mov r8, rsi
mov rdx, rbx
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
add rsi, rbx
mov qword [rsp + 0x48], rsi
mov rdi, qword [rsp + 0x50]
jmp 0x14004c0cb
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov byte [rsp + 0x90], 0
cmp rsi, rdi
je 0x14004c0e0
mov byte [rsi], 0
inc rsi
jmp 0x14004c104
lea r8, [rsp + 0x90]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14007f950
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
sub rsi, rbx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rsi
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
je 0x14004c160
mov qword [rsp + 0x20], 0
mov r9, rsi
mov r8, rbx
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14004c1b4
xor r8d, r8d
mov rcx, r15
mov rdx, rbp
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
test rbx, rbx
je 0x14004c199
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14004c18d
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c243
mov rdx, rdi
mov rcx, rbx
call fcn.1400d9650
nop
mov rcx, r14
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp fcn.140043840
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1401036f8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov rcx, r15
test rax, rax
je 0x14004c150
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rbp
mov r9, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x14004c14a
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
test rbx, rbx
je 0x14004c199
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14004c18d
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c18d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14004d780
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rbx, rcx
xor edi, edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x47], rax
mov dword [rbp - 0x19], 0x68
mov dword [rbp + 0x23], 1
mov word [rbp + 0x27], di
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rax
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 7
jb 0x14004d8b5
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004d804
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 7
lea r9, str.cmd__c
lea rcx, [rbp - 0x41]
call fcn.1400445d0
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0xf
cmova rdx, qword [rbp - 0x41]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14004d88e
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x41]
call fcn.140043840
nop
mov rcx, rbx
call fcn.140043840
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400370f0
nop
int3
Function at 0x14004e6a0
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov r15, rdx
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x98], edi
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14004e6d2
mov rcx, qword [rdx]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov r8d, 1
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov r14d, dword [rsp + 0x98]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov r12, rdi
mov qword [rsp + 0x58], rdi
test r14, r14
je 0x14004e746
mov edx, r14d
lea rcx, [rsp + 0x48]
call fcn.14007b860
mov r8d, r14d
xor edx, edx
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
add r14, rbx
mov qword [rsp + 0x50], r14
mov r12, qword [rsp + 0x58]
jmp 0x14004e750
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp qword [r15 + 0x18], 0xf
jbe 0x14004e75a
mov r15, qword [r15]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9, rbx
xor edx, edx
mov r8d, 1
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov ebp, reloc.WS2_32.dll_ntohs
mov qword [rsi + 0x18], rbp
cmp rbx, r14
jne 0x14004e7a5
mov byte [rsi], 0
jmp 0x14004e85e
sub r14, rbx
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14004e8b5
cmp r14, rbp
jbe 0x14004e83b
mov rbp, r14
or rbp, 0xf
cmp rbp, rax
jbe 0x14004e7f8
mov rbp, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400d92fc
test rax, rax
je 0x14004e825
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14004e834
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbp, rax
cmovb rbp, rax
lea rcx, [rbp + 1]
test rcx, rcx
je 0x14004e834
cmp rcx, 0x1000
jb 0x14004e82c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004e8bb
jmp 0x14004e7dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d92fc
mov rdi, rax
mov qword [rsi], rdi
mov qword [rsi + 0x18], rbp
mov rdi, rsi
cmp rbp, 0xf
jbe 0x14004e847
mov rdi, qword [rsi]
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov qword [rsi + 0x10], r14
mov byte [rdi + r14], 0
test rbx, rbx
je 0x14004e899
sub r12, rbx
mov rax, rbx
cmp r12, 0x1000
jb 0x14004e88e
add r12, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e88e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r12
mov rcx, rbx
call fcn.1400d9650
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.1400370f0
nop
call fcn.140004220
int3
Function at 0x140057100
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x140054a40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret

Function at 0x140058ee0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rdi, rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], r14b
mov dword [rbp + 0x28], 0x101
mov byte [rsp + 0x20], r14b
mov edx, 0x101
mov r9d, edx
lea rcx, [rbp - 0x28]
call fcn.14007a850
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140058fd6
mov ecx, dword [rbp + 0x28]
dec ecx
mov rdx, qword [rbp - 0x18]
cmp rcx, rdx
ja 0x140058f75
mov qword [rbp - 0x18], rcx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rax, qword [rbp - 0x28]
mov byte [rax + rcx], r14b
jmp 0x140058fc5
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp - 0x10]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x140058fb1
mov qword [rbp - 0x18], rcx
lea rbx, [rbp - 0x28]
cmp r8, 0xf
cmova rbx, qword [rbp - 0x28]
add rbx, rdx
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], 0
jmp 0x140058fc5
mov byte [rsp + 0x20], 0
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.14007a850
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rdi + 0x10], xmm1
jmp 0x140059029
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140059029
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059024
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059024
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d9650
mov rax, rdi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14005d830
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp byte [0x1401b4014], 0
je 0x14005d84f
movzx eax, byte [0x1401b3f6c]
mov byte [0x1401b3f9a], al
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x14005c800]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret

Function at 0x14005e830
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x14005d880]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret