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

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x78]
call fcn.0040ab70
nop
mov rcx, qword [rbp + 0x38]
call fcn.0040a9e0
lea rcx, [0x00487fb4]
mov rdx, qword [rbp + 0x78]
call fcn.0040c8b0
test eax, eax
jne 0x487eb0
lea rcx, [rbp + 0x48]
mov edx, 1
call fcn.0040c220
mov rcx, qword [rbp + 0x78]
call fcn.0040bfb0
mov rbx, rax
mov rcx, qword [rbp + 0x48]
call fcn.0040bfb0
xor rcx, rcx
mov rdx, rbx
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_SearchPathW
mov ebx, eax
add ebx, 1
lea rcx, [rbp + 0x48]
mov edx, ebx
call fcn.0040c220
mov rcx, qword [rbp + 0x78]
call fcn.0040bfb0
mov rsi, rax
mov rcx, qword [rbp + 0x48]
call fcn.0040bfb0
xor rcx, rcx
mov rdx, rsi
xor r8, r8
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_SearchPathW
test eax, eax
je 0x487e9e
mov rcx, qword [rbp + 0x48]
call fcn.0040bfb0
mov rcx, rax
call fcn.0040b240
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.0040c220
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
call fcn.0040b030
jmp 0x487f51
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x78]
call fcn.0040b030
jmp 0x487f51
lea rcx, [rbp + 0x48]
mov edx, 1
call fcn.0040c220
mov rcx, qword [rbp + 0x78]
call fcn.0040bfb0
mov rbx, rax
mov rcx, qword [rbp + 0x48]
call fcn.0040bfb0
mov rcx, rbx
mov rdx, rax
xor r8, r8
call sub.kernel32.dll_ExpandEnvironmentStringsW
mov ebx, eax
add ebx, 1
lea rcx, [rbp + 0x48]
mov edx, ebx
call fcn.0040c220
mov rcx, qword [rbp + 0x78]
call fcn.0040bfb0
mov rsi, rax
mov rcx, qword [rbp + 0x48]
call fcn.0040bfb0
mov rcx, rsi
mov rdx, rax
mov r8d, ebx
call sub.kernel32.dll_ExpandEnvironmentStringsW
test eax, eax
je 0x487f44
mov rcx, qword [rbp + 0x48]
call fcn.0040bfb0
mov rcx, rax
call fcn.0040b240
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.0040c220
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
call fcn.0040b030
jmp 0x487f51
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x78]
call fcn.0040b030
nop
lea rcx, [rbp + 0x48]
call fcn.0040a9e0
lea rcx, [rbp + 0x78]
call fcn.0040a9e0
mov rax, qword [rbp + 0x38]
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x4887c0
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x250
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x260], rcx
nop
mov rcx, qword [rbp + 0x260]
call fcn.0040a9e0
nop
mov ecx, 0xff
lea rdx, [rbp + 0x50]
call sub.kernel32.dll_GetTempPathW
test eax, eax
je 0x4888ba
mov rcx, qword [rbp + 0x260]
lea rdx, [rbp + 0x50]
call fcn.0040c030
lea rcx, [rbp + 0x30]
mov rax, qword [rbp + 0x260]
mov rdx, qword [rax]
call fcn.0048a030
mov rcx, qword [rbp + 0x260]
mov rdx, qword [rbp + 0x30]
call fcn.0040b030
lea rcx, [rbp + 0x28]
mov rax, qword [rbp + 0x260]
mov rdx, qword [rax]
call fcn.00488630
mov rcx, qword [rbp + 0x260]
mov rdx, qword [rbp + 0x28]
call fcn.0040b030
mov rax, qword [rbp + 0x260]
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x44], 0
cmp qword [rbp + 0x48], 0
je 0x488887
mov rax, qword [rbp + 0x48]
mov eax, dword [rax - 4]
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x260]
mov rax, qword [rax]
movsxd rcx, dword [rbp + 0x44]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x4888ba
mov rcx, qword [rbp + 0x260]
lea rdx, [0x00488924]
call fcn.0040c300
jmp 0x4888ba
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040aac0
mov rax, qword [rbp + 0x260]
lea rsp, [rbp + 0x250]
pop rbp
ret
Function at 0x488930
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xa0], rcx
nop
nop
call fcn.00486f40
cmp al, 9
jb 0x488a45
lea rcx, [rbp + 0x88]
mov edx, 0x104
call fcn.0040c220
nop
mov rcx, qword [rbp + 0x88]
call fcn.0040bfb0
xor rcx, rcx
mov edx, 0x1a
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], rax
call sub.SHFolder.dll_SHGetFolderPathW
test eax, eax
jne 0x488a35
mov rcx, qword [rbp + 0x88]
call fcn.0040bfb0
mov rcx, qword [rbp + 0xa0]
mov rdx, rax
call fcn.004288d0
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x7c], 0
cmp qword [rbp + 0x80], 0
je 0x4889fb
mov rax, qword [rbp + 0x80]
mov eax, dword [rax - 4]
mov dword [rbp + 0x7c], eax
cmp dword [rbp + 0x7c], 0
jle 0x488a24
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax]
call fcn.00431860
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0x40]
call fcn.0040b030
xor rcx, rcx
mov rdx, qword [rbp + 0x48]
call fcn.00488b50
jmp 0x488b1a
nop
lea rcx, [rbp + 0x88]
xor rdx, rdx
call fcn.0040c220
mov rax, qword [0x00536700]
mov rcx, qword [rax]
lea rdx, [0x00488bdc]
lea r8, [0x00488c6c]
mov r9, qword [rbp + 0xa0]
call fcn.00486010
test al, al
je 0x488b19
lea rcx, [rbp + 0x38]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax]
call fcn.00488630
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0x38]
call fcn.0040b030
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x6c], 0
cmp qword [rbp + 0x70], 0
je 0x488aba
mov rax, qword [rbp + 0x70]
mov eax, dword [rax - 4]
mov dword [rbp + 0x6c], eax
cmp dword [rbp + 0x6c], 0
jle 0x488b19
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x5c], 0
cmp qword [rbp + 0x60], 0
je 0x488ae6
mov rax, qword [rbp + 0x60]
mov eax, dword [rax - 4]
mov dword [rbp + 0x5c], eax
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
movsxd rcx, dword [rbp + 0x5c]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x488b19
mov rcx, qword [rbp + 0xa0]
lea rdx, [0x00488c88]
call fcn.0040c300
jmp 0x488b19
nop
lea rcx, [rbp + 0x38]
mov edx, 2
call fcn.0040aac0
lea rcx, [rbp + 0x88]
call fcn.0040a9e0
mov rax, qword [rbp + 0xa0]
lea rsp, [rbp + 0x90]
pop rbp
ret
Function at 0x4894c0
Capabilities:
Create directory

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov byte [rbp + 0x26], dl
mov byte [rbp + 0x27], r8b
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
nop
mov al, 1
mov byte [rbp + 0x25], al
mov qword [rbp + 0x58], 0
movzx rax, byte [rbp + 0x26]
test al, al
je 0x489523
call fcn.00487c40
mov qword [rbp + 0x58], rax
xor rax, rax
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x489536
mov rax, qword [rbp + 0x28]
mov eax, dword [rax - 4]
test eax, eax
jne 0x489545
xor rax, rax
mov byte [rbp + 0x25], al
jmp 0x48969b
movzx rax, byte [rbp + 0x27]
test al, al
je 0x48967d
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x28]
call fcn.0040b0b0
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
call fcn.004318c0
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x48]
call fcn.0040b0b0
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
call fcn.00427f20
xor rax, rax
cmp qword [rbp + 0x60], 0
je 0x489597
mov rax, qword [rbp + 0x60]
mov eax, dword [rax - 4]
cmp eax, 2
jne 0x4895ce
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x60]
mov r8d, 2
mov r9d, 1
call fcn.0040c5e0
mov rcx, qword [rbp + 0x38]
lea rdx, [0x00489748]
call fcn.0040c5d0
test eax, eax
sete al
jmp 0x4895d1
xor rax, rax
test al, al
je 0x4895d9
mov al, 1
jmp 0x4895e4
mov rcx, qword [rbp + 0x60]
mov dl, 1
call fcn.00427620
test al, al
je 0x4895ec
mov al, 1
jmp 0x4895fe
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
call fcn.0040c5d0
test eax, eax
sete al
test al, al
jne 0x48969b
cmp qword [rbp + 0x68], 0
jne 0x48962c
mov rcx, qword [rbp + 0x60]
call fcn.0040bfb0
mov rcx, rax
mov rdx, qword [rbp + 0x58]
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
setne al
mov byte [rbp + 0x25], al
jmp 0x48969a
mov rcx, qword [rbp + 0x68]
call fcn.0040bfb0
lea rcx, [rbp + 0x30]
mov rdx, rax
call fcn.0040c030
mov rcx, qword [rbp + 0x30]
movzx rdx, byte [rbp + 0x26]
movzx r8, byte [rbp + 0x27]
call fcn.004894c0
test al, al
je 0x489671
mov rcx, qword [rbp + 0x60]
call fcn.0040bfb0
mov rcx, rax
mov rdx, qword [rbp + 0x58]
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x489676
xor rax, rax
jmp 0x489678
mov al, 1
mov byte [rbp + 0x25], al
jmp 0x48969a
mov rcx, qword [rbp + 0x28]
call fcn.0040bfb0
mov rcx, rax
lea rdx, [rbp + 0x58]
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
setne al
mov byte [rbp + 0x25], al
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040aac0
lea rcx, [rbp + 0x48]
mov edx, 2
call fcn.0040aac0
lea rcx, [rbp + 0x60]
mov edx, 2
call fcn.0040aac0
movzx rax, byte [rbp + 0x25]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x489750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call fcn.0040bfb0
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x48976e
test eax, 0x10
jne 0x489773
xor rax, rax
jmp 0x489775
mov al, 1
add rsp, 0x28
ret
Function at 0x489fa0
Capabilities:
Set file attributes

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
xor rsi, rsi
mov rcx, rbx
call fcn.0048a000
test al, al
je 0x489ff1
mov rcx, rbx
call fcn.00427c70
mov esi, eax
test sil, sil
jne 0x489ff1
mov rcx, rbx
call fcn.00489ea0
mov rcx, rbx
call fcn.0040bfb0
mov rcx, rax
mov edx, 0x80
call sub.kernel32.dll_SetFileAttributesW
mov rcx, rbx
call fcn.00427c70
mov esi, eax
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x48a000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call fcn.0040bfb0
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x48a01e
test eax, 0x10
je 0x48a023
xor rax, rax
jmp 0x48a025
mov al, 1
add rsp, 0x28
ret

