joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140132f20
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x1f8
mov rax, qword [0x140376800]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
call fcn.140120ea0
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1401331bb
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x30]
call fcn.14011bad0
mov rcx, rax
call fcn.140134f50
mov qword [rsp + 0x48], rax
call fcn.140120ea0
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.14000bbc0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x1c0]
call fcn.140007340
nop
lea rcx, [rsp + 0xe8]
call fcn.14000da40
call fcn.140120ea0
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0x58]
call fcn.14000bb20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.14003b100
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x31]
call fcn.14011c970
mov rcx, rax
call fcn.140135590
mov r8, rax
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x1a0]
call fcn.1401024c0
nop
call fcn.140120ea0
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x78]
call fcn.14000bb20
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.14003b180
movzx eax, al
test eax, eax
je 0x140133140
call fcn.140120ea0
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x98]
call fcn.14000bb20
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.140175170
mov byte [0x14039aa3c], 1
mov byte [0x14039aa3d], 1
mov byte [0x14039aa3e], 1
mov byte [0x14039aa3f], 1
mov byte [0x14039aa40], 1
mov byte [0x14039aa41], 1
jmp 0x1401331a0
call fcn.140120ea0
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0xb8]
call fcn.14000bb20
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.140175940
nop
lea rcx, [rsp + 0x1a0]
call fcn.14000da40
nop
lea rcx, [rsp + 0x1c0]
call fcn.14000da40
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0x1f8
ret
Function at 0x1401375b0
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140376800]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
mov ecx, 5
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xc0000004
je 0x1401375fe
xor al, al
jmp 0x1401376a5
mov eax, dword [rsp + 0x38]
mov r8d, 4
mov edx, eax
xor ecx, ecx
call fcn.1401318a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140137625
xor al, al
jmp 0x1401376a5
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x20]
mov ecx, 5
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jge 0x140137657
mov rcx, qword [rsp + 0x20]
call fcn.1401317d0
xor al, al
jmp 0x1401376a5
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x20]
call qword [rsp + Ordinal_50]
movzx eax, al
test eax, eax
jne 0x140137678
jmp 0x140137699
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0
jne 0x140137657
mov rcx, qword [rsp + 0x20]
call fcn.1401317d0
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0x58
ret

Function at 0x140139ad0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x470
mov rax, qword [0x140376800]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x480]
movzx eax, word [rax]
cmp eax, 2
jne 0x140139b2e
mov rax, qword [rsp + 0x480]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov rcx, qword [rsp + 0x498]
mov dword [rcx], eax
jmp 0x140139b66
mov rax, qword [rsp + 0x480]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x140139b5f
mov rax, qword [rsp + 0x480]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov rcx, qword [rsp + 0x498]
mov dword [rcx], eax
jmp 0x140139b66
xor al, al
jmp 0x140139bf0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x401
rep stosb byte [rdi], al
lea rcx, [rsp + 0x50]
call fcn.1401432d0
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x50]
call fcn.140008c30
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x488]
mov rcx, qword [rsp + 0x480]
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x140139bd4
xor al, al
jmp 0x140139bf0
lea rcx, [rsp + 0x50]
call fcn.140008c30
mov rdx, rax
mov rcx, qword [rsp + 0x490]
call fcn.14000e010
mov al, 1
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0x470
pop rdi
ret
Function at 0x140139c40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x140376800]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140139caa
mov r9, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xd8]
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140139ad0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0xc8
ret
Function at 0x14013e9f0
Capabilities:
Get common file path
Move file

Disassembly:
sub rsp, 0x398
mov rax, qword [0x140376800]
xor rax, rsp
mov qword [rsp + 0x380], rax
lea rdx, [0x140399b30]
lea rcx, [rsp + 0x108]
call fcn.140114bd0
nop
lea r9, [rsp + 0x100]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140241b90]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x14013ea4d
lea rcx, [rsp + 0x108]
call fcn.140118000
jmp 0x14013ec63
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x150]
call fcn.1400f5eb0
nop
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rsp + 0x110]
call fcn.1401389f0
nop
lea rcx, [rsp + 0x20]
call fcn.140008c30
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x110]
call fcn.1400fea30
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x110]
call fcn.1400fe6d0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xe0]
call fcn.140100e70
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea r8, [0x14023ce24]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xc0]
call fcn.140102700
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xa0]
call fcn.140102660
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
lea r8, [0x14023cec0]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x130]
call fcn.1401026b0
nop
lea rcx, [rsp + 0xa0]
call fcn.140028750
nop
lea rcx, [rsp + 0xc0]
call fcn.140028750
nop
lea rcx, [rsp + 0xe0]
call fcn.140028750
mov r8d, 0x104
lea rdx, [rsp + 0x170]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14013ec0e
lea rcx, [rsp + 0x130]
call fcn.140028750
nop
lea rcx, [rsp + 0x110]
call fcn.14000da40
nop
lea rcx, [rsp + 0x150]
call fcn.140028750
nop
lea rcx, [rsp + 0x108]
call fcn.140118000
jmp 0x14013ec63
lea rcx, [rsp + 0x130]
call fcn.140070bb0
mov rdx, rax
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
lea rcx, [rsp + 0x130]
call fcn.140028750
nop
lea rcx, [rsp + 0x110]
call fcn.14000da40
nop
lea rcx, [rsp + 0x150]
call fcn.140028750
nop
lea rcx, [rsp + 0x108]
call fcn.140118000
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0x398
ret
Function at 0x14013ec80
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x14013ecc7
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x14013ede2
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rsp + 0x20]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
lea rdx, str..text
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14013eddd
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x60]
add rdx, rcx
mov rcx, rdx
mov r8d, 0x40
mov edx, eax
call fcn.14013d2b0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14013ed5a
mov eax, 9
jmp 0x14013ede7
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x28]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0x60]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x40], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x40]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x60]
add rdx, rcx
mov rcx, rdx
mov r8d, dword [rsp + 0x24]
mov edx, eax
call fcn.14013d2b0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14013edd9
mov eax, 0xa
jmp 0x14013ede7
xor eax, eax
jmp 0x14013ede7
jmp 0x14013ecba
mov eax, reloc.WS2_32.dll_inet_addr
add rsp, 0x58
ret

