joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400343a0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x50
mov dword [rax - 0x2c], 0x17001f
lea rcx, [rsp + 0x2c]
mov dword [rax - 0x28], 0xf003c
mov dword [rax - 0x24], 0x25001d
mov dword [rax - 0x20], 0x30020
mov dword [rax - 0x1c], 0x120006
mov eax, 0x73
mov word [rsp + 0x40], ax
call fcn.14000bf20
mov rsi, qword [rax]
mov rax, qword gs:[0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14003441c
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
call fcn.14000e8f8
test rax, rax
jne 0x14003448c
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140034403
xor eax, eax
lea rcx, [rsp + 0x20]
mov qword [0x1400a68c8], rax
mov dword [rsp + 0x20], 0x26003a
mov dword [rsp + 0x24], 0x2d000a
mov dword [rsp + 0x28], 0x690034
call fcn.14000bcd0
mov rsi, qword [rax]
mov rax, qword gs:[0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14003447c
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
call fcn.14000e8f8
test rax, rax
jne 0x14003447c
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140034463
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x14003441e
Function at 0x1400371d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov r13, rdx
mov rbp, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r14d, dword [rdi + 0x1c]
mov r15d, dword [rdi + 0x20]
add r14, rcx
mov r12d, dword [rdi + 0x24]
add r15, rcx
add r12, rcx
cmp dword [rdi + 0x18], ebx
jbe 0x140037247
nop dword [rax]
movzx eax, word [r12 + rbx*2]
mov rdx, r13
mov ecx, dword [r15 + rbx*4]
add rcx, rbp
mov esi, dword [r14 + rax*4]
add rsi, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x140037266
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x140037220
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rsi
jmp 0x140037249

Function at 0x140037560
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400a68d0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x3a0007
mov dword [rbp - 0x1c], 0x2d000b
mov dword [rbp - 0x18], 0x5a0034
mov dword [rbp - 0x14], 0x6c0050
mov dword [rbp - 0x10], 0x3b0031
mov dword [rbp - 0xc], 0x54001f
call fcn.140009f70
mov rcx, qword [rax]
call rbx
movdqa xmm0, xmmword [0x140047ec0]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400a68c0], rax
mov word [rbp - 0x10], 0x381e
mov byte [rbp - 0xe], 0x4f
call fcn.14000a610
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x2d0b3a07
mov dword [rbp - 0x1c], 0x271a2c34
mov dword [rbp - 0x18], 0x31072236
mov word [rbp - 0x14], 0x4b3e
call fcn.140009a90
mov r11, qword [0x1400a68c0]
mov rdi, qword [rax]
test r11, r11
je 0x1400376b4
test rdi, rdi
je 0x1400376b4
movsxd rax, dword [r11 + 0x3c]
xor r10d, r10d
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], r14
mov ecx, dword [rax + r11 + 0x88]
add rcx, r11
mov esi, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add rsi, r11
mov r14d, dword [rcx + 0x24]
add r9, r11
mov ebx, dword [rcx + 0x18]
add r14, r11
test ebx, ebx
je 0x140037683
nop dword [rax + rax]
mov eax, dword [r9]
mov r8, rdi
add rax, r11
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140037673
inc rax
test ecx, ecx
jne 0x140037660
test edx, edx
je 0x1400376a0
inc r10d
add r9, 4
cmp r10d, ebx
jb 0x140037650
mov qword [0x1400a68a8], 0
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
movzx ecx, word [r14 + r10*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
mov qword [0x1400a68a8], rax
jmp 0x14003768e
mov qword [0x1400a68a8], 0
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
Function at 0x10005c88c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100082b00], rdi
je 0x10005c8ec
cmp rax, rdi
jne 0x10005c8df
mov r12d, 1
jmp 0x10005c8ec
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10005c8c5
mov eax, dword [0x100082af8]
cmp eax, 1
jne 0x10005c901
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10005c968
mov eax, dword [0x100082af8]
cmp eax, ebx
jne 0x10005c95e
mov dword [0x100082af8], 1
lea r13, [0x100001cb0]
lea rdi, [0x100001c98]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10005c950
cmp eax, ebx
jne 0x10005c950
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10005c945
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10005c92e
cmp eax, ebx
je 0x10005c968
mov eax, 0xff
jmp 0x10005cab0
mov dword [0x100081a4c], 1
mov eax, dword [0x100082af8]
cmp eax, 1
jne 0x10005c990
lea rdx, [0x100001c90]
lea rcx, [0x100001b90]
call sub.msvcrt.dll__initterm
mov dword [0x100082af8], 2
cmp r12d, ebx
jne 0x10005c99f
mov rax, rbx
xchg qword [0x100082b00], rax
cmp qword [0x100082b18], rbx
je 0x10005c9c7
lea rcx, [0x100082b18]
call fcn.10005d32c
cmp eax, ebx
je 0x10005c9c7
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100082b18]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10005c9dd
mov eax, 0xff
jmp 0x10005cab0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10005ca62
cmp word [rcx], bx
je 0x10005c9f8
cmp edx, ebx
jne 0x10005ca62
cmp word [rcx], bx
je 0x10005ca0e
cmp word [rcx], 0x20
ja 0x10005ca0e
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10005c9f8
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100018f40
mov dword [0x100081a48], eax
cmp dword [0x100081a2c], ebx
jne 0x10005ca4c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100081a4c], ebx
jne 0x10005ca60
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100081a48]
jmp 0x10005cab0
cmp word [rcx], 0x22
jne 0x10005ca75
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10005c9e9
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.10018e000
add rsp, 0x28
jmp 0x10005c88c
Function at 0x1400097a0
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.14000a1e4