Function at 0x48b800
Capabilities:
Get file version info

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp + 0x40]
mov byte [rax + 0x10], 0
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 8]
call fcn.0040bfb0
mov rcx, rax
mov rdx, qword [rbp + 0x40]
add rdx, 0x20
call sub.version.dll_GetFileVersionInfoSizeW
mov rcx, qword [rbp + 0x40]
mov dword [rcx + 0x14], eax
mov rax, qword [rbp + 0x40]
cmp dword [rax + 0x14], 0
jbe 0x48b8bc
nop
mov rax, qword [rbp + 0x40]
mov ecx, dword [rax + 0x14]
call fcn.00405970
mov rcx, qword [rbp + 0x40]
mov qword [rcx + 0x18], rax
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x18]
mov rax, qword [rbp + 0x40]
mov edx, dword [rax + 0x14]
xor r8, r8
call fcn.00406dc0
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 8]
call fcn.0040bfb0
mov rcx, rax
mov rax, qword [rbp + 0x40]
mov edx, dword [rax + 0x20]
mov rax, qword [rbp + 0x40]
mov r8d, dword [rax + 0x14]
mov rax, qword [rbp + 0x40]
mov r9, qword [rax + 0x18]
call sub.version.dll_GetFileVersionInfoW
mov rcx, qword [rbp + 0x40]
test eax, eax
setne al
mov byte [rcx + 0x10], al
jmp 0x48b8bc
lea rsp, [rbp + 0x30]
pop rbp
ret
Function at 0x490f60
Capabilities:
Set file attributes

