joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002b970
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, edx
mov ebp, r9d
mov r14d, r8d
mov rsi, rcx
lea ebx, [rdi + 1]
imul ebx, r9d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r10, rax
test rax, rax
je 0x18002ba08
xor r8d, r8d
xor ecx, ecx
test edi, edi
je 0x18002ba08
mov r9d, edi
lea r11, [0x18008fd90]
nop
xor eax, eax
lea rsi, [rsi + 1]
cmp ecx, 0x40
cmovne eax, ecx
mov edx, eax
movzx ecx, byte [rax + r11]
lea eax, [r8 + 1]
xor cl, byte [rsi - 1]
xor cl, r14b
cmp ebp, 2
mov byte [r8 + r10], cl
lea ecx, [rdx + 1]
cmovne eax, r8d
lea r8d, [rax + 1]
sub r9, 1
jne 0x18002b9d0
mov rax, r10
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180070af0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, 1
imul rax, rax, 5
mov rcx, qword [str.Lh_p4VX_]
movsx eax, byte [rcx + rax]
cmp eax, 0x73
jne 0x180070b26
mov eax, 1
imul rax, rax, 7
mov rcx, qword [str.Lh_p4VX_]
mov byte [rcx + rax], 0x36
mov eax, 1
imul rax, rax, 8
mov rcx, qword [str.F_v__w_l_KOcCokaF]
movsx eax, byte [rcx + rax]
cmp eax, 0x69
jne 0x180070b53
mov eax, 1
imul rax, rax, 0xd
mov rcx, qword [str.F_v__w_l_KOcCokaF]
mov byte [rcx + rax], 0x3e
movzx eax, byte [0x1800a5d80]
imul eax, eax, 0x46
mov byte [0x1800a5d45], al
imul eax, dword [0x1800a5d84], 0xe50bbd0e
mov dword [0x1800a5d84], eax
movzx eax, byte [0x1800a5d45]
add eax, 0xa3632a76
mov dword [0x1800a5d84], eax
imul eax, dword [0x1800a5d84], 0x16251dda
mov dword [0x1800a5d84], eax
movzx eax, byte [0x1800a5d80]
and eax, 0xdc
mov byte [0x1800a5d45], al
movzx eax, byte [0x1800a5d45]
sub eax, 0xd1
mov byte [0x1800a5d45], al
mov byte [rsp], 0
cmp qword [rsp + 0x20], 0
je 0x180070cdb
mov eax, dword [0x1800a5d84]
and eax, 0x11a50748
mov dword [0x1800a5d84], eax
movzx eax, word [0x1800a5d80]
add eax, 0x8b06
mov word [0x1800a5d80], ax
movzx eax, byte [0x1800a5d45]
add eax, 0xeeb0
mov word [0x1800a5d80], ax
movzx eax, byte [0x1800a5d45]
add eax, 0xcd
mov byte [0x1800a5d45], al
movzx eax, byte [0x1800a5d45]
and eax, 0x2c
mov byte [0x1800a5d45], al
movzx eax, byte [0x1800a5d45]
xor eax, 0xd88
mov word [0x1800a5d80], ax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180070cdb
movzx eax, word [0x1800a5d80]
imul eax, eax, 0xa485f61d
mov dword [0x1800a5d84], eax
movzx eax, byte [0x1800a5d45]
and eax, 0x25efe510
mov dword [0x1800a5d84], eax
movzx eax, byte [0x1800a5d45]
add eax, 0x50bd5b33
mov dword [0x1800a5d84], eax
movzx eax, byte [0x1800a5d80]
sub eax, 0xf8
mov byte [0x1800a5d45], al
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
cmp dword [rcx + rax], 0x4550
jne 0x180070cb2
mov dword [rsp + 4], 1
jmp 0x180070cba
mov dword [rsp + 4], 0
cmp dword [rsp + 4], 0
jne 0x180070ccb
mov dword [rsp + 8], 0
jmp 0x180070cd3
mov dword [rsp + 8], 1
movzx eax, byte [rsp + 8]
mov byte [rsp], al
movzx eax, byte [rsp]
add rsp, 0x18
ret
Function at 0x1800771e0
Capabilities:
Encrypt data using aes via x86 extensions
Resolve function by parsing pe exports