Function at 0x140009e74
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 0x140009e9b
and qword [r8], 0
call fcn.140009fb0
mov rbx, rax
test rax, rax
je 0x140009f94
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 0x140009f8b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009f8b
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 0x140009f8b
mov rax, qword [0x140156240]
mov rbp, rdi
test rax, rax
je 0x140009f03
inc dword [rax + 0x3c8]
mov rdx, qword [0x140156250]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140009f8b
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 0x140009f62
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140156240]
test rax, rax
je 0x140009f50
dec dword [rax + 0x3c8]
mov rdx, qword [0x140156250]
mov rcx, rdi
call qword [0x140050008]
jmp 0x140009f94
test r15d, r15d
jle 0x140009f75
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 0x140009f86
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140009f96
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 0x14000a1e4
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 [0x140156274], 0
lea rsi, [0x140156270]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x14000a24b
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 0x14000a219
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x14000a211
not ebx
mov edx, ebx
test edi, edi
jle 0x14000a26d
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 0x14000a253
jmp 0x14000a2a7
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x14000a2a7
mov r9b, 0x23
cmp r8b, r9b
jne 0x14000a28c
cmp byte [r10], r9b
jne 0x14000a28c
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 0x14000a27b
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x1400100b8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140156240]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x140010121
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14001012c
lea rdx, [0x140044a24]
mov rcx, rbx
mov rdi, rax
call fcn.140009fb0
mov rbx, rax
test rax, rax
je 0x140010121
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 0x14001ea3c
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 0x14001ec2d
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, 0x100
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001eade
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 0x14001eb00
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x140044bb0]
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 0x14001ec20
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 0x14001eb4e
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001eb52
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001e170
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
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.14001e5bc
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 0x14001eb3d
mov r11d, 0x100
add rbx, 0x28
sub rdi, r8
jne 0x14001ea8c
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 0x14001fd90
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 [0x140156158]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140009800
mov rcx, qword [0x1401566c8]
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 [0x1401566d0]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1401566d8]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x1401566d0], 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.140009800
mov rbx, rax
cmp byte [rax + 0x3a7], 0
je 0x14001feb9
cvttss2si ecx, dword [rax + 0x110]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], ecx
cvttss2si ecx, dword [rax + 0x114]
mov dword [rbp - 0x2c], ecx
mov rcx, qword [0x1401566c8]
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 + 0x110], eax
mov dword [rbx + 0x114], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1401566c8]
jne 0x14001ff1c
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14001ff1c
mov rcx, qword [0x1401566c8]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14001ff1c
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x110], xmm0
movss dword [rbx + 0x114], xmm1
cmp byte [rdi + 0xc8], 0
je 0x14001ff2a
or eax, 0xffffffff
jmp 0x14001ff2f
call fcn.14000983c
cmp dword [0x140050138], eax
je 0x14001ff42
mov dword [0x140050138], eax
call fcn.14001ff6c
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140041d70
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x1400303ec
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x34], 0xc0000001
mov dword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x68], 0x240
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwOpenKey]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x14003053c
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call fcn.14003abb0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140030490
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
xor eax, eax
jmp 0x14003053e
mov eax, dword [rsp + 0x30]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x30]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwQueryValueKey]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x1400304f9
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x30], eax
je 0x140030513
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x14003053e
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax]
jmp 0x14003053e
xor eax, eax
add rsp, 0x88
ret
Function at 0x140034f2c
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x58
lea rax, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14003441c
nop
mov eax, 4
imul rax, rax, 2
lea rcx, [0x1401570c8]
add rcx, rax
mov rax, rcx
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x1401570c8]
add rdx, rcx
mov rcx, rdx
mov edx, 4
imul rdx, rdx, 0
lea r8, [0x1401570c8]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rdx
movss xmm2, dword [0x1401567f0]
movss xmm1, dword [0x1401567ec]
movss xmm0, dword [0x14005028c]
call fcn.140007674
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1401570d4]
cmp eax, 1
jb 0x140035027
mov eax, dword [0x1401570d4]
cmp dword [0x1401570d8], eax
je 0x14003501b
movss xmm0, dword [0x14004aed0]
mulss xmm0, dword [0x14005f6b8]
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1401570c8]
movss xmm1, dword [rcx + rax]
addss xmm1, xmm0
movaps xmm0, xmm1
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1401570c8]
movss dword [rcx + rax], xmm0
mov eax, dword [0x1401570d4]
mov dword [0x1401570d8], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401570d4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1401570c8]
xorps xmm0, xmm0
comiss xmm0, dword [rcx + rax]
jbe 0x140035072
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1401570c8]
movss xmm0, dword [rcx + rax]
addss xmm0, dword [0x140044b04]
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1401570c8]
movss dword [rcx + rax], xmm0
mov eax, 4
imul rax, rax, 2
lea rcx, [0x1401570c8]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x1401570c8]
mov r9d, 4
imul r9, r9, 0
mov qword [rsp + 0x30], r9
lea r10, [0x1401570c8]
lea r11, [0x1401567f0]
mov qword [rsp + 0x28], r11
lea r11, [0x1401567ec]
mov qword [rsp + 0x20], r11
lea r9, [0x14005028c]
movss xmm2, dword [rcx + rax]
movss xmm1, dword [r8 + rdx]
mov rax, qword [rsp + 0x30]
movss xmm0, dword [r10 + rax]
call fcn.140007528
nop
lea rcx, [rsp + 0x38]
call fcn.1400347c4
add rsp, 0x58
ret
Function at 0x14003abb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_ZwQueryValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000023
je 0x14003ac01
cmp dword [rsp + 0x30], 0x80000005
jne 0x14003ac07
mov eax, dword [rsp + 0x34]
jmp 0x14003ac09
xor eax, eax
add rsp, 0x48
ret