Disassembly:
push rbp
push rbx
sub rsp, 0x88
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov word [rbp + 0x50], dx
mov word [rbp + 0x52], r8w
mov word [rbp + 0x4e], r9w
mov qword [rbp + 0x58], 0
nop
call fcn.00494720
mov rbx, rax
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x40]
call fcn.0040c000
mov rcx, rbx
mov rdx, qword [rbp + 0x58]
call fcn.0048fe70
test al, al
je 0x490fba
mov eax, 1
mov dword [rbp + 0x54], eax
jmp 0x491075
mov rcx, qword [rbp + 0x40]
mov edx, 0xc0000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x8000080
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileA
mov rbx, rax
cmp rbx, 0xffffffffffffffff
jne 0x49100b
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [rbp + 0xc0]
mov dword [rcx], eax
xor rax, rax
mov dword [rbp + 0x54], eax
jmp 0x491074
movzx rcx, word [rbp + 0x50]
movzx rdx, word [rbp + 0x52]
lea r8, [rbp + 0x78]
call sub.kernel32.dll_DosDateTimeToFileTime
test eax, eax
je 0x49104e
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x70]
call sub.kernel32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x49104e
mov rcx, rbx
lea rdx, [rbp + 0x70]
xor r8, r8
lea r9, [rbp + 0x70]
call sub.kernel32.dll_SetFileTime
mov rcx, rbx
call sub.kernel32.dll_CloseHandle_1
mov rcx, qword [rbp + 0x40]
movzx rdx, word [rbp + 0x4e]
and dx, 0x27
movzx edx, dx
call sub.kernel32.dll_SetFileAttributesA
mov eax, 1
mov dword [rbp + 0x54], eax
nop
lea rcx, [rbp + 0x58]
call fcn.0040a9e0
mov eax, dword [rbp + 0x54]
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret

