joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e5cc
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 0x14001e7bd
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 0x14001e66e
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 0x14001e690
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x140047c90]
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 0x14001e7b0
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 0x14001e6de
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001e6e2
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001dd34
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.14001e16c
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 0x14001e6cd
mov r11d, pe_nt_image_headers64
add rbx, 0x28
sub rdi, r8
jne 0x14001e61c
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 0x14001f924
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 [0x140071e18]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140009190
mov rcx, qword [0x140072648]
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 [0x140072650]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x140072658]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x140072650], 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.140009190
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x14001fa4d
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x140072648]
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 [0x140072648]
jne 0x14001faa2
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14001faa2
mov rcx, qword [0x140072648]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14001faa2
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 0x14001fab0
or eax, 0xffffffff
jmp 0x14001fab5
call fcn.140009214
cmp dword [0x140055138], eax
je 0x14001fac8
mov dword [0x140055138], eax
call fcn.14001faf0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140044bf0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140035e48
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140035e04
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140037064
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x140037086
mov rcx, qword [rsp + 0x40]
call fcn.14003e914
jmp 0x14003709d
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14003709d
mov rcx, qword [rsp + 0x40]
call fcn.14003e720
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x14003cf24
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 [0x140071e18]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x14003cf7d
cmp dword [rsp + 0x90], 0x7c
jge 0x14003cf7d
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x140070a70]
call fcn.14003d274
lea rcx, [rsp + 0x50]
call fcn.140035b88
nop
cmp qword [rsp + 0x30], 0
jne 0x14003cfa3
lea rdx, [0x14004ce98]
lea rcx, [rsp + 0x50]
call fcn.1400369a0
jmp 0x14003cfb2
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400369a0
cmp dword [rsp + 0xa0], 1
jne 0x14003cfcd
lea rdx, [0x14004cea8]
lea rcx, [rsp + 0x50]
call fcn.1400369a0
movss xmm2, dword [0x14004bf50]
movss xmm1, dword [0x14004d84c]
lea rcx, [rsp + 0x48]
call fcn.14003610c
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.14003f4f4
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140025688
movzx eax, al
test eax, eax
je 0x14003d042
cmp dword [rsp + 0xa0], 0
jne 0x14003d042
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.140036640
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140044bf0
add rsp, 0x88
ret
Function at 0x14003d064
Capabilities:
Terminate process

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x140071e18]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0xb8]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400361a0
nop
lea rdx, [0x140072828]
mov ecx, 0x20
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
jge 0x14003d0b3
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov r8d, 0x40
xor edx, edx
lea rcx, [0x140072770]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14007287c]
mov dword [0x140072770], eax
mov eax, dword [0x140072880]
mov dword [0x140072774], eax
mov dword [0x140072778], 0x15
mov dword [0x140072780], 0
mov dword [0x1400727a0], 0x50
mov dword [0x140072788], 1
mov dword [0x14007279c], 1
mov rax, qword [0x140072a10]
mov qword [0x140072790], rax
mov dword [0x140072798], 1
mov rax, qword [0x140072828]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x40], rax
lea rax, [0x140072a18]
mov qword [rsp + 0x30], rax
lea rax, [0x140072770]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20
mov r9, qword [0x140072a10]
mov r8d, 1
xor edx, edx
mov rcx, qword [0x140072828]
call qword [rsp + 0x40]
test eax, eax
jge 0x14003d188
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov r9d, 8
mov r8d, 0x3a0
mov edx, 0x1548
lea rcx, str.1.67_WIP
call fcn.140007460
xor ecx, ecx
call fcn.1400070bc
call fcn.140009190
mov qword [rsp + 0x48], rax
mov rcx, qword [0x140072a10]
call fcn.14001f824
mov rcx, qword [0x140072a18]
call fcn.14001eeec
lea rdx, str.C:WindowsFontsBurbank_Big_Condensed_Black.ttf
lea rcx, [rsp + 0x70]
call fcn.140034c28
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
movss xmm3, dword [0x14004d838]
mov r8d, 0x1b44c
lea rdx, str.OTTO
mov rcx, qword [rsp + 0x50]
call fcn.1400138dc
mov qword [0x1400726a8], rax
mov rax, qword [0x140072828]
mov rax, qword [rax]
mov rcx, qword [0x140072828]
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x58]
call fcn.14003680c
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140044bf0
add rsp, 0xb8
ret
Function at 0x14003d780
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0xd0
lea rax, [rsp + 0xd8]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400361a0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14003da38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x80]
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 + 0xb0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x98], 0
lea rax, [0x14003dcc4]
mov qword [rsp + 0x88], rax
lea rax, [0x14004d0d8]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x80], 3
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x14003d88c
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_register_window_class.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x68]
call fcn.14003680c
jmp 0x14003d94e
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, [0x14004d110]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140072a10], rax
cmp qword [0x140072a10], 0
je 0x14003d944
mov edx, 5
mov rcx, qword [0x140072a10]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x14004d0c8]
mov rcx, qword [0x140072a10]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x140072a10]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140072a10]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rcx, [rsp + 0x68]
call fcn.14003680c
add rsp, 0xd0
pop rdi
ret
Function at 0x14003e720
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x14003e750
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14003e7d2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14003e79e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14003e7a6
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14003e745
mov qword [rsp + 8], 0xe3
jmp 0x14003e7ea
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14003e871
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14003e83b
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14003e843
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14003e7dd
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14003e8c5
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14003e8cd
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x14003e914
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14003e935
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14003e9b9
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14003e984
mov dword [rsp + 4], 0x9908b0df
jmp 0x14003e98c
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14003e928
add rsp, 0x18
ret

Function at 0x14003feb4
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rax, qword [0x140071e18]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14003ff50
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14003ff3d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x14003ff5d
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14003ff15
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140044bf0
add rsp, 0x170
pop rdi
ret

Function at 0x14003ff78
Capabilities:
Enumerate gui resources

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1400327dc
lea rdx, [rsp + 0x30]
lea rcx, [0x140032160]
call qword [sym.imp.USER32.dll_EnumWindows]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14003ffd4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x14003ffd4
cmp qword [rsp + 0x30], 0
je 0x14003ffd4
mov rax, qword [rsp + 0x30]
jmp 0x14003ffd6
xor eax, eax
add rsp, 0x48
ret
Function at 0x14004107c
Capabilities:
Get number of processors

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x140071e18]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x24], 0
lea rax, [rsp + 0xb8]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400361a0
nop
mov eax, 0x1398
mov eax, eax
mov ecx, dword [0x140072ae8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x14004116e
mov eax, 0x1398
mov eax, eax
mov ecx, dword [0x140072ae8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x28], eax
mov eax, dword [0x140072ae8]
mov rcx, qword gs:[0x58]
mov edx, 0x1398
mov edx, edx
mov rax, qword [rcx + rax*8]
mov ecx, dword [rsp + 0x28]
mov dword [rdx + rax], ecx
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x140072ae8]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.1400337e4
mov rcx, rax
call fcn.140037134
mov dword [rsp + 0x2c], eax
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x38]
call fcn.140035e48
nop
mov eax, 0x1398
mov eax, eax
mov ecx, dword [0x140072ae8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
and eax, 2
test eax, eax
jne 0x140041209
mov eax, 0x1398
mov eax, eax
mov ecx, dword [0x140072ae8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
or eax, 2
mov dword [rsp + 0x30], eax
mov eax, dword [0x140072ae8]
mov rcx, qword gs:[0x58]
mov edx, 0x1398
mov edx, edx
mov rax, qword [rcx + rax*8]
mov ecx, dword [rsp + 0x30]
mov dword [rdx + rax], ecx
mov eax, 0x13a0
mov eax, eax
mov ecx, dword [0x140072ae8]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov qword [rsp + 0x40], rax
mov r8d, 0x46
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140035eb8
nop
lea rcx, [rsp + 0x80]
call fcn.140035b88
nop
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x80]
call fcn.1400424b4
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc8]
dec rax
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0x48], 0
je 0x1400412cf
mov rax, qword [str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_____]
mov qword [rsp + 0x60], rax
mov eax, 0x13a0
mov eax, eax
mov ecx, dword [0x140072ae8]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov qword [rsp + 0x50], rax
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x140072ae8]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.140033150
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov dl, byte [rax]
lea rcx, [rsp + 0x80]
call fcn.140037148
jmp 0x14004122c
lea r8, str..exe
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xc0]
call fcn.14003308c
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x80]
call fcn.140036640
nop
lea rcx, [rsp + 0x68]
call fcn.14003680c
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140044bf0
add rsp, 0xb8
ret
Function at 0x65cc1700
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x65cc171f
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x65cc3400
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.65cdd190]
mov r8d, 0x3f
mov edx, 1
lea rcx, str._GC__cannot_register_global_variable__too_many_global_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop

Function at 0x65cc3440
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.65cdd190]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
sub rsp, 0x28
mov rdx, qword [0x66153450]
mov rax, qword [rdx]
cmp rax, 0xdab
jg 0x65cc34ad
mov r8, qword [0x66153440]
mov qword [r8 + rax*8], rcx
add rax, 1
mov qword [rdx], rax
add rsp, 0x28
ret
call fcn.65cc3440
nop
nop dword [rax]
nop word cs:[rax + rax]
sub rsp, 0x28
mov rdx, qword [0x66153450]
mov rax, qword [rdx]
cmp rax, 0xdab
jg 0x65cc3588
mov r8, qword [0x66153440]
lea rcx, [0x65cca790]
mov qword [r8 + rax*8], rcx
lea rcx, [rax + 1]
cmp rcx, 0xdac
mov qword [rdx], rcx
je 0x65cc3588
lea r9, [0x65cca8c0]
add rax, 2
mov qword [rdx], rax
mov rax, qword [0x66153050]
lea rdx, [0x65cc13b0]
mov qword [r8 + rcx*8], r9
lea rcx, [0x65cc1430]
movq xmm1, rdx
lea rdx, [0x65cc13c0]
movq xmm0, rcx
lea rcx, [0x65cc8520]
punpcklqdq xmm0, xmm1
movq xmm2, rdx
movups xmmword [rax], xmm0
lea rdx, [0x65cc13d0]
movq xmm0, rcx
lea rcx, [0x65cc1410]
punpcklqdq xmm0, xmm2
movq xmm3, rdx
movups xmmword [rax + 0x10], xmm0
lea rdx, [0x65cd1410]
movq xmm0, rcx
punpcklqdq xmm0, xmm3
mov qword [rax + 0x30], rdx
movups xmmword [rax + 0x20], xmm0
add rsp, 0x28
ret
call fcn.65cc3440
nop
nop
sub rsp, 0x28
mov rdx, qword [0x66153450]
mov rax, qword [rdx]
cmp rax, 0xdab
jg 0x65cc35c4
mov rcx, qword [0x66153440]
lea r8, [0x65cca8f0]
mov qword [rcx + rax*8], r8
add rax, 1
mov qword [rdx], rax
add rsp, 0x28
ret
call fcn.65cc3440
nop
nop word [rax + rax]
sub rsp, 0x28
mov rdx, qword [0x66153450]
mov rax, qword [rdx]
cmp rax, 0xdab
jg 0x65cc3604
mov rcx, qword [0x66153440]
lea r8, [0x65cca900]
mov qword [rcx + rax*8], r8
add rax, 1
mov qword [rdx], rax
add rsp, 0x28
ret
call fcn.65cc3440
nop
nop word [rax + rax]
sub rsp, 0x28
mov rdx, qword [0x66153450]
mov rax, qword [rdx]
cmp rax, 0xdab
jg 0x65cc365f
mov r8, qword [0x66153440]
lea rcx, [0x65cca960]
mov qword [r8 + rax*8], rcx
lea rcx, [rax + 1]
cmp rcx, 0xdac
mov qword [rdx], rcx
je 0x65cc365f
lea r9, [0x65cca950]
add rax, 2
mov qword [r8 + rcx*8], r9
mov qword [rdx], rax
add rsp, 0x28
ret
call fcn.65cc3440
nop
nop
nop word cs:[rax + rax]