joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2ca0670a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2ca9425a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2ca0670c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2ca0670c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2ca0670c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x2ca06711d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x2ca067114
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x2ca0670c0
add rax, 0x28
cmp rax, r9
jne 0x2ca067100
xor eax, eax
ret

Function at 0x2ca067120
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2ca9425a0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x2ca06713f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x2ca067148
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x2ca06713f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x2ca0671e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2ca9425a0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2ca0671ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2ca067208
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14006eea0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14006eead
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14006eebd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14006eea5
lea eax, [rcx + 1]
jmp 0x14006eecb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14006eede
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14006eec4
sub eax, 3
jb 0x14006eefe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14006ef4d
sar eax, 1
movsxd rbp, eax
jb 0x14006ef34
jmp 0x14006ef0c
add ebx, ebx
jne 0x14006ef0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14006ef34
inc ecx
add ebx, ebx
jne 0x14006ef1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14006ef34
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14006ef2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14006ef1c
add ecx, 2
jmp 0x14006ef39
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14006ee62
jmp 0x14006eead
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28800
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14006ef99
cmp rsi, rcx
jae 0x14006efa1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14006ef80
cmp al, 0x8f
ja 0x14006ef80
cmp byte [rsi - 2], 0xf
je 0x14006ef86
sub al, 0xe8
cmp al, 1
ja 0x14006ef6a
cmp rsi, rcx
jae 0x14006efa1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14006ef70
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14006efa1
lodsb al, byte [rsi]
jmp 0x14006ef80
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x6c000]
mov eax, dword [rdi]
or eax, eax
je 0x14006f00a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x88a7c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14006efae
jns 0x14006efe3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14006efed
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14006f004
mov qword [rbx], rax
add rbx, 8
jmp 0x14006efce
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14006f044
cmp al, 0xef
ja 0x14006f036
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14006f016
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14006f025
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14006f098
sub rsp, 0xffffffffffffff80
jmp 0x14000afb0
Function at 0x14001e668
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.14001eef4
add rsp, 0x28
jmp 0x14001e668
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x14003ea80], rbx
je 0x14001e6b2
cmp rax, rbx
jne 0x14001e6c7
mov edi, 1
mov eax, dword [0x14003ea88]
cmp eax, 1
jne 0x14001e6d4
lea ecx, [rax + 0x1e]
call fcn.1400da000
jmp 0x14001e741
mov ecx, COleDocument::AddItem
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001e69b
mov eax, dword [0x14003ea88]
test eax, eax
jne 0x14001e737
mov dword [0x14003ea88], 1
lea r14, [0x140022340]
lea rbx, [0x140022328]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x24], eax
cmp rbx, r14
jae 0x14001e729
test eax, eax
jne 0x14001e72d
cmp qword [rbx], 0
je 0x14001e71e
mov rax, qword [rbx]
mov rcx, qword [case.0x1400038d5.0]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x14001e6ff
test eax, eax
je 0x14001e741
mov eax, 0xff
jmp 0x14001e894
mov dword [0x14003e4c8], 1
mov eax, dword [0x14003ea88]
cmp eax, 1
jne 0x14001e769
lea rdx, [0x140022320]
lea rcx, [0x1400222f8]
call sub.msvcrt.dll__initterm
mov dword [0x14003ea88], 2
test edi, edi
jne 0x14001e776
xor eax, eax
xchg qword [0x14003ea80], rax
cmp qword [0x14003eaa0], 0
je 0x14001e7aa
lea rcx, [0x14003eaa0]
call fcn.14001ee60
test eax, eax
je 0x14001e7aa
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14003eaa0]
mov r9, qword [case.0x1400038d5.0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x14001e836
test cl, cl
je 0x14001e7cd
test edi, edi
jne 0x14001e836
dec cl
cmp cl, 0x1f
ja 0x14001e7e0
inc rbx
mov qword [rsp + 0x28], rbx
mov cl, byte [rbx]
jmp 0x14001e7cd
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call sub.MFC42.dll_CStatusBar::AllocElements
mov dword [0x14003e4c4], eax
cmp dword [0x14003e4e8], 0
jne 0x14001e81f
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14003e4c8], 0
jne 0x14001e834
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14003e4c4]
jmp 0x14001e894
cmp cl, 0x22
jne 0x14001e848
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x14001e85a
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x14001e7bd
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
Function at 0x1807308b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], 0x652ad1b7
add r10, 0xc
jmp 0x18075c9b8
lea rsp, [rsp + 8]
jmp fcn.18076e92f
jmp 0x18074228b
xor esi, esi
test r11, r11
lea rsp, [rsp + 8]
je 0x18075ca2b
mov ecx, 0x31afc81d
shr cx, 0x23
mov edi, ecx
lea rdi, [0x18072ff70]
mov ecx, 0x87098238
neg cx
movzx ecx, byte [rax]
xor ecx, esi
push 0x64146aa3
push 0x44145b2c
and ecx, 0xff
push 0xffffffffe184c7b0
mov ecx, dword [rdi + rcx*4]
shr byte [rsp + 0x14], 0xe1
shr esi, 8
xor esi, ecx
shl dword [rsp + 6], 0xf3
sal qword [rsp + 4], 0x41
inc rax
xor esi, 0xad2da210
dec r11
lea rsp, [rsp + 0x18]
jne 0x18075c9da
push 0xffffffffe19f5990
not esi
not qword [rsp]
mov dword [r10], esi
jmp 0x18074bb95