Function at 0x492090
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rdx
mov dword [rbp + 0x40], r8d
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
nop
mov byte [rbp + 0x9f], 0
mov rax, qword [rbp + 0x38]
lea rax, [rax + 0x18]
add dword [rax], 1
add dword [rax - 0x75], ecx
xor byte [r8 - 0x73], r9b
push rbp
js 0x49214a
mov eax, dword [rbp + 0x38]
Function at 0x495e70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, edx
mov rax, qword [0x00536ca0]
cmp dword [rax], 2
je 0x495e98
lea rcx, [rbx + 8]
call sub.kernel32.dll_EnterCriticalSection_1
mov dil, 1
jmp 0x495ee7
cmp esi, 0xffffffff
jne 0x495eab
lea rcx, [rbx + 8]
call sub.kernel32.dll_EnterCriticalSection_1
mov dil, 1
jmp 0x495ee7
call sub.kernel32.dll_GetTickCount_1
mov r13d, eax
lea rcx, [rbx + 8]
call sub.kernel32.dll_TryEnterCriticalSection
test eax, eax
setne dil
test dil, dil
jne 0x495ee6
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov edx, 0xa
call sub.kernel32.dll_WaitForSingleObject
call sub.kernel32.dll_GetTickCount_1
sub eax, r13d
cmp eax, esi
jbe 0x495eb3
nop
mov eax, edi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x497b90
Capabilities:
Get geographical location

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x58], 0
nop
lea rcx, [rbp + 0x58]
lea rdx, [0x00497d1c]
call fcn.0040b0b0
mov ecx, 0x400
mov edx, 0x59
lea r8, [rbp + 0x44]
mov r9d, 0xa
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
sete al
test al, al
je 0x497c10
mov ecx, 0x400
mov edx, 0x5a
lea r8, [rbp + 0x4e]
mov r9d, 0xa
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
je 0x497c15
xor rax, rax
jmp 0x497c17
mov al, 1
test al, al
je 0x497c35
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x44]
call fcn.0040c030
mov rcx, qword [rbp + 0x28]
lea rdx, [rbp + 0x4e]
call fcn.0040c030
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x58]
call fcn.00425930
mov rcx, qword [rbp + 0x38]
lea rdx, [0x00497d30]
call fcn.0040c5d0
test eax, eax
jne 0x497c8f
lea rcx, [rbp + 0x30]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00425930
mov rcx, qword [rbp + 0x30]
lea rdx, [0x00497d44]
call fcn.0040c5d0
test eax, eax
jne 0x497c8f
mov rcx, qword [rbp + 0x20]
mov rdx, qword [0x0052a6a0]
xor r8, r8
call fcn.0040b8c0
jmp 0x497c9f
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x58]
xor r8, r8
call fcn.0040b8c0
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040aac0
lea rcx, [rbp + 0x58]
call fcn.0040a9e0
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x60]
pop rbp
ret