Function at 0x14003ad18
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 [0x140156158]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x14003ad71
cmp dword [rsp + 0x90], 0x7c
jge 0x14003ad71
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x140154de0]
call fcn.14003b2b0
lea rcx, [rsp + 0x50]
call fcn.140033e40
nop
cmp qword [rsp + 0x30], 0
jne 0x14003ad97
lea rdx, [0x140049b30]
lea rcx, [rsp + 0x50]
call fcn.14003485c
jmp 0x14003ada6
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003485c
cmp dword [rsp + 0xa0], 1
jne 0x14003adc1
lea rdx, [0x140049b40]
lea rcx, [rsp + 0x50]
call fcn.14003485c
movss xmm2, dword [0x140048e64]
movss xmm1, dword [0x14004b030]
lea rcx, [rsp + 0x48]
call fcn.140034388
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.14003e320
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140024f08
movzx eax, al
test eax, eax
je 0x14003ae36
cmp dword [rsp + 0xa0], 0
jne 0x14003ae36
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.1400346c4
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140041d70
add rsp, 0x88
ret
Function at 0x14003b0d8
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x140049cc4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14004a6e0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003b161
lea rcx, [0x140049cf4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserSendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003b161
lea rcx, [0x140049d2c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14004a700]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003b161
xor al, al
jmp 0x14003b213
lea rcx, [0x140049e0c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14004a710]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003b1e3
lea rcx, [0x140049ed4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserGetAsyncKeyState
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003b1e3
lea rcx, [0x140049f34]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14004a740]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003b1e3
xor al, al
jmp 0x14003b213
mov r8d, 0x1e
mov rdx, qword [rsp + 0x20]
lea rcx, [0x140156f30]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x1e
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140156f50]
call sub.VCRUNTIME140.dll_memcpy
mov al, 1
add rsp, 0x38
ret

Function at 0x14003b2f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003b328
xor eax, eax
jmp 0x14003b33c
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
add rsp, 0x38
ret