joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006bc0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x1400d6e90]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f50], ebx
jne 0x140006c4b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140019a20
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140006c60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x1400d6e90]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14000a550
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x14000a5a0
lea r11, [0x1400d6e90]
cmp r9b, 0x23
jne 0x14000a583
cmp byte [r8], r9b
jne 0x14000a583
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 0x14000a570
not ecx
jmp fcn.14000a4d0
Function at 0x140012dc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140126fa0]
mov edi, ecx
cmp byte [rbx + 0x4ac1], 0
jne 0x140012e12
cmp byte [rbx + 0x4ac2], 0
jne 0x140012e12
movsx r9d, word [rbx + 0x5bf4]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400032b0
test dil, 2
je 0x140012f3f
jmp 0x140012e9b
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bf4]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400dfc00]
mulss xmm1, dword [0x1400dfbf4]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x4800], rax
mov dword [rbx + 0x47ec], 1
movss dword [rbx + 0x47f8], xmm0
movss dword [rbx + 0x47fc], xmm1
movss xmm0, dword [rbx + 0x38fc]
mulss xmm0, dword [0x1400dfb38]
or dword [rbx + 0x47e8], 0x41
movss dword [rbx + 0x4848], xmm0
call fcn.1400032b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012ef0
lea r11, [0x1400d6e90]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140012ed3
cmp byte [r8], r9b
jne 0x140012ed3
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 0x140012ec0
not ecx
call fcn.14000a4d0
test rax, rax
je 0x140012f3f
cmp byte [rax + 0xb6], 0
je 0x140012f3f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5bf4]
movsx r9d, word [rbx + 0x5bf4]
call fcn.1400032b0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000cd10
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1400182b0
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 + 0x5ce0], 0
lea rbx, [rcx + 0x5ce8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018357
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001830a
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.14001a680
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003a30
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ce0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cf0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140126f98]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001835f
mov rcx, rbx
call fcn.140003a30
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400187e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140126fa0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018843
mov qword [rsp], rbx
lea rbx, [0x1400d6e90]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018823
cmp byte [r8], r9b
jne 0x140018823
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140018810
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c50]
not eax
mov r8, qword [r10 + 0x5c58]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001886f
cmp dword [r8 + 8], eax
je 0x140018876
add r8, 0x48
cmp r8, rcx
jne 0x140018860
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003c250
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, pe_nt_image_headers64
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x14003c2b7
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 0x14003c272
mov ecx, dword [r10]
jmp 0x14003c3d8
cmp ecx, 0x270
jb 0x14003c3d8
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 0x14003c2f0
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 0x14003c350
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 0x14003c800
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 [0x14015c9b8]
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 0x14003c8db
mov rax, qword [rdi]
test rax, rax
je 0x14003c88b
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x14003c88b
test rsi, rsi
je 0x14003c88b
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 0x14003c88b
cmp dword [rsp + 0x40], ebx
je 0x14003c8db
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x14003c8aa
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x14003c8aa
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 0x140041000
Capabilities:
Allocate or change rwx memory

Disassembly:
mov byte [rsp + 0x20], r9b
push rbx
push rbp
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ebp, edx
mov rcx, r8
mov rbx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
test eax, eax
jg 0x14004102b
xor al, al
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
mov rcx, qword [rdi + 8]
mov r9d, 0x40
mov qword [rsp + 0x50], rsi
mov rdx, rbp
movsxd rsi, eax
lea rax, [rsp + 0x68]
mov r8, rsi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], r14
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rdi + 8]
mov r9, rsi
mov r8, rbx
mov qword [rsp + 0x20], 0
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rsp + 0x68]
test eax, eax
setne r14b
test r9d, r9d
je 0x14004109e
mov rcx, qword [rdi + 8]
lea rax, [rsp + 0x68]
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, rbx
call fcn.14008b0bc
mov rsi, qword [rsp + 0x50]
movzx eax, r14b
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
Function at 0x140046f40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x46], 0
je 0x140046f63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 6]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x45
jb 0x140046f50
mov byte [rcx + 0x46], 0
mov rax, rcx
ret
Function at 0x1400484d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x31], 0
je 0x1400484f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 6]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x30
jb 0x1400484e0
mov byte [rcx + 0x31], 0
mov rax, rcx
ret

Function at 0x14004a6d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x140
mov rdi, rcx
mov edx, 0x3e7
xor ecx, ecx
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
mov rdx, rdi
lea rbx, [rdi + 0x18]
cmp qword [rbx], 0xf
jbe 0x14004a73b
mov rdx, qword [rdi]
lea rsi, [rdi + 0x18]
jmp 0x14004a73e
mov rsi, rbx
mov r8d, Ordinal_35
lea rcx, [rsp + 0x30]
call fcn.1400778b0
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], edx
mov r8, rbp
mov rdx, r14
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x38]
call fcn.14007b320
test rax, rax
jne 0x14004a7b5
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rsp + 0x30]
call fcn.14004a830
nop
mov rdx, qword [rbx]
cmp rdx, 0xf
jbe 0x14004a7fc
inc rdx
mov rcx, qword [rdi]
mov rbx, rsi
cmp rdx, 0x1000
jb 0x14004a7f7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004a826
mov rcx, r8
lea rbx, [rdi + 0x18]
call fcn.14008b0bc
mov qword [rdi + 0x10], 0
mov qword [rbx], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14004a8f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14004aa36
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rax, [rsp + 0x4c]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14004a940
cmp qword [rbx + 0x18], 7
mov r9, rbx
mov r10, qword [rbx + 0x10]
jbe 0x14004a95b
mov r9, qword [rbx]
cmp rcx, r10
lea rdx, [rsp + 0x4c]
mov r8, r10
cmovb r8, rcx
test r8, r8
je 0x14004a994
lea rax, [rsp + 0x4c]
sub r9, rax
nop word [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x14004a99f
add rdx, 2
sub r8, 1
jne 0x14004a980
cmp r10, rcx
jb 0x14004a99f
jbe 0x14004aa49
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14004aa2d
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14004a9c0
cmp qword [rbx + 0x18], 7
mov r9, rbx
mov r10, qword [rbx + 0x10]
jbe 0x14004a9db
mov r9, qword [rbx]
cmp rax, r10
lea rdx, [rsp + 0x4c]
mov r8, r10
cmovb r8, rax
test r8, r8
je 0x14004aa14
lea rcx, [rsp + 0x4c]
sub r9, rcx
nop word [rax + rax]
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x14004aa1b
add rdx, 2
sub r8, 1
jne 0x14004aa00
cmp r10, rax
jb 0x14004aa1b
jbe 0x14004aa49
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004a9b1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x14004aa70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r15
sub rsp, 0x430
xor r15d, r15d
mov qword [rsp + 0x450], r14
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp r8, r9
je 0x14004aae6
cmp qword [r9 + 0x18], 7
mov rdx, qword [r9 + 0x10]
jbe 0x14004aaac
mov r9, qword [r9]
mov rax, qword [r8 + 0x18]
cmp rdx, rax
ja 0x14004aade
mov rbp, rdi
cmp rax, 7
jbe 0x14004aac1
mov rbp, qword [r8]
lea rbx, [rdx + rdx]
mov qword [r8 + 0x10], rdx
mov r8, rbx
mov rdx, r9
mov rcx, rbp
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rbp], r15w
jmp 0x14004aae6
mov rcx, rdi
call fcn.14007d730
cmp qword [rsi + 0x18], 7
mov dword [rsp + 0x458], 0x400
jbe 0x14004aafb
mov rsi, qword [rsi]
lea rax, [rsp + 0x458]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov rdx, rsi
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r14, qword [rsp + 0x450]
mov ebp, eax
test eax, eax
jne 0x14004ab8d
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x14004ab40
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x14004ab7e
mov rsi, rdi
cmp rax, 7
jbe 0x14004ab5f
mov rsi, qword [rdi]
lea rbx, [rdx + rdx]
mov qword [rdi + 0x10], rdx
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi], r15w
jmp 0x14004ab8b
lea r9, [rsp + 0x30]
mov rcx, rdi
call fcn.14007d730
mov eax, ebp
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret
Function at 0x14004abb0
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
xor ebx, ebx
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWOW6432NodeTencentMobileGamePCUI
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], bx
lea rdx, [0x1400de8d0]
lea rcx, [rbp + 0x37]
call fcn.140079b50
nop
lea rdx, str.InstallPath
lea rcx, [rbp + 0x17]
call fcn.140079b50
nop
lea r9, [rbp + 0x37]
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x17]
mov rcx, qword [rbp + 0x67]
call fcn.14004aa70
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x14004ac7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ac77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ac77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b0bc
movdqa xmm0, xmmword [0x1400dfd10]
movdqu xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x17], bx
mov rdx, qword [rbp + 0x4f]
cmp rdx, 7
jbe 0x14004acd0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x37]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004accb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004accb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b0bc
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x19]
sub rax, rcx
cmp rax, 0x16
jb 0x14004addd
lea r9, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova r9, qword [rbp - 0x29]
mov qword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_22
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 9]
call fcn.14007f050
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova r8, qword [rbp - 9]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, str.https:__github.com_ma9ngon_Hanbot_raw_main_AndroidEmulatorEx.exe
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x14004ad78
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ad73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ad73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b0bc
movdqa xmm0, xmmword [0x1400dfd10]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], bx
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x14004adcc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004adc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004adc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b0bc
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rbp
ret
call fcn.140040f40
nop
int3
Function at 0x14004adf0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
xor ebx, ebx
call fcn.14004abb0
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWOW6432NodeTencentMobileGamePCUI
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], 7
mov word [rbp - 9], bx
lea rdx, [0x1400de8d0]
lea rcx, [rbp + 0x37]
call fcn.140079b50
nop
lea rdx, str.InstallPath
lea rcx, [rbp + 0x17]
call fcn.140079b50
nop
lea r9, [rbp + 0x37]
lea r8, [rbp - 9]
lea rdx, [rbp + 0x17]
mov rcx, qword [rbp + 0x67]
call fcn.14004aa70
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x14004aec1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004aebc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004aebc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b0bc
movdqa xmm0, xmmword [0x1400dfd10]
movdqu xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x17], bx
mov rdx, qword [rbp + 0x4f]
cmp rdx, 7
jbe 0x14004af15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x37]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004af10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004af10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b0bc
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 7]
sub rax, rcx
cmp rax, 0x16
jb 0x14004b03b
lea r9, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova r9, qword [rbp - 9]
mov qword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_22
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x37]
call fcn.14007f050
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x14004af98
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004af93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004af93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b0bc
movups xmm0, xmmword [rbp + 0x37]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp + 0x47]
movups xmmword [rbp + 7], xmm1
lea r8, [rbp - 9]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 7
cmova r8, rcx
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rbx
lea r9, str.__vm_100
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x14004b02a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b025
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b025
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b0bc
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rbp
ret
call fcn.140040f40
nop
int3