Function at 0x49d760
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
xor rbx, rbx
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49d77b
or ebx, 4
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49d78e
or ebx, 8
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49d7a1
or ebx, 0x20
mov ecx, 0x5b
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49d7b4
or ebx, 0x40
mov ecx, 0x5c
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49d7c7
or ebx, 0x40
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x4a4c80
Capabilities:
Capture screenshot

Disassembly:
push rbp
sub rsp, 0xe0
mov rbp, rsp
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], rdx
nop
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax + 0x61b]
lea rdx, [rbp + 0x60]
call sub.user32.dll_GetClientRect
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xd0], 0
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
jne 0x4a4d0e
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax + 0x61b]
lea rdx, [rbp + 0x70]
call sub.user32.dll_BeginPaint
mov qword [rbp + 0xb8], rax
jmp 0x4a4d2d
mov rcx, qword [rbp + 0xf8]
call sub.user32.dll_WindowFromDC
test rax, rax
jne 0x4a4d2d
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0xd0], rax
cmp qword [rbp + 0xd0], 0
jne 0x4a4dab
mov rax, qword [rbp + 0xf0]
cmp qword [rax + 0x189], 0
jne 0x4a4dab
xor rcx, rcx
call sub.user32.dll_GetDC
mov qword [rbp + 0xc0], rax
mov rcx, qword [rbp + 0xc0]
mov edx, dword [rbp + 0x68]
mov r8d, dword [rbp + 0x6c]
call sub.gdi32.dll_CreateCompatibleBitmap
mov qword [rbp + 0xd8], rax
xor rcx, rcx
mov rdx, qword [rbp + 0xc0]
call sub.user32.dll_ReleaseDC
xor rcx, rcx
call sub.gdi32.dll_CreateCompatibleDC
mov qword [rbp + 0xd0], rax
mov rcx, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xd8]
call sub.gdi32.dll_SelectObject
mov qword [rbp + 0xc8], rax
jmp 0x4a4dd1
mov rax, qword [rbp + 0xf0]
cmp qword [rax + 0x189], 0
je 0x4a4dd1
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x189]
mov qword [rbp + 0xd0], rax
nop
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rbp + 0xd0]
mov qword [rax + 0x189], rcx
mov rcx, qword [rbp + 0xf0]
mov edx, 0x14
mov r8, qword [rbp + 0xd0]
mov r9, qword [rbp + 0xd0]
call fcn.004a8be0
cmp qword [0x00540950], 0
je 0x4a4e25
mov rcx, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xf0]
call qword [0x00540950]
mov rcx, qword [rbp + 0xf0]
mov edx, 0xf
mov r8, qword [rbp + 0xd0]
xor r9, r9
call fcn.004a8be0
mov rax, qword [rbp + 0xf0]
cmp qword [rax + 0x677], 0
je 0x4a4e68
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax + 0x677]
xor rdx, rdx
call fcn.0049e840
mov rcx, qword [rbp + 0xb8]
xor rdx, rdx
call sub.gdi32.dll_SelectClipRgn
mov rax, qword [rbp + 0xb8]
cmp rax, qword [rbp + 0xd0]
je 0x4a4ec8
mov rcx, qword [rbp + 0xb8]
xor rdx, rdx
xor r8, r8
mov r9d, dword [rbp + 0x68]
mov eax, dword [rbp + 0x6c]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0xcc0020
call sub.gdi32.dll_BitBlt
cmp qword [rbp + 0xf8], 0
jne 0x4a4ee9
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax + 0x61b]
lea rdx, [rbp + 0x70]
call sub.user32.dll_EndPaint
nop
cmp qword [rbp + 0xd8], 0
je 0x4a4f33
mov rcx, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xc8]
call sub.gdi32.dll_SelectObject
mov rcx, qword [rbp + 0xd0]
call sub.gdi32.dll_DeleteDC
mov rcx, qword [rbp + 0xd8]
call sub.gdi32.dll_DeleteObject
mov rax, qword [rbp + 0xf0]
mov qword [rax + 0x189], 0
jmp 0x4a4f5f
mov rax, qword [rbp + 0xd0]
cmp rax, qword [rbp + 0xf8]
jne 0x4a4f5f
mov rax, qword [rbp + 0xf0]
mov qword [rax + 0x189], 0
jmp 0x4a4f5f
lea rsp, [rbp + 0xe0]
pop rbp
ret
Function at 0x4a5f30
Capabilities:
Get graphical window text

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rsi, rdx
cmp qword [rbx + 0x61b], 0
je 0x4a5fa8
cmp byte [rbx + 0x661], 0
jne 0x4a5fa8
mov rcx, qword [rbx + 0x61b]
call sub.user32.dll_GetWindowTextLengthW
test eax, eax
jne 0x4a5f67
xor rdi, rdi
jmp 0x4a5f8e
mov r13d, eax
add r13d, 1
add r13d, r13d
movsxd rcx, r13d
call fcn.00405970
mov rdi, rax
mov rcx, qword [rbx + 0x61b]
mov rdx, rdi
mov r8d, r13d
call sub.user32.dll_GetWindowTextW
mov rcx, rsi
mov rdx, rdi
call fcn.0040c030
test rdi, rdi
je 0x4a5fb7
mov rcx, rdi
call fcn.004059a0
jmp 0x4a5fb7
mov rcx, rsi
mov rdx, qword [rbx + 0x649]
call fcn.0040c030
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x4acee0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x148
mov dword [rsp + 0x24], 0x11c
lea rcx, [rsp + 0x24]
call sub.kernel32.dll_GetVersionExW
cmp dword [rsp + 0x34], 2
jne 0x4acf21
mov al, 4
cmp dword [rsp + 0x28], 6
jne 0x4acf0d
mov al, 7
jmp 0x4acf5d
cmp dword [rsp + 0x28], 5
jb 0x4acf5d
mov al, 5
cmp dword [rsp + 0x2c], 1
jb 0x4acf5d
mov al, 6
jmp 0x4acf5d
cmp dword [rsp + 0x34], 1
jne 0x4acf5a
mov al, 1
cmp dword [rsp + 0x28], 4
ja 0x4acf3f
cmp dword [rsp + 0x28], 4
jne 0x4acf41
cmp dword [rsp + 0x2c], 0xa
jb 0x4acf41
mov al, 2
cmp dword [rsp + 0x28], 4
ja 0x4acf56
cmp dword [rsp + 0x28], 4
jne 0x4acf5d
cmp dword [rsp + 0x2c], 0x5a
jb 0x4acf5d
mov al, 3
jmp 0x4acf5d
xor rax, rax
add rsp, 0x148
ret
Function at 0x4b6690
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x88], r9
mov rcx, qword [rbp + 0x88]
call fcn.0040ab70
nop
mov rcx, qword [rbp + 0x40]
call fcn.0040bfb0
mov rbx, rax
mov rcx, qword [rbp + 0x38]
call fcn.0040bfb0
mov rsi, rax
mov rcx, qword [rbp + 0x88]
call fcn.0040bfb0
mov rcx, qword [rbp + 0x30]
lea rdx, [0x004b6754]
mov r8, rbx
mov r9, rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 5
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta al
mov byte [rbp + 0x4f], al
nop
lea rcx, [rbp + 0x88]
call fcn.0040a9e0
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret

Function at 0x4b69b0
Capabilities:
Parse url

Disassembly:
push rbp
sub rsp, 0xa0
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0xb0], rcx
mov rcx, qword [rbp + 0xb0]
call fcn.0040ab70
nop
lea rcx, [rbp + 0x38]
mov edx, 0x68
xor r8, r8
call fcn.00406dc0
lea rcx, [rbp + 0x38]
call fcn.004b79a0
nop
mov dword [rbp + 0x38], 0x68
mov rcx, qword [rbp + 0xb0]
call fcn.0040bfb0
mov rcx, rax
xor rdx, rdx
xor r8, r8
lea r9, [rbp + 0x38]
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [rbp + 0x4c]
mov dword [rbp + 0x34], eax
nop
lea rcx, [rbp + 0x38]
call fcn.004b7b10
nop
lea rcx, [rbp + 0xb0]
call fcn.0040a9e0
mov eax, dword [rbp + 0x34]
lea rsp, [rbp + 0xa0]
pop rbp
ret

Function at 0x4b8050
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
lea rax, [0x004b7d90]
movsxd rdx, ecx
mov rcx, rax
call sub.user32.dll_EnumWindows
add rsp, 0x28
ret

Function at 0x4b85c0
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
lea rax, [0x004b8330]
movsxd rdx, ecx
mov rcx, rax
call sub.user32.dll_EnumWindows
add rsp, 0x28
ret

