joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c0a4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400429b0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14001c102
cmp word [rdx], r12w
jne 0x14001c102
or byte [rax + r8*8 + 0x38], cl
jmp 0x14001c108
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14001c263
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14001c23e
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14001c141
mov rcx, r9
jmp 0x14001c164
cmp r9, rdx
jae 0x14001c17b
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14001c125
jmp 0x14001c263
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001c238
cmp dword [rsp + 0x80], edi
je 0x14001c238
mov rdx, r14
lea r11, [0x1400429b0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14001c211
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14001c1e4
mov word [rbx], r12w
jmp 0x14001c25f
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14001c1ed
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14001c25f
cmp word [rsp + 0x70], r12w
jne 0x14001c21e
cmp rbx, rsi
je 0x14001c1de
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14001ce9c
cmp word [rsp + 0x70], r12w
je 0x14001c263
mov word [rbx], r13w
jmp 0x14001c25f
lea r11, [0x1400429b0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14001c25b
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14001c263
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001cab8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14001caea
call fcn.140017fb8
mov dword [rax], 0x16
call fcn.14001b4d8
jmp 0x14001cc09
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001cc09
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14001cc09
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14001cb19
lock or dword [rcx + 0x14], 0x10
jmp 0x14001cc09
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14001cb2d
call fcn.140024518
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14001b044
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14001c550
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14001cbf7
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14001cbc2
mov rcx, rsi
call fcn.14001b044
cmp eax, edi
je 0x14001cbad
mov rcx, rsi
call fcn.14001b044
cmp eax, 0xfffffffe
je 0x14001cbad
mov rcx, rsi
call fcn.14001b044
movsxd rbx, eax
lea r14, [0x1400429b0]
mov rcx, rsi
sar rbx, 6
call fcn.14001b044
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14001cbb4
lea rdx, [0x140040420]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001cbc2
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14001cbe6
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14001cbe6
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14001cbe6
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14001cc0c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x1400234ec
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14002351c
xor eax, eax
jmp 0x1400235df
mov rbp, rbx
cmp word [rax], si
je 0x140023541
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140023528
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140023524
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140020a54
movsxd r14, eax
test eax, eax
jne 0x14002357f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140023515
mov rcx, r14
call fcn.14001e230
mov rdi, rax
test rax, rax
jne 0x140023598
xor ecx, ecx
call fcn.14001b540
jmp 0x140023574
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140020a54
test eax, eax
jne 0x1400235c9
mov rcx, rdi
call fcn.14001b540
jmp 0x1400235d3
xor ecx, ecx
call fcn.14001b540
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400235fc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140023683
mov rsi, rbx
cmp word [rax], bp
je 0x140023642
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002362c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140023628
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001e230
mov rdi, rax
test rax, rax
je 0x140023670
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000c520
mov rbp, rdi
xor ecx, ecx
call fcn.14001b540
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140027f70
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140015f64
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140027ffa
cmp byte [rbp - 0x21], r15b
je 0x140027ff5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140028030
call fcn.14001fa90
test eax, eax
jne 0x14002801c
cmp byte [rbp - 0x21], r15b
je 0x140028014
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140028030
cmp byte [rbp - 0x21], r15b
je 0x14002802d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140015a4c
test eax, eax
jne 0x1400280d0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140015f64
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002806f
cmp byte [rbp - 0x21], r15b
je 0x1400280a4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400280a4
call fcn.14001fa90
test eax, eax
jne 0x140028090
cmp byte [rbp - 0x21], r15b
je 0x140028089
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400280a4
cmp byte [rbp - 0x21], r15b
je 0x1400280a1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140015a4c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400280d0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400280d3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400280e1
mov rcx, rdi
call fcn.14001b540
cmp byte [rbp + 0x3f], r15b
je 0x1400280f0
mov rcx, qword [rbp + 0x27]
call fcn.14001b540
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140029690
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001ce9c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ce9c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400297e0
cmp rax, 0xffffffffffffffff
je 0x1400297e0
xor edi, edi
test rbp, rbp
jle 0x14002978b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f800
mov rbx, rax
test rax, rax
jne 0x140029718
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029781
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a7a8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001db9c
cmp eax, 0xffffffff
je 0x140029761
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029728
mov edx, r15d
mov ecx, r14d
call fcn.14001a7a8
jmp 0x140029781
cmp byte [rsi + 0x38], dil
je 0x140029778
cmp dword [rsi + 0x34], 5
jne 0x140029778
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029781
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b540
jmp 0x1400297f4
jns 0x1400297f4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ce9c
cmp rax, 0xffffffffffffffff
jne 0x1400297ac
cmp byte [rsi + 0x30], dil
je 0x1400297f4
mov edi, dword [rsi + 0x2c]
jmp 0x1400297f4
mov ecx, r14d
call fcn.140018c64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400297f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400297f4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400297ed
mov eax, dword [rsi + 0x2c]
jmp 0x1400297f2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ce9c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14034fb80
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14034fb8d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14034fb9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14034fb85
lea eax, [rcx + 1]
jmp 0x14034fbab
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14034fbbe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14034fba4
sub eax, 3
jb 0x14034fbde
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14034fc2d
sar eax, 1
movsxd rbp, eax
jb 0x14034fc14
jmp 0x14034fbec
add ebx, ebx
jne 0x14034fbea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14034fc14
inc ecx
add ebx, ebx
jne 0x14034fbfa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14034fc14
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14034fc0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14034fbfc
add ecx, 2
jmp 0x14034fc19
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14034fb42
jmp 0x14034fb8d
pop rsi
mov rdi, rsi
push rsi
nop
push rsi
pop rdi
mov rsi, 0x9ae00
mov dl, 0x1d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14034fc79
cmp rsi, rcx
jae 0x14034fc81
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14034fc60
cmp al, 0x8f
ja 0x14034fc60
cmp byte [rsi - 2], 0xf
je 0x14034fc66
sub al, 0xe8
cmp al, 1
ja 0x14034fc4a
cmp rsi, rcx
jae 0x14034fc81
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14034fc50
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14034fc81
lodsb al, byte [rsi]
jmp 0x14034fc60
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x34c000]
mov eax, dword [rdi]
test eax, eax
je 0x14034fcea
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x34f1dc]
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 0x14034fc8e
jns 0x14034fcc3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14034fccd
mov rcx, rdi
push rdi
pop rdx
nop
dec eax
repne scasb al, byte [rdi]
push rbp
pop rcx
nop
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14034fce4
mov qword [rbx], rax
add rbx, 8
jmp 0x14034fcae
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
sub eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14034fd24
cmp al, 0xef
ja 0x14034fd16
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14034fcf6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14034fd05
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
nop
push rbx
pop rdx
push rdi
nop
pop rcx
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x24f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
push rbx
nop
pop rdx
nop
push rdi
pop rcx
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14034fd78
sub rsp, 0xffffffffffffff80
jmp 0x14009a338
Function at 0x140547f80
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1406dd7f8]
cmp byte [rax + 0x19], 0
je 0x14054813f
cmp qword [0x1406dd848], 0
je 0x14054813f
movaps xmm0, xmmword [0x1406c1c40]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x60], rdi
movaps xmmword [rsp + 0x50], xmm6
movups xmmword [rsp + 0x40], xmm0
call fcn.140548150
xor r10d, r10d
mov rsi, rax
cmp byte [rax + 0x3d], r10b
je 0x140548011
mov r8d, r10d
movabs r9, 0xebe1417985296fdf
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r8b
mov rax, r9
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rsi], al
inc r8
cmp r8, 0x3d
jb 0x140547ff0
mov byte [rsi + 0x3d], r10b
lea rcx, [rsp + 0x40]
call fcn.14056ac70
mov rbx, qword [0x1406ddb60]
lea rdx, [rsp + 0x78]
movss xmm3, dword [0x1406c0fdc]
mov edi, eax
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], r10
mov ecx, dword [rbx + 0x16c]
movd xmm1, dword [rbx + 0x16c]
movd xmm0, dword [rbx + 0x164]
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x28], rsi
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1406c0ce8]
addss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
mov rcx, qword [0x1406dd860]
cvtps2pd xmm2, xmm1
mulsd xmm0, qword [0x1406c0d80]
subsd xmm2, xmm0
movss xmm0, dword [0x1406c100c]
movss dword [rsp + 0x20], xmm0
addsd xmm2, qword [0x1406c0e78]
cvtpd2ps xmm6, xmm2
movss xmm2, dword [rcx + 0x3d50]
mov rcx, qword [rcx + 0x3d48]
call fcn.1405a9180
movss xmm0, dword [rsp + 0x78]
lea rdx, [rsp + 0x78]
addss xmm0, dword [0x1406c0d28]
movd xmm1, dword [rbx + 0x168]
mov r9, rsi
mov rcx, qword [0x1406dd848]
mov r8d, edi
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
mulss xmm1, dword [0x1406c0ce8]
movd xmm0, dword [rbx + 0x160]
cvtdq2ps xmm0, xmm0
movd xmm3, eax
addss xmm1, xmm0
movss dword [rsp + 0x7c], xmm6
cvtdq2ps xmm3, xmm3
cvtps2pd xmm2, xmm1
cvtps2pd xmm1, xmm3
mulsd xmm1, qword [0x1406c0d80]
subsd xmm2, xmm1
cvtpd2ps xmm0, xmm2
movss dword [rsp + 0x78], xmm0
call fcn.1405a3e10
movaps xmm6, xmmword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140548310
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1406dc5c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, rcx
mov word [rbp - 0x48], 0x4852
mov rcx, qword [0x1406ddb60]
xor edx, edx
mov r9d, 0x3000
mov byte [rbp - 0x46], 0xba
mov dword [rbp - 0x30], 0xf013a83
mov dword [rbp - 0x2c], 0x1085
mov rcx, qword [rcx + 0x108]
lea r8d, [rdx + 0x6c]
mov dword [rbp - 0x28], 0x2c700
mov dword [rbp - 0x24], 0xf3000000
mov dword [rbp - 0x20], 0xc72a100f
mov dword [rbp - 0x1c], 0x102
mov word [rbp - 0x18], 0x4800
mov byte [rbp - 0x16], 0xbf
mov dword [rbp - 0x40], 0x403f8b48
mov dword [rbp - 0x3c], 0xbcb738
mov word [rbp - 0x38], 0
mov byte [rbp - 0x36], 0x5a
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [0x1406ddb60]
mov rbx, rax
mov rdx, qword [rcx + 0x100]
add rdx, qword [rcx + 0x30]
lea rcx, [rdx + 3]
call fcn.1405cf880
mov rdx, qword [0x1406ddb60]
mov r8d, ntohs
mov rdi, rax
mov rcx, qword [rdx + 0x100]
add rcx, qword [rdx + 0x30]
mov rdx, rbx
call fcn.1405cf9e0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov rsi, rax
call fcn.14063c358
mov qword [rbp - 0x50], rax
lea rdx, [rbx + 0x64]
lea rcx, [rdx + 8]
xorps xmm0, xmm0
lea r8, [rbp - 0x48]
mov r14, rax
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax], rbx
mov qword [rax + 8], rbx
xor ebx, ebx
mov qword [rax + 0x10], rcx
mov rcx, qword [0x1406ddb60]
mov byte [rax + 0x18], 0x90
mov qword [r15 + 8], rdx
lea r9d, [rbx + 3]
mov rdx, qword [rax + 8]
mov rcx, qword [rcx + 0x108]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add qword [r14 + 8], 3
lea r9d, [rbx + 8]
mov rcx, qword [0x1406ddb60]
lea r8, [rbp - 0x50]
mov rax, qword [r15 + 8]
mov rdx, qword [r14 + 8]
mov qword [rbp - 0x50], rax
mov rcx, qword [rcx + 0x108]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add qword [r14 + 8], 8
lea r9d, [rbx + 0x1b]
mov rcx, qword [0x1406ddb60]
lea r8, [rbp - 0x30]
mov rdx, qword [r14 + 8]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx + 0x108]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add qword [r14 + 8], 0x1b
lea r9d, [rbx + 8]
lea r8, [rbp - 0x50]
mov qword [rbp - 0x50], rdi
mov qword [rsp + 0x20], rbx
mov rcx, qword [0x1406ddb60]
mov rdx, qword [r14 + 8]
mov rcx, qword [rcx + 0x108]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add qword [r14 + 8], 8
lea r9d, [rbx + 0xb]
mov rcx, qword [0x1406ddb60]
lea r8, [rbp - 0x40]
mov rdx, qword [r14 + 8]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx + 0x108]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add qword [r14 + 8], 0xb
mov rdx, rsi
mov rcx, r14
call fcn.1405cf720
lea edx, [rbx + 0x20]
mov rcx, r14
call fcn.14063c6bc
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14063c0a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140548840
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1406dc5c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rcx
mov word [rbp - 0x38], 0x4850
mov rcx, qword [0x1406ddb60]
xor edx, edx
mov r9d, 0x3000
mov byte [rbp - 0x36], 0xb8
mov dword [rbp - 0x20], 0xf013883
mov dword [rbp - 0x1c], 0xa85
mov rcx, qword [rcx + 0x108]
lea r8d, [rdx + 0x6c]
mov dword [rbp - 0x18], 0x10bc4900
mov dword [rbp - 0x14], 0x89e000
mov dword [rbp - 0x10], 0x58000000
mov dword [rbp - 0x30], 0xe0280f41
mov dword [rbp - 0x2c], 0x90458b48
mov dword [rbp - 0x28], 0xa0590ff3
mov dword [rbp - 0x24], 0x204
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [0x1406ddb60]
mov rbx, rax
mov rdx, qword [rcx + 0x100]
add rdx, qword [rcx + 0x38]
lea rcx, [rdx + 1]
call fcn.1405cf880
mov rdx, qword [0x1406ddb60]
mov r8d, reloc.WS2_32.dll_setsockopt
mov rdi, rax
mov rcx, qword [rdx + 0x100]
add rcx, qword [rdx + 0x38]
mov rdx, rbx
call fcn.1405cf9e0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov rsi, rax
call fcn.14063c358
mov qword [rbp - 0x40], rax
lea rcx, [rbx + 0x64]
xorps xmm0, xmm0
lea r8, [rbp - 0x38]
xor r12d, r12d
mov rdx, rbx
movups xmmword [rax], xmm0
mov r14, rax
mov qword [rsp + 0x20], r12
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x10], rcx
lea r9d, [r12 + 3]
mov rcx, qword [0x1406ddb60]
mov byte [rax + 0x18], 0x90
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov rcx, qword [rcx + 0x108]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [r14 + 0x10]
lea r9d, [r12 + 8]
add qword [r14 + 8], 3
lea r8, [rbp - 0x40]
mov qword [rbp - 0x40], rcx
mov qword [rsp + 0x20], r12
lea rax, [rcx + 8]
mov qword [r14 + 0x10], rax
mov qword [r15 + 8], rcx
mov rcx, qword [0x1406ddb60]
mov rdx, qword [r14 + 8]
mov rcx, qword [rcx + 0x108]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add qword [r14 + 8], 8
lea r9d, [r12 + 0x14]
mov rcx, qword [0x1406ddb60]
lea r8, [rbp - 0x20]
mov rdx, qword [r14 + 8]
mov qword [rsp + 0x20], r12
mov rcx, qword [rcx + 0x108]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add qword [r14 + 8], 0x14
mov rdx, rdi
mov rcx, r14
call fcn.1405cf7d0
lea r9d, [r12 + 0x10]
mov qword [rsp + 0x20], r12
lea r8, [rbp - 0x30]
mov rcx, qword [0x1406ddb60]
mov rdx, qword [r14 + 8]
mov rcx, qword [rcx + 0x108]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add qword [r14 + 8], 0x10
mov rdx, rsi
mov rcx, r14
call fcn.1405cf720
lea edx, [r12 + 0x20]
mov rcx, r14
call fcn.14063c6bc
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14063c0a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140548a60
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [0x1406dd818]
cmp byte [rcx + 0x19], 0
je 0x140548b45
cmp byte [0x1406dde48], 0
jne 0x140548abf
mov rax, qword [0x1406ddb60]
mov ecx, dword [rax + 0x118]
call qword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov rcx, rbx
call fcn.140548840
mov byte [0x1406dde48], 1
mov rax, qword [0x1406ddb60]
mov ecx, dword [rax + 0x118]
call qword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
mov rcx, qword [0x1406dd818]
lea rdx, str.Freeze_Key
call fcn.140555350
mov rcx, qword [rax + 0x28]
movzx ecx, byte [rcx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rdx, qword [rbx + 8]
xorps xmm0, xmm0
mov qword [rsp + 0x30], 0
movdqu xmmword [rsp + 0x20], xmm0
test ax, ax
je 0x140548b4b
lea r9, [rsp + 0x20]
mov r8d, 1
call fcn.1405cf5a0
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140548b45
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140548b3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140548b90
add rsp, 0x40
pop rbx
jmp fcn.14063c6bc
add rsp, 0x40
pop rbx
ret
lea r9, [rsp + 0x20]
xor r8d, r8d
call fcn.1405cf5a0
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140548b45
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140548b3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140548b3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3