joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cf1ac
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rdx
mov rsi, rcx
xor edi, edi
mov byte [rsp + 0x20], dil
or qword [rcx + 0x10], 0xffffffffffffffff
mov dword [rcx + 0x28], edi
lea r14, [rcx + 8]
xor edx, edx
mov rcx, r14
call fcn.14021e5d0
cmp qword [rbx + 0x10], rdi
je 0x1400cf2cb
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400765a0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1402231f0
nop
mov rdx, rax
mov rcx, r14
call fcn.14021e5c0
nop
lea rcx, [rsp + 0x28]
call fcn.14000cb30
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14021e5d0
nop
mov rax, qword [rsp + 0x28]
cmp qword [r14], rax
sete bl
lea rcx, [rsp + 0x28]
call fcn.14000cb30
test bl, bl
je 0x1400cf27b
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140223080
nop
mov rdx, rax
mov rcx, r14
call fcn.14021e5c0
nop
lea rcx, [rsp + 0x28]
call fcn.14000cb30
lea rcx, [rsp + 0x30]
call fcn.1402238c0
test al, al
jne 0x1400cf297
lea rcx, [rsp + 0x30]
call fcn.1402232d0
mov qword [rsi + 0x10], rax
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsi + 0x28], eax
mov dil, 1
mov byte [rsp + 0x20], dil
lea rcx, [rsp + 0x30]
call fcn.140222560
nop
jmp 0x1400cf2cb
mov al, dil
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1402194b0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r14
pop rdi
pop rsi
ret
Function at 0x1400d96b4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0xe8]
lea rcx, [rbp - 0x70]
call fcn.140179d84
nop
mov rcx, rsi
call fcn.1400e3788
lea r8, [rbp - 0x70]
mov rdx, qword [rbx + 0x190]
mov rcx, rax
call fcn.1400c2850
sub eax, 1
je 0x1400d982c
sub eax, 1
je 0x1400d974a
cmp eax, 1
je 0x1400d9737
or r8d, 0xffffffff
mov edx, InitCommonControls
mov ecx, 0xa47c
call fcn.1401a495c
jmp 0x1400d982c
mov rcx, qword [rbx + 0x190]
call fcn.14006a4f4
mov qword [rbx + 0x190], rax
mov eax, dword [rbp - 0x70]
xor r15d, r15d
test eax, eax
jle 0x1400d977c
lea rdx, [rbp]
add rbx, 0x320
mov r8d, eax
mov al, byte [rbx]
neg al
sbb ecx, ecx
and ecx, 2
inc ecx
mov dword [rdx], ecx
inc rbx
lea rdx, [rdx + 4]
sub r8, 1
jne 0x1400d9762
call fcn.14013067c
mov rdi, rax
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
cmovs r14, r15
lea rdx, [r14 + 0x188]
neg r14
sbb rbx, rbx
and rbx, rdx
mov rcx, rsi
call fcn.1400e3788
mov al, byte [rax + 0x48]
mov byte [rsp + 0x60], al
mov byte [rsp + 0x61], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
xor r8d, r8d
lea rdx, [0x14036ac58]
lea rcx, [rsp + 0x68]
call fcn.140013184
nop
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x48], r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rbx
movzx eax, word [rsp + 0x60]
mov word [rsp + 0x28], ax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.14012ca98
nop
lea rcx, [rsp + 0x68]
call fcn.14000dd24
nop
lea r9, [fcn.140044410]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rbp - 0x68]
call fcn.140219af0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1402194b0
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400dd0cc
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
xor sil, sil
mov rcx, qword [rcx + 0x218]
call fcn.1401e3118
mov edi, 0x1200
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400dd15c
mov sil, 1
jmp 0x1400dd139
mov rcx, qword [rbx + 0x218]
xor r9d, r9d
mov edx, 0x101c
mov rcx, qword [rcx + 0x40]
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x218]
call fcn.1401e3118
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jg 0x1400dd11c
mov rax, qword [rbx + 0x2f8]
xor edi, edi
cmp dword [rax + 8], edi
jle 0x1400dd1b8
mov rcx, qword [rbx + 0x218]
lea rax, str.text
and dword [rsp + 0x24], 0
lea r9, [rsp + 0x20]
and dword [rsp + 0x28], 0
mov edx, 0x1061
mov dword [rsp + 0x20], InitCommonControls
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x3c], edi
mov rcx, qword [rcx + 0x40]
movsxd r8, edi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 0x2f8]
inc edi
cmp edi, dword [rax + 8]
jl 0x1400dd16a
test sil, sil
je 0x1400dd1da
mov rcx, qword [rbx + 0x218]
xor r9d, r9d
mov edx, 0x101c
mov rcx, qword [rcx + 0x40]
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402194b0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400f8e7c
Capabilities:
Create directory
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov r8b, 1
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14017a8e4
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400bd1c0
mov rbx, rax
lea rdi, [0x140432678]
cmp rdi, rax
je 0x1400f8edd
mov rcx, rdi
call fcn.14000dd24
mov r8d, 0x20
mov rdx, rbx
mov rcx, rdi
call fcn.1402bec40
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
lea rcx, [rsp + 0x20]
call fcn.14000dd24
nop
lea rcx, [rsp + 0x40]
call fcn.14000dd24
mov rcx, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
jmp fcn.14017aec8

Function at 0x1400f9010
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.1402bf2e0
cmp qword [rdi + 0x10], 0xf6
jbe 0x1400f9086
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
xor r8d, r8d
lea rdx, [0x14036ac58]
mov rcx, rbx
call fcn.140013184
jmp 0x1400f9135
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400f9093
mov rdx, qword [rsi]
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400f90a0
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1400f9106
mov rcx, rdi
call fcn.14017aec8
cmp qword [rsi + 0x18], 7
jbe 0x1400f90c4
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 7
jbe 0x1400f90ce
mov rdi, qword [rdi]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1400f9106
call qword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
xor r8d, r8d
lea rdx, [0x14036ac58]
jmp 0x1400f912c
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bp
jne 0x1400f911d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140013184
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1402194b0
mov rbx, qword [rsp + 0x288]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f93d8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
mov word [rsp + 0x40], di
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x1400f943c
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140013184
nop
mov dword [rsp + 0x30], 1
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1402194b0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret

Function at 0x1400f97ac
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor edx, edx
mov dword [rsp + 0x70], 0x68
mov rbx, rcx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call fcn.1402bf2e0
xor edi, edi
mov dword [rsp + 0xac], 1
cmp qword [rbx + 0x18], 7
mov word [rsp + 0xb0], di
jbe 0x1400f9805
mov rbx, qword [rbx]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rbx
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x4000000
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400f985c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1402194b0
mov rbx, qword [rsp + 0x108]
add rsp, 0xf0
pop rdi
ret
Function at 0x1400f9880
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov word [rsp + 0x50], r15w
mov rcx, rdx
cmp qword [rdx + 0x18], 7
jbe 0x1400f98d4
mov rcx, qword [rdx]
mov r8d, 0x200
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
xorps xmm0, xmm0
cmp eax, 0x200
ja 0x1400f992a
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
lea rax, [rsp + 0x50]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400f9905
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140013184
nop
mov dword [rsp + 0x20], 1
jmp 0x1400f99dc
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400f9b50
nop
cmp qword [rdi + 0x18], 7
jbe 0x1400f994e
mov rdi, qword [rdi]
mov r8d, esi
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov rdx, qword [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1400f9976
mov rcx, rbx
call fcn.140013184
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400f99dc
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f99c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f9a06
call fcn.14000e3f0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov rax, rbx
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.1402194b0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
call fcn.140287130
int3

Function at 0x1400f9a78
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov rdi, rdx
mov rbx, rcx
xor edx, edx
call fcn.14017a350
cmp eax, 1
je 0x1400f9a9e
xor al, al
jmp 0x1400f9b3e
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400f9aab
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8, rdi
lea rdx, str.reg.exe_export_HKCU_
lea rcx, [rsp + 0x80]
call fcn.14006e1d0
nop
lea r8, [0x1403a1814]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14006e244
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14006e2d0
nop
lea r8, [0x14036b07c]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14006e244
nop
mov rcx, rax
call fcn.1400f97ac
mov bl, al
lea rcx, [rsp + 0x20]
call fcn.14000dd24
nop
lea rcx, [rsp + 0x40]
call fcn.14000dd24
nop
lea rcx, [rsp + 0x60]
call fcn.14000dd24
nop
lea rcx, [rsp + 0x80]
call fcn.14000dd24
mov al, bl
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
Function at 0x140119aa0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x30
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
mov dword [rax - 0x28], r14d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], 7
mov word [rdx], r14w
mov dword [rax - 0x28], 1
movzx ecx, word [rcx]
xor r9d, r9d
xor r8d, r8d
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rdi, eax
test eax, eax
je 0x140119b49
lea rdx, [rdi - 1]
cmp rdx, qword [rbx + 0x10]
ja 0x140119b1e
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140119b13
mov rax, qword [rbx]
mov qword [rbx + 0x10], rdx
mov word [rax + rdx*2], r14w
jmp 0x140119b2d
xor r8d, r8d
sub rdx, qword [rbx + 0x10]
mov rcx, rbx
call fcn.140011d04
mov r8, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140119b3a
mov r8, qword [rbx]
movzx ecx, word [rbp]
mov r9d, edi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x140119b60
Capabilities:
Enumerate files on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x140119b83
mov rdx, r8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
jmp 0x140119ba3
cmp dword [r8], 0xffffffff
je 0x140119b96
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140119ba3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
or rbx, 0xffffffffffffffff
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x14011ace4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rdi, rdx
mov r14, rcx
mov esi, 5
xor r15d, r15d
mov r8d, 0x200
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x14011ad70
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140013184
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.14011a5d4
mov bl, al
lea rcx, [rsp + 0x20]
call fcn.14000dd24
test bl, bl
je 0x14011adc6
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
mov esi, 2
lea rcx, [rsp + 0x40]
call fcn.14000dd24
test rdi, rdi
jne 0x14011ad1e
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1402194b0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x470
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, rdx
mov rdi, rdx
call fcn.1401c5d98
mov r8, qword [0x1404471e0]
mov r9d, 1
mov rbx, rax
mov rcx, qword [rax + 0x40]
lea edx, [r9 + 0x2f]
call qword [sym.imp.USER32.dll_SendMessageW]
and dword [rsp + 0x28], 0
xor r9d, r9d
mov r8, qword [0x1404471e0]
mov rcx, qword [rbx + 0x40]
mov dword [rsp + 0x20], 1
lea edx, [r9 + 0x30]
call fcn.1401c9da4
mov rcx, qword [0x140447180]
mov rdx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp 0x14011ace4
Function at 0x14011ae14
Capabilities:
Extract resource via kernel32 functions
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rdx
mov r15, rcx
call fcn.1401bf5e4
mov esi, 5
mov edx, reloc.OLEAUT32.dll_VarDecRound
mov r8d, esi
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r12d, r12d
test rax, rax
je 0x14011af9d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14011af9d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x14011af9d
mov edx, esi
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindow]
lea rcx, [rdi + 0x1a]
mov r8d, 0xffff
mov r14, rax
cmp word [rcx], r8w
jne 0x14011aea9
add rcx, 4
jmp 0x14011aeb5
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14011aea9
cmp word [rcx], r8w
jne 0x14011aec1
add rcx, 4
jmp 0x14011aecd
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14011aec1
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14011aecd
test byte [rdi + 0xc], 0x40
je 0x14011aeef
add rcx, 6
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14011aee3
add rcx, 3
mov esi, r12d
and rcx, 0xfffffffffffffffc
cmp r12w, word [rdi + 0x10]
jae 0x14011af9d
lea rbx, [rcx + 0x18]
mov rdx, rbx
cmp word [rbx], r8w
jne 0x14011af18
add rdx, 4
jmp 0x14011af24
movzx eax, word [rdx]
add rdx, 2
test ax, ax
jne 0x14011af18
cmp word [rdx], r8w
je 0x14011af33
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, 2
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindow]
mov r8d, 0xffff
mov r14, rax
cmp word [rbx], r8w
jne 0x14011af56
add rbx, 4
jmp 0x14011af62
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x14011af56
cmp word [rbx], r8w
jne 0x14011af6e
add rbx, 4
jmp 0x14011af7a
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x14011af6e
movzx eax, word [rbx]
inc esi
shr rax, 1
lea rcx, [rax*2 + 5]
movzx eax, word [rdi + 0x10]
add rcx, rbx
and rcx, 0xfffffffffffffffc
cmp esi, eax
jl 0x14011af05
mov rdx, rbp
mov rcx, r15
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
jmp 0x14011ace4
mov rdx, qword [rcx + 0x40]
mov rcx, qword [0x140447180]
jmp 0x14011ae14
Function at 0x14011b0b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
xor r14d, r14d
mov dword [rax - 0x48], r14d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], 7
mov word [rdx], r14w
mov dword [rax - 0x48], 1
call fcn.1401bf5e4
mov rbx, qword [rax + 0x18]
test rbx, rbx
je 0x14011b1db
lea r8d, [r14 + 5]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14011b1db
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14011b1db
mov edx, 0xffff
lea ecx, [r14 + 0x12]
lea eax, [rcx + 8]
cmp word [rdi + 2], dx
cmove ecx, eax
add rdi, rcx
cmp word [rdi], dx
jne 0x14011b160
add rdi, 4
jmp 0x14011b16c
movzx eax, word [rdi]
add rdi, 2
test ax, ax
jne 0x14011b160
cmp word [rdi], dx
jne 0x14011b177
add rdi, 4
jmp 0x14011b183
movzx eax, word [rdi]
add rdi, 2
test ax, ax
jne 0x14011b177
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x14011b198
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140013184
nop
mov r8, rsi
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.14011a5d4
mov bl, al
lea rcx, [rsp + 0x28]
call fcn.14000dd24
test bl, bl
jne 0x14011b1db
mov rdx, rdi
mov rcx, rsi
call fcn.140011ae8
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14011b600
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebx, ebx
lea r8, [rsp + 0x28]
xorps xmm0, xmm0
mov word [rsp + 0x20], bx
movups xmmword [rsp + 0x28], xmm0
lea r9d, [rbx + 8]
lea edx, [rbx + 9]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14011b650
lea r8, [rsp + 0x20]
lea rdx, str._4hx
lea rcx, [rsp + 0x28]
call fcn.1400980b0
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1402194b0
add rsp, 0x40
pop rbx
ret

Function at 0x140120640
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rbx, rdx
mov rdi, rcx
jne 0x14012069c
mov rax, qword [rdx + 0x10]
cmp rax, 0x2e
ja 0x140120673
movabs rcx, 0x400008002000
bt rcx, rax
jb 0x140120683
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x14012069c
mov rcx, rbx
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, 1
jmp 0x1401206a7
mov rdx, rbx
mov rcx, rdi
call fcn.1401c92b0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1401236a8
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov edx, ecx
lea r8, [rsp + 0x20]
mov ecx, 0x400
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1401236ed
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0xa]
call fcn.14028f070
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1402194b0
add rsp, 0xb8
ret

Function at 0x140123708
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r9d, 0x40
lea r8, [rsp + 0x20]
mov ecx, 0x400
lea edx, [r9 - 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140123746
mov eax, 3
jmp 0x140123772
lea rdx, str.3_2_0
lea rcx, [rsp + 0x20]
call fcn.14028f2a0
test eax, eax
jne 0x140123762
mov eax, 0x20
jmp 0x140123772
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0xa]
call fcn.14028f070
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1402194b0
add rsp, 0xb8
ret