Function at 0x4b98e0
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rbx
mov edx, 0x58
xor r8, r8
call fcn.00406dc0
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
add rsp, 0x20
pop rbx
ret
Function at 0x4df7c0
Capabilities:
Get graphical window text

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rsi, r8
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x980]
call fcn.0040d980
test rax, rax
jl 0x4df8a5
cmp word [rsi], 0xd
jne 0x4df886
mov rax, qword [rbx + 0x30]
cmp byte [rax + 0x70b], 0
je 0x4df866
mov rcx, qword [rbx + 0x30]
call fcn.004a8940
mov edi, eax
mov rcx, qword [rbx + 0x30]
call fcn.004a84f0
sub eax, 1
cmp edi, eax
jne 0x4df831
mov rcx, rbx
call fcn.004ebd80
mov rcx, qword [rbx + 0x30]
xor rdx, rdx
call fcn.004a8c70
jmp 0x4df8b6
mov rcx, qword [rbx + 0x30]
call fcn.004a8940
mov edi, eax
mov rcx, qword [rbx + 0x30]
call fcn.004a84f0
sub eax, 2
cmp edi, eax
jne 0x4df85a
mov rcx, qword [rbx + 0x30]
xor rdx, rdx
call fcn.004a8c70
jmp 0x4df8b6
mov rcx, qword [rbx + 0x30]
xor rdx, rdx
call fcn.004a8c70
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x61b]
mov edx, 0x464
mov r8d, 0xd
xor r9, r9
call sub.user32.dll_SendMessageW
cmp word [rsi], 0x1b
jne 0x4df8a5
mov rax, qword [rbx + 0x30]
cmp byte [rax + 0x70b], 0
je 0x4df8a5
mov rcx, qword [rbx + 0x30]
xor rdx, rdx
call fcn.004a8c70
cmp word [rsi], 0x21
jae 0x4df8b6
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x5a], 3
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret