joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400112f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xf8
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140011359
lea rdx, str.VirtualAlloc2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402e7b98], rax
lea rdx, str.MapViewOfFile3
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402e7ba0], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [0x1402e7bf0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.1400026c0
mov qword [0x1402e7ba8], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14001138f
mov rax, qword [rsp + 0x40]
mov qword [0x1402e7c28], rax
jmp 0x14001139a
mov qword [0x1402e7c28], 1
mov r8d, 2
mov rdx, qword [0x1402e7ba8]
lea rcx, [rsp + 0x90]
call fcn.140010a90
lea rcx, [rsp + 0x48]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [0x1402e7c18]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0x118]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [0x1402e7ba8]
lea rcx, [rsp + 0xd0]
call fcn.140010b90
lea rcx, [rsp + 0xb0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
lea rax, [0x1402e7bb0]
lea rcx, [rsp + 0xb0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
jmp 0x140011460
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
jne 0x14001152f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x30], rax
jne 0x140011491
jmp 0x140011534
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xa0]
call fcn.14000a070
lea rcx, [rsp + 0x58]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x58]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x80]
lea rcx, [rsp + 0x68]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x80]
lea rdx, [0x1402e7bd0]
mov rcx, qword [0x1402e7ba8]
call fcn.14000c540
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x140011453
add rsp, 0xf8
pop rdi
pop rsi
ret

Function at 0x1400116b0
Capabilities:
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x50
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
add rsp, 0x50
pop rdi
ret
Function at 0x1400116f0
Capabilities:
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x50
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
add rsp, 0x50
pop rdi
ret
Function at 0x140012000
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400122d0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf8
mov rax, qword [0x1402e64c0]
xor rax, rsp
mov qword [rsp + 0xe8], rax
call fcn.140010830
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x110]
call fcn.140010880
test eax, eax
je 0x140012327
xor eax, eax
jmp 0x140012541
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x110]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x48], 0
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x48]
cmp qword [rax + 8], rcx
jae 0x14001237c
mov rax, qword [rsp + 0x118]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
jmp 0x140012386
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x48]
cmp qword [rax], rcx
jae 0x1400123aa
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x1400123b4
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.140004890
lea rcx, [rsp + 0xc8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xd8]
lea rcx, [rsp + 0xc8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x80]
lea rcx, [rsp + 0xd8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x80]
call fcn.140004990
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x38], rax
jae 0x14001253c
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140001210
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x50]
and rcx, rax
mov rax, rcx
mov dword [rsp + 0xa0], eax
movabs rax, 0xffffffff00000000
mov rcx, qword [rsp + 0x50]
and rcx, rax
mov rax, rcx
shr rax, 0x20
mov dword [rsp + 0xa4], eax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x40]
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x30], eax
je 0x140012537
jmp 0x14001253c
jmp 0x140012445
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1401c2c80
add rsp, 0xf8
pop rdi
pop rsi
ret
Function at 0x140012570
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1402e64c0]
xor rax, rsp
mov qword [rsp + 0x98], rax
call fcn.140010830
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
call fcn.140010880
test eax, eax
je 0x1400125c4
jmp 0x14001270b
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0xb0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x38], rax
jae 0x14001270b
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140001210
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
mov dword [rsp + 0x80], eax
movabs rax, 0xffffffff00000000
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
shr rax, 0x20
mov dword [rsp + 0x84], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x1400126de
jmp 0x14001270b
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x140012612
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401c2c80
add rsp, 0xa0
pop rdi
ret
Function at 0x140012890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
xor edx, edx
xor ecx, ecx
call fcn.14000f5a0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140002e20
lea rcx, [rsp + 0x40]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x50]
mov rdi, rax
mov rsi, qword [rsp + 0xd0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xa0]
call fcn.14000e430
lea rcx, [rsp + 0x60]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x60]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x140012964
mov eax, dword [rsp + 0x20]
not eax
and eax, 0x10
test eax, eax
je 0x140012964
mov dword [rsp + 0x24], 1
jmp 0x14001296c
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x80]
lea rcx, [rsp + 0x30]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x80]
call fcn.140002e80
mov eax, dword [rsp + 0x28]
add rsp, 0xb8
pop rdi
pop rsi
ret

Function at 0x1400131b0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov rax, qword [0x1402e64c0]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call fcn.14000f5a0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140002e20
lea rcx, [rsp + 0x48]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x38]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x60]
mov rdi, rax
mov rsi, qword [rsp + 0x100]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call fcn.14000e430
lea rcx, [rsp + 0x70]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x28]
lea rcx, [rsp + 0x70]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x24
rep stosb byte [rdi], al
lea r8, [rsp + 0xb0]
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov eax, dword [rsp + 0xb0]
and eax, 0x10
test eax, eax
je 0x1400132b2
mov dword [rsp + 0x20], 1
jmp 0x1400132cb
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400132cb
mov dword [rsp + 0x20], 1
lea rax, [rsp + 0x80]
lea rcx, [rsp + 0x38]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x80]
call fcn.140002e80
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1401c2c80
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x140013e50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1402e64c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ecx, 1
call fcn.140016770
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], 3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x30]
lea r8, [0x140016880]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401c2c80
add rsp, 0x58
ret

Function at 0x140014d10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140014db4
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
inc rax
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140014dae
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x28]
call fcn.140226460
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x28]
mov byte [rcx + rax], 0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rsp + 0x20]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
add rsp, 0x38
ret
Function at 0x140014dc0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140014ee2
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140014ee2
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140014edc
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140014edc
mov rcx, qword [rsp + 0x20]
call fcn.140009fd0
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x80]
call fcn.14000a070
lea rcx, [rsp + 0x48]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x90]
call fcn.14000ad70
lea rcx, [rsp + 0x70]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x38]
lea rcx, [rsp + 0x70]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rax, [rsp + 0x38]
mov rdi, qword [rsp + 0xc0]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xc0]
add rsp, 0xa8
pop rdi
pop rsi
ret

Function at 0x140015160
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.140016a00
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x5c], 1
mov edx, 5
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0
je 0x1400151b7
mov edx, 3
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
add rsp, 0x38
ret

Function at 0x140015fe0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 0
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14001600c
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14001602c
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14001604c
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140023610
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x1505
mov qword [rsp], 0
jmp 0x140023637
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 8]
cmp qword [rsp], rax
jae 0x14002366e
mov rax, qword [rsp + 8]
shl rax, 5
add rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
mov rdx, qword [rsp]
movzx ecx, byte [rcx + rdx]
add rax, rcx
mov qword [rsp + 8], rax
jmp 0x14002362c
mov rax, qword [rsp + 8]
add rsp, 0x18
ret
Function at 0x14002a9a0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0x1505
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
jmp 0x14002a9da
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 8]
cmp qword [rsp + 0x20], rax
jae 0x14002aa03
mov rax, qword [rsp]
shl rax, 5
add rax, qword [rsp]
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx]
add rax, rcx
mov qword [rsp], rax
jmp 0x14002a9cd
mov rax, qword [rsp]
add rsp, 0x18
ret
Function at 0x140034260
Capabilities:
Hash data using djb2

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov qword [rsp + 8], 0x1505
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x10], rax
jmp 0x14003429f
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
mov rax, qword [rsp + 0x10]
cmp qword [rsp], rax
jae 0x1400342c8
mov rax, qword [rsp + 8]
shl rax, 5
add rax, qword [rsp + 8]
mov rcx, qword [rsp]
mov ecx, dword [rcx]
add rax, rcx
mov qword [rsp + 8], rax
jmp 0x140034293
mov rax, qword [rsp + 8]
add rsp, 0x28
ret
Function at 0x14003c620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x88]
cmp qword [rax + 8], 0x38
jb 0x14003c658
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
cmp qword [rsp + 0x20], 0
je 0x14003c832
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0x131ca0b
jne 0x14003c832
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 4]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
cmp qword [rsp + 0x30], rax
jae 0x14003c6aa
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
jmp 0x14003c6bb
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
cmp qword [rsp + 0x40], rax
jae 0x14003c6fc
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
jmp 0x14003c70d
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov edx, 0x50
mov rcx, qword [rsp + 0x80]
call fcn.140002cc0
mov r8d, 0x50
xor edx, edx
mov rcx, rax
call fcn.140226b00
mov qword [rsp + 0x28], rax
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x88]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 8]
mov dword [rax + 0x20], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
movzx ecx, word [rcx + 0x14]
mov word [rax + 0x28], cx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
movzx ecx, word [rcx + 0x16]
mov word [rax + 0x2a], cx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x2c], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x1c]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x20]
mov dword [rax + 0x34], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x24]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x28]
mov dword [rax + 0x3c], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x2c]
mov dword [rax + 0x40], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x30]
mov dword [rax + 0x44], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x34]
mov dword [rax + 0x48], ecx
mov rax, qword [rsp + 0x28]
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140047970
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x18]
mov ecx, dword [rsp + 0xb8]
cmp dword [rax + 0x10], ecx
ja 0x140047b33
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0xb8], eax
jae 0x140047b33
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x18]
mov ecx, dword [rcx + 0x10]
mov edx, dword [rsp + 0xb8]
sub edx, ecx
mov ecx, edx
mov ecx, ecx
mov rax, qword [rax + 0x18]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x18]
lea rcx, [rsp + 0x68]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp eax, 0x1201
jne 0x140047b33
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 4]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
add ecx, eax
mov eax, ecx
mov eax, eax
cmp rax, qword [rsp + 0x70]
ja 0x140047b33
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 2]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 4]
sub eax, 2
cdqe
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 4
jb 0x140047b33
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
sub rax, 4
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x24]
cmp dword [rax], ecx
jae 0x140047acb
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
jmp 0x140047ad3
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x20], 0
jmp 0x140047aef
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x20], eax
jae 0x140047b33
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
mov edx, dword [rcx + rax*4]
mov rcx, qword [rsp + 0xb0]
call fcn.140047900
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.140031e60
jmp 0x140047ae5
add rsp, 0x88
pop rdi
pop rsi
ret