Function at 0x180747031
Capabilities:
Encode data using xor

Disassembly:
mov word [r8], dx
jmp fcn.18075e34e
adc rbx, 0xc
xor ecx, ecx
mov qword [rsp], 0x825feab
test rdx, rdx
jmp 0x18074fb8e
lea rsp, [rsp + 8]
je 0x18074fbe5
push r8
mov r8d, 0x72131213
lea r9, [r8 - 0x79c86f7b]
lea r9, [0x18075ff20]
movzx r8d, byte [rsi]
push 0xffffffffb7386ea4
xor r8d, ecx
and r8d, 0xff
mov r8d, dword [r9 + r8*4]
shr ecx, 8
xor ecx, r8d
inc rsi
xor ecx, 0xb2294036
dec rdx
lea rsp, [rsp + 8]
jne 0x18074fbaf
pop r8
call fcn.18074af36
jmp 0x18076ddda
jmp 0x18073ffb1
Function at 0x140009e68
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.14000a86c

Function at 0x14000a4fc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x14000a523
and qword [r8], 0
call fcn.14000a638
mov rbx, rax
test rax, rax
je 0x14000a61c
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000a613
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000a613
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000a613
mov rax, qword [0x14005ef30]
mov rbp, rdi
test rax, rax
je 0x14000a58b
inc dword [rax + 0x3c8]
mov rdx, qword [0x14005ef40]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14000a613
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x14000a5ea
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005ef30]
test rax, rax
je 0x14000a5d8
dec dword [rax + 0x3c8]
mov rdx, qword [0x14005ef40]
mov rcx, rdi
call qword [0x14005d008]
jmp 0x14000a61c
test r15d, r15d
jle 0x14000a5fd
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000a60e
mov qword [rsi], rbp
mov rax, rdi
jmp 0x14000a61e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14000a86c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x14005ef64], 0
lea rsi, [0x14005ef60]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x14000a8d3
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x14000a8a1
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x14000a899
not ebx
mov edx, ebx
test edi, edi
jle 0x14000a8f5
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x14000a8db
jmp 0x14000a92f
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x14000a92f
mov r9b, 0x23
cmp r8b, r9b
jne 0x14000a914
cmp byte [r10], r9b
jne 0x14000a914
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x14000a903
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14001083c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14005ef30]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x1400108a5
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400108b0
lea rdx, [0x14004faec]
mov rcx, rbx
mov rdi, rax
call fcn.14000a638
mov rbx, rax
test rax, rax
je 0x1400108a5
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f828
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x14001fa19
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, pe_nt_image_headers64
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001f8ca
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x14001f8ec
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x14004fc80]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x14001fa0c
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001f93a
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001f93e
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001ef80
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.14001f3b8
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x14001f929
mov r11d, pe_nt_image_headers64
add rbx, 0x28
sub rdi, r8
jne 0x14001f878
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140020b78
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14005eb80]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140009ec8
mov rcx, qword [0x14005f3b8]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x14005f3c0]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x14005f3c8]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x14005f3c0], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.140009ec8
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x140020ca1
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x14005f3b8]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14005f3b8]
jne 0x140020cf6
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140020cf6
mov rcx, qword [0x14005f3b8]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140020cf6
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140020d04
or eax, 0xffffffff
jmp 0x140020d09
call fcn.140009f04
cmp dword [0x14005d138], eax
je 0x140020d1c
mov dword [0x14005d138], eax
call fcn.140020d44
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14004c620
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140041f68
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x14005eb80]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x140041fc1
cmp dword [rsp + 0x90], 0x7c
jge 0x140041fc1
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x14005d7f0]
call fcn.140042138
lea rcx, [rsp + 0x50]
call fcn.140038690
nop
cmp qword [rsp + 0x30], 0
jne 0x140041fe7
lea rdx, [0x140056448]
lea rcx, [rsp + 0x50]
call fcn.140039850
jmp 0x140041ff6
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140039850
cmp dword [rsp + 0xa0], 1
jne 0x140042011
lea rdx, [0x140056458]
lea rcx, [rsp + 0x50]
call fcn.140039850
movss xmm2, dword [0x140053c80]
movss xmm1, dword [0x140056780]
lea rcx, [rsp + 0x48]
call fcn.140038e20
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.140044940
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.1400260ac
movzx eax, al
test eax, eax
je 0x140042086
cmp dword [rsp + 0xa0], 0
jne 0x140042086
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.140039524
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14004c620
add rsp, 0x88
ret
Function at 0x140047ccc
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
movsx eax, byte [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
ret

Function at 0x14004a41c
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400430d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x140043588]
mov qword [rsp + 0x78], rax
lea rax, [0x140054070]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x14004a4d4
lea rdx, str._n_n_Bluestacks
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140031eb8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.Bluestacks_5
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14005fc60], rax
mov edx, 5
mov rcx, qword [0x14005fc60]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x140054060]
mov rcx, qword [0x14005fc60]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x14005fc60]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14005fc60]
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0xc0
pop rdi
ret
Function at 0x14004cd28
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004cd72
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004cd72
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004cd72
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004cd72
cmp dword [rcx + 0x84], 0xe
jbe 0x14004cd72
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004cd74
xor al, al
add rsp, 0x28
ret
Function at 0x45c090
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x45c09d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x45c0ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x45c095
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x45c0c5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x45c0b2
sub eax, 3
jb 0x45c0df
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x45c116
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x45c106
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x45c104
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x45c0f3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.0045c052
jmp 0x45c09d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2e00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x45c162
cmp rsi, rcx
jae 0x45c16a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x45c149
cmp al, 0x8f
ja 0x45c149
cmp byte [rsi - 2], 0xf
je 0x45c14f
sub al, 0xe8
cmp al, 1
ja 0x45c133
cmp rsi, rcx
jae 0x45c16a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x45c139
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x45c16a
lodsb al, byte [rsi]
jmp 0x45c149
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5a000]
mov eax, dword [rdi]
or eax, eax
je 0x45c1c7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5c4ec]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x45c177
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x45c1c1
mov qword [rbx], rax
add rbx, 8
jmp 0x45c197
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.0045c24a], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.0045c24a
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x45c23a
sub rsp, 0xffffffffffffff80
jmp 0x4014f0