Disassembly:
add edx, 0xfffffff0
cmp edx, 0xf0
ja case.0x180077209.17
movsxd rax, edx
lea r9, [0x180000000]
movzx eax, byte [r9 + rax + 0x7723c]
mov edx, dword [r9 + rax*4 + 0x7722c]
add rdx, r9
jmp rdx
mov rdx, r8
jmp fcn.180078580
mov rdx, r8
jmp fcn.180078850
mov rdx, r8
jmp fcn.180078ba0
mov eax, 1
ret
Function at 0x140005130
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 0x14000518d
lea rbx, [0x1400fdbe0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005174
cmp r10, 2
jb 0x140005174
cmp byte [r9], r8b
jne 0x140005174
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 0x140005150
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400051cf
lea rbx, [0x1400fdbe0]
cmp r8b, 0x23
jne 0x1400051b3
cmp byte [r9], r8b
jne 0x1400051b3
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 0x1400051a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140005390
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 0x1400053bf
mov r8d, 0x78f
lea rdx, str.D:FreeFireVisulStudioProjectsMakeOwnNameXitersVip_menu___Copy___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 0x1400053cb
mov qword [rdi], 0
lea rdx, [0x1400fd428]
mov rcx, rbx
call fcn.1400051e0
mov rbx, rax
test rax, rax
jne 0x1400053ed
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 0x1400054c6
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 0x1400054c6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400054c6
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 0x1400054c6
cmp rsi, 0xffffffffffffffff
je 0x1400054c6
mov rax, qword [0x1401b7010]
test rax, rax
je 0x140005463
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 0x1400054c6
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 0x1400054b3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401b7010]
test rax, rax
je 0x1400054a8
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400054cf
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400054c1
mov qword [rdi], rsi
mov rax, rbp
jmp 0x1400054d1
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 0x140008b50
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 0x140008b87
mov r8d, 0x70a
lea rdx, str.D:FreeFireVisulStudioProjectsMakeOwnNameXitersVip_menu___Copy___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, [0x1400fdbe0]
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 [0x1401b7010]
not ebx
cmp dword [rcx + 0x3f28], ebx
jne 0x140008c06
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001e7f0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140017780
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401b7010]
mov edi, ecx
cmp byte [rbx + 0x4a6d], 0
jne 0x1400177d2
cmp byte [rbx + 0x4a6e], 0
jne 0x1400177d2
movsx r9d, word [rbx + 0x5b6a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140004ff0
test dil, 1
je 0x1400178f8
jmp 0x14001785d
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140108d4c]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x140108d24]
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 [0x140108c6c]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
movsx r9d, word [rbx + 0x5b6a]
call fcn.140004ff0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400178b0
lea r11, [0x1400fdbe0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140017893
cmp byte [r8], r9b
jne 0x140017893
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 0x140017880
not ecx
call fcn.14000cf70
test rax, rax
je 0x1400178f8
cmp byte [rax + 0xae], 0
je 0x1400178f8
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.140004ff0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000fa20
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001cec0
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 0x14001cf67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001cf1a
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.14001f6e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140005920
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, [0x1401b7008]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001cf6f
mov rcx, rbx
call fcn.140005920
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d610
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 [0x1401b7010]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001d674
lea r10, [0x1400fdbe0]
cmp r8b, 0x23
jne 0x14001d657
cmp byte [rdx], r8b
jne 0x14001d657
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 0x14001d644
mov eax, dword [r14 + 0x5bc8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001d6d5
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001d69a
cmp edi, eax
jl 0x14001d6b4
mov r8d, 0x701
lea rdx, str.D:FreeFireVisulStudioProjectsMakeOwnNameXitersVip_menu___Copy___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 0x14001d6f2
mov eax, dword [r14 + 0x5bc8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001d691
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 0x14001d6ff
cmp edi, dword [r14 + 0x5bc8]
jl 0x14001d719
mov r8d, 0x701
lea rdx, str.D:FreeFireVisulStudioProjectsMakeOwnNameXitersVip_menu___Copy___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 0x14001d6d7
Function at 0x14004b970
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 0x14004bafb
cmp rdx, 8
jb 0x14004bae0
cmp dword [reloc.WS2_32.dll_accept], 5
jl 0x14004bae0
movdqa xmm3, xmmword [0x140108f10]
mov r11, rdx
movdqa xmm4, xmmword [reloc.WS2_32.dll_getsockopt]
lea rdx, [rcx + 4]
movdqa xmm5, xmmword [0x140108fd0]
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 0x14004b9e3
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp rax, r9
jae 0x14004bafb
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 0x14004bae0
add rsp, 8
ret
Function at 0x14004bbe0
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 [0x1401b7438]
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 0x14004bd3e
test esi, esi
jne 0x14004bcb1
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 0x14004bd1a
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 0x14004bd1a
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 0x14004bd1a
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 0x14004bd1a
jmp 0x14004bcee
cmp esi, 1
jne 0x14004bcbf
lea rdx, str.HD_Player.exe
jmp 0x14004bd0b
cmp esi, 2
jne 0x14004bccd
lea rdx, str.LdVBoxHeadless.exe
jmp 0x14004bd0b
cmp esi, 3
jne 0x14004bcdb
lea rdx, str.MEmuHeadless.exe
jmp 0x14004bd0b
cmp esi, 4
jne 0x14004bce9
lea rdx, str.AndroidProcess.exe
jmp 0x14004bd0b
cmp esi, 5
jne 0x14004bd28
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 0x14004bd1a
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 0x14004bd28
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x14004bd28
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 0x14004bc47
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 0x14004c0d0
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 [0x1401b7210]
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 0x14004c117
add rsi, qword [r14]
mov rbx, qword [r14]
jmp 0x14004c11d
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 0x14004c161
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14007d470
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 0x14004c16b
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov byte [rsp + 0x90], 0
cmp rsi, rdi
je 0x14004c180
mov byte [rsi], 0
inc rsi
jmp 0x14004c1a4
lea r8, [rsp + 0x90]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140081560
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 0x14004c200
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 0x14004c254
xor r8d, r8d
mov rcx, r15
mov rdx, rbp
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
test rbx, rbx
je 0x14004c239
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14004c22d
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c2e3
mov rdx, rdi
mov rcx, rbx
call fcn.1400db260
nop
mov rcx, r14
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp fcn.1400438d0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1401067e8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov rcx, r15
test rax, rax
je 0x14004c1f0
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 0x14004c1ea
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
test rbx, rbx
je 0x14004c239
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14004c22d
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c22d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14004d820
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 0x14004d955
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004d8a4
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.140044670
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 0x14004d92e
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.1400438d0
nop
mov rcx, rbx
call fcn.1400438d0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140037180
nop
int3
Function at 0x14004e790
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 0x14004e7c2
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 0x14004e836
mov edx, r14d
lea rcx, [rsp + 0x48]
call fcn.14007d470
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 0x14004e840
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp qword [r15 + 0x18], 0xf
jbe 0x14004e84a
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 0x14004e895
mov byte [rsi], 0
jmp 0x14004e94e
sub r14, rbx
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14004e9a5
cmp r14, rbp
jbe 0x14004e92b
mov rbp, r14
or rbp, 0xf
cmp rbp, rax
jbe 0x14004e8e8
mov rbp, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400daf0c
test rax, rax
je 0x14004e915
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14004e924
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbp, rax
cmovb rbp, rax
lea rcx, [rbp + 1]
test rcx, rcx
je 0x14004e924
cmp rcx, 0x1000
jb 0x14004e91c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004e9ab
jmp 0x14004e8cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400daf0c
mov rdi, rax
mov qword [rsi], rdi
mov qword [rsi + 0x18], rbp
mov rdi, rsi
cmp rbp, 0xf
jbe 0x14004e937
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 0x14004e989
sub r12, rbx
mov rax, rbx
cmp r12, 0x1000
jb 0x14004e97e
add r12, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e97e
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.1400db260
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.140037180
nop
call fcn.140004260
int3