Function at 0x140142330
Capabilities:
Set socket configuration

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [0x140376800]
xor rax, rsp
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x14014235f
mov dword [rsp + 0x20], 1
jmp 0x140142367
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0x38
ret
Function at 0x1401432b0
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 0x140144c30
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x140376800]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x190]
call fcn.140139cd0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 3
jne 0x140144c8c
mov eax, dword [rsp + 0x40]
jmp 0x140144e0e
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x140144cd5
mov eax, 5
jmp 0x140144e0e
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x1000002
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140144d1e
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 6
jmp 0x140144e0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140144d40
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 7
jmp 0x140144e0e
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140144d8c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 8
jmp 0x140144e0e
call fcn.140143dd0
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x190]
call fcn.14013ec80
mov dword [rsp + 0x40], eax
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtFlushInstructionCache
call fcn.14013f240
cmp dword [rsp + 0x40], 0
je 0x140144deb
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
jmp 0x140144e0e
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0x188
ret
Function at 0x14014d370
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140376800]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x28]
call fcn.1401175c0
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x30]
call fcn.1401171b0
lea rcx, [rsp + 0x30]
call fcn.14011a2c0
movzx eax, al
test eax, eax
je 0x14014d407
lea rcx, [rsp + 0x30]
call fcn.140143420
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x14014d407
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14013c5c0
mov rcx, rax
call fcn.140110110
cmp eax, 0x2fa62ca8
jne 0x14014d405
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1401316b0
jmp 0x14014d41e
jmp 0x14014d3bf
lea rcx, [rsp + 0x28]
call fcn.14013c700
movzx eax, al
test eax, eax
jne 0x14014d38d
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0x58
ret
Function at 0x1401618b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
mov rax, qword [0x140376800]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x200]
call fcn.140075160
movzx eax, al
test eax, eax
jne 0x1401618f4
mov rcx, qword [rsp + 0x200]
call fcn.14001fa90
test rax, rax
ja 0x140161906
mov rcx, qword [rsp + 0x200]
call fcn.14000da40
jmp 0x140161b6e
call fcn.14000eb90
add rax, 0x10
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x140161b61
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x30]
call fcn.140159ff0
mov rcx, rax
call fcn.140169600
mov qword [rsp + 0x48], rax
call fcn.14000eb90
add rax, 0x10
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.14000bbc0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x1c0]
call fcn.140007340
nop
lea rcx, [rsp + 0xe0]
call fcn.14000da40
call fcn.14000eb90
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0x58]
call fcn.14000bb20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.14003b100
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x31]
call fcn.14015a220
mov rcx, rax
call fcn.140169100
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x200]
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x100]
call fcn.1401023d0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x1a0]
call fcn.140007340
nop
lea rcx, [rsp + 0x100]
call fcn.14000da40
call fcn.14000eb90
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x98]
call fcn.14000bb20
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.14003b180
movzx eax, al
test eax, eax
jne 0x140161b45
call fcn.14000eb90
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0xb8]
call fcn.14000bb20
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.140054340
nop
lea rcx, [rsp + 0x1a0]
call fcn.14000da40
nop
lea rcx, [rsp + 0x1c0]
call fcn.14000da40
nop
mov rcx, qword [rsp + 0x200]
call fcn.14000da40
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0x1f8
ret
Function at 0x1401766f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140376800]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x68]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140176757
mov eax, 0xffffffff
jmp 0x14017675c
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0x58
ret
Function at 0x140177630
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x14039c2a0], 0
jne 0x140177645
xor edx, edx
mov ecx, 0x10001
jmp fcn.140176820
jmp 0x140179980
push rbx
sub rsp, 0xa0
mov rax, qword [0x140376800]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140179a1a
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1401799e5
mov rbx, qword [0x14039c690]
test rbx, rbx
je 0x1401799fb
mov rcx, rbx
call fcn.140176dd0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1401799d3
jmp 0x1401799fb
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1401799c0
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x140179b17
lea rdx, str.GLFW
mov qword [rsp + 0xc0], rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rdi, rax
test rax, rax
je 0x140179b0f
movdqa xmm0, xmmword [0x14025ac90]
xor ebx, ebx
movdqa xmm1, xmmword [0x14025aca0]
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
lea r15, [0x14039dd78]
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
nop word [rax + rax]
movsxd rbp, dword [rsp + rbx*8 + 0x64]
mov ecx, dword [rsp + rbx*8 + 0x60]
movsx r14d, word [r15 + rbp*2]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x140179ade
cmp byte [rbp + rdi + 0x88], 1
jne 0x140179ade
call fcn.14017af60
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.140177ef0
inc rbx
cmp rbx, 4
jl 0x140179aa0
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [0x14039e718]
test rbx, rbx
je 0x140179b9c
mov rcx, qword [rbx + 0x350]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
cmp dword [rbx + 0x388], eax
jne 0x140179b5e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x38c], eax
je 0x140179b9c
mov rcx, qword [rbx + 0x350]
mov eax, r8d
cdq
mov dword [rsp + 0x60], r9d
sub eax, edx
mov dword [rbx + 0x388], r9d
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x38c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0xa0
pop rbx
ret
Function at 0x140177650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [0x14039c2a0], 0
mov r10d, r9d
mov r11d, r8d
jne 0x14017766b
xor edx, edx
mov ecx, 0x10001
jmp fcn.140176820
mov r8d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x30]
test r8d, r8d
jle 0x1401776c0
test r9d, r9d
jle 0x1401776c0
mov eax, dword [rsp + 0x38]
cmp eax, 0xfffffffe
jg 0x14017769c
mov r8d, eax
lea rdx, str.Invalid_refresh_rate__i
mov ecx, 0x10004
jmp fcn.140176820
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r8d
mov dword [rcx + 0x2c], r8d
mov r8d, r11d
mov dword [rcx + 0x30], r9d
mov r9d, r10d
mov dword [rcx + 0x40], eax
jmp fcn.140179ea0
lea rdx, str.Invalid_window_size__ix_i
mov ecx, 0x10004
jmp fcn.140176820

Function at 0x1401782a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub rsp, 0x28
cmp dword [0x14039c2a0], 0
jne 0x1401782c0
xor edx, edx
mov ecx, 0x10001
call fcn.140176820
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp 0x1401795f0
sub rsp, 0x28
mov rcx, qword [0x14039d958]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x14017961d
lea rdx, str.Win32:_Failed_to_open_clipboard
mov ecx, 0x10008
call fcn.14017da30
xor eax, eax
add rsp, 0x28
ret
mov ecx, reloc.WS2_32.dll_listen
mov qword [rsp + 0x30], rbx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
jne 0x140179658
lea rdx, str.Win32:_Failed_to_convert_clipboard_to_string
mov ecx, 0x10009
call fcn.14017da30
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x28
ret
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
test rax, rax
jne 0x140179696
lea rdx, str.Win32:_Failed_to_lock_global_handle
mov ecx, 0x10008
call fcn.14017da30
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
mov rcx, qword [0x14039d970]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call fcn.14017d880
mov rcx, rbx
mov qword [0x14039d970], rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, qword [0x14039d970]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret