joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400127e0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp dword [rcx + 0x148], 0
mov rbx, rcx
jne 0x1400128a3
inc dword [rcx + 0x120]
mov eax, dword [rcx + 0x120]
mov qword [rsp + 0x58], rdi
mov dword [rcx + 0x148], 1
cmp eax, 0xa
jle 0x14001282f
mov dword [rcx + 0x124], 0x3c
cmp eax, 0x14
jle 0x14001283e
mov dword [rcx + 0x124], 0xe10
cmp eax, 0x1e
jle 0x14001284d
mov dword [rcx + 0x124], 0x15180
xor edi, edi
lea rax, [rsp + 0x30]
mov dword [rcx + 0x150], edi
lea r8, [0x1400129d0]
mov qword [rcx + 0x10c], rdi
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14001288e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001289e
mov dword [rbx + 0x150], 1
mov dword [rbx + 0x148], edi
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x40
pop rbx
ret
Function at 0x140012ce0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0xf0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov r14, rcx
mov rcx, qword [rcx + 0x18]
call fcn.140038ca0
mov rdi, rax
mov rcx, qword [r14 + 0x18]
call fcn.140038d90
mov rbx, rax
mov rcx, qword [r14 + 0x18]
call fcn.140038da0
mov r9, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea r8, str._s__s__s
mov edx, 0x3f
lea rcx, [rsp + 0x60]
call fcn.140004720
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
je 0x140012e24
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.https:__update.ergonis.com_downloads_products_popcharwin_once_8.8
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
jne 0x140012db3
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140012e24
mov dword [rsp + 0x38], edi
lea r9, [rsp + 0x38]
mov r8d, 0x20
lea rdx, [0x14019bdf0]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test ebx, ebx
je 0x140012e24
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140012e24
cmp eax, 0x20
jge 0x140012e24
cmp eax, 2
jne 0x140012e24
movzx eax, byte [0x14019bdf0]
cmp al, 0x6f
jne 0x140012e12
cmp byte [0x14019bdf1], 0x6b
je 0x140012e1f
jmp 0x140012e24
cmp al, 0x4f
jne 0x140012e24
cmp byte [0x14019bdf1], 0x4b
jne 0x140012e24
mov edi, 1
mov dword [r14 + 8], edi
test edi, edi
jne 0x140012e30
xor eax, eax
jmp 0x140012e85
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov edx, 0x80
lea rcx, [rsp + 0x40]
call fcn.140031390
nop
lea rdx, [0x14009c9b0]
lea rcx, [rsp + 0x40]
call fcn.140031610
lea r8, [rsp + 0x40]
mov edx, 0x31
mov rcx, qword [r14 + 0x10]
call fcn.140059580
nop
lea rcx, [rsp + 0x40]
call fcn.140031450
mov eax, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14005d680
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140012eb0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x180
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rcx
mov rcx, qword [rcx + 0x18]
call fcn.140038ba0
mov r8d, dword [rax + 0x28]
lea edx, [r8 - 6]
cmp edx, 1
ja 0x140012f11
lea rcx, [0x14009ca48]
lea rbx, str.crxin
cmp dword [rax], 0
cmove rbx, rcx
jmp 0x140012f36
cmp r8d, 2
jne 0x140012f20
lea rbx, [0x14009ca4c]
jmp 0x140012f36
lea rbx, [0x14009ca50]
lea rax, [0x14009ca54]
cmp r8d, 1
cmovne rbx, rax
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea r8d, [rax + 8]
lea rdx, str.https:__update.ergonis.com_downloads_products_popcharwin_monce_8.8
lea rcx, [rsp + 0x40]
call fcn.140031410
nop
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140031610
mov r14, qword [rsp + 0x48]
mov rcx, qword [rsi + 0x18]
call fcn.140038ca0
mov rdi, rax
mov rcx, qword [rsi + 0x18]
call fcn.140038d90
mov rbx, rax
mov rcx, qword [rsi + 0x18]
call fcn.140038da0
mov r9, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea r8, str._s__s__s_
mov edx, 0x80
lea rcx, [rsp + 0x60]
call fcn.140004720
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
je 0x140013076
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
jne 0x14001300a
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140013076
mov dword [rsp + 0x38], edi
lea r9, [rsp + 0x38]
mov r8d, 0x80
lea rdx, [0x14019be20]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test ebx, ebx
je 0x140013076
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140013076
cmp eax, 2
jne 0x140013076
movzx eax, byte [0x14019be20]
cmp al, 0x6f
jne 0x140013064
cmp byte [0x14019be21], 0x6b
je 0x140013071
jmp 0x140013076
cmp al, 0x4f
jne 0x140013076
cmp byte [0x14019be21], 0x4b
jne 0x140013076
mov edi, 1
lea rcx, [rsp + 0x40]
call fcn.140031450
mov eax, edi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14005d680
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140014610
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rcx
mov rbx, qword [0x14019beb0]
mov qword [rsp + 0x20], 0
mov eax, dword [0x140197cc4]
test eax, eax
je 0x14001465d
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140197cc4]
test eax, eax
jne 0x140014666
call fcn.1400074d0
test eax, eax
je 0x14001467c
lea rdx, [rsp + 0x20]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1400146bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x1400146b0
mov ebx, 0x54f
movzx ebx, bx
or ebx, 0x80070000
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005d680
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
jle 0x140014696
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140014696
test rbx, rbx
jne 0x140014706
lea rcx, str.PrintDlgExW
call fcn.14000a680
mov rbx, rax
test rax, rax
jne 0x1400146ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x1400146f2
mov ebx, 0x54f
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14001470d
jle 0x14001470d
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14001470d
mov qword [0x14019beb0], rax
mov rcx, rdi
call rbx
mov ebx, eax
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
jmp 0x140014696

Function at 0x140017650
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx eax, r8w
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
shr r8, 0x10
mov dword [rsp + 0x30], eax
movzx eax, r8w
mov dword [rsp + 0x34], eax
call qword [sym.imp.USER32.dll_SetFocus]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdi + 0xf0]
call fcn.140054f40
mov rsi, rax
test rax, rax
je 0x140017722
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.140052600
test eax, eax
je 0x140017718
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1400176ed
mov rcx, qword [rdi + 0xf0]
xor edx, edx
cmp dword [rsi + 0xb4], edx
sete dl
call fcn.140055780
jmp 0x1400176f5
mov rcx, rsi
call fcn.140053cd0
mov edx, dword [rdi + 0x30]
sub edx, dword [rdi + 0x28]
mov rcx, qword [rdi + 0xf0]
call fcn.1400545a0
mov rcx, qword [rdi + 0x18]
call fcn.14004c430
mov rcx, rdi
call fcn.140017110
mov dword [rdi + 0xb0], 0
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b490
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [0x14019bed8], 0
jne 0x14001b50c
xor edx, edx
mov qword [0x14019bed8], rcx
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r8, [0x14001b520]
mov qword [rsp + 0x38], 0xffffffffffffffff
xor r9d, r9d
movups xmm0, xmmword [rsp + 0x30]
mov dword [rsp + 0x20], edx
movups xmmword [0x1400e9fc8], xmm0
movups xmm0, xmmword [rcx + 0xa0]
xor ecx, ecx
movups xmmword [0x1400e9fc8], xmm0
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14001b50c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x58
ret

Function at 0x14001b930
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, rcx
xor esi, esi
mov edi, esi
mov dword [rsp + 0x20], esi
mov rbx, qword [0x14019bed0]
mov qword [rsp + 0x28], rsi
mov eax, dword [0x140197cc4]
test eax, eax
je 0x14001b98c
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140197cc4]
test eax, eax
jne 0x14001b995
call fcn.1400074d0
test eax, eax
je 0x14001b9ab
lea rdx, [rsp + 0x28]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14001b9d0
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005d680
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
test rbx, rbx
jne 0x14001b9f0
lea rcx, str._TrackMouseEvent
call fcn.140007000
mov rbx, rax
test rax, rax
je 0x14001b9fb
mov qword [0x14019bed0], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
mov ebx, esi
test edi, edi
sete bl
test ebx, ebx
je 0x14001ba0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14001ba27
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x14001b9ad

Function at 0x14001bad0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cmp rbx, 0xc
je 0x14001bb02
cmp rbx, 0x1b
jne 0x14001bb0b
mov rcx, qword [rdi + 0x18]
call fcn.14004a3a0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001bc90
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push r13
sub rsp, 0x50
movzx r13d, r8w
xor esi, esi
shr r8, 0x10
mov rbx, rcx
movzx r8d, r8w
mov dword [rsp + 0x70], r8d
cmp dword [rcx + 0x90], esi
jle 0x14001be19
mov qword [rax + 0x10], rbp
mov qword [rax - 0x20], r14
xor r14d, r14d
mov qword [rax + 0x18], rdi
xor ebp, ebp
mov qword [rax + 0x20], r12
mov qword [rax - 0x28], r15
nop word [rax + rax]
mov rax, qword [rbx + 0x80]
movups xmm0, xmmword [rax + rbp]
movq rdx, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov rax, rdx
shr rax, 0x20
cmp eax, r8d
jg 0x14001bde4
mov rcx, qword [rsp + 0x38]
mov rax, rcx
shr rax, 0x20
cmp eax, r8d
jl 0x14001bde4
cmp edx, r13d
jg 0x14001bde4
cmp ecx, r13d
jl 0x14001bde4
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdi, rax
test rax, rax
je 0x14001bdfa
mov rcx, qword [rbx + 0x88]
mov r15d, dword [r14 + rcx]
mov edx, r15d
mov rcx, rax
call fcn.140014c60
test eax, eax
je 0x14001bdfa
mov edx, r15d
mov rcx, rdi
call fcn.140014c10
mov rdx, qword [str.http:__]
mov r9d, 1
mov rcx, rax
mov r12, rax
lea r8d, [r9 + 6]
call fcn.140032bc0
test eax, eax
jne 0x14001bda6
mov rdx, qword [str.https:__]
lea r9d, [rax + 1]
lea r8d, [rax + 8]
mov rcx, r12
call fcn.140032bc0
test eax, eax
je 0x14001bdfa
mov edx, r15d
mov rcx, rdi
call fcn.140014c10
mov dword [rsp + 0x28], 1
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov r8, qword [rax + 8]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov r8d, dword [rsp + 0x70]
mov qword [0x1401a1138], rax
inc esi
add rbp, 0x10
add r14, 4
cmp esi, dword [rbx + 0x90]
jl 0x14001bce0
mov rdi, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
mov r15, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x78]
mov r14, qword [rsp + 0x48]
add rsp, 0x50
pop r13
pop rsi
pop rbx
ret

Function at 0x14001ecd0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x28], 0
mov rbx, rcx
je 0x14001ecef
mov eax, 1
mov dword [rcx + 0x2c], eax
xor al, al
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, dword [rcx + 8]
cmp edi, dword [rcx + 0x18]
jb 0x14001ed48
mov r8d, dword [rcx + 0xc]
lea r9, [rcx + 0x18]
mov rdx, qword [rcx + 0x10]
xor edi, edi
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001ed2a
lea eax, [rdi + 1]
cmp dword [rbx + 0x18], edi
jbe 0x14001ed2c
mov eax, edi
mov dword [rbx + 0x28], eax
mov dword [rbx + 8], edi
test eax, eax
je 0x14001ed48
mov rsi, qword [rsp + 0x40]
xor al, al
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
mov rax, qword [rbx + 0x10]
mov rsi, qword [rsp + 0x40]
mov ecx, edi
movzx eax, byte [rcx + rax]
lea ecx, [rdi + 1]
mov rdi, qword [rsp + 0x48]
mov dword [rbx + 8], ecx
add rsp, 0x30
pop rbx
ret
Function at 0x140024bd0
Capabilities:
Identify system language via api

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1401a15e4], 0
mov rbx, rcx
je 0x140024bef
lea rax, [0x1400aec34]
add rsp, 0x20
pop rbx
ret
cmp dword [0x1401a15e0], 0
je 0x140024c05
lea rax, [0x1400aec3c]
add rsp, 0x20
pop rbx
ret
test rdx, rdx
jne 0x140024c2b
movzx eax, word [rcx + 0x252]
xor ecx, ecx
cmp cx, ax
jne 0x140024c25
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [rbx + 0x252], ax
movzx edx, ax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400244f0

Function at 0x140024c40
Capabilities:
Identify system language via api

Disassembly:
push rbx
sub rsp, 0x20
movzx eax, word [rcx + 0x252]
mov rbx, rcx
xor ecx, ecx
cmp cx, ax
jne 0x140024c64
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [rbx + 0x252], ax
movzx edx, ax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400244f0
Function at 0x140024c80
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x30
mov eax, dword [rcx]
xor ebp, ebp
mov dword [rcx], ebp
mov rbx, rcx
cmp edx, 0xffff
ja 0x140024e41
cmp dx, word [rcx + 0x250]
jne 0x140024cb5
mov dword [rcx], eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
mov r9d, 0x1000
mov qword [rsp + 0x48], rdi
mov word [rcx + 0x250], dx
mov ecx, 0xff
lea eax, [r9 + rdx]
cmp ax, cx
lea edi, [r9 + rdx]
cmova di, dx
cmp di, 0x20
jb 0x140024e3c
cmp di, 0x7f
je 0x140024e3c
mov qword [rsp + 0x40], rsi
test r8, r8
jne 0x140024d04
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov r8, rax
cmp r8w, word [rbx + 0x252]
je 0x140024d16
mov word [rbx + 0x252], r8w
mov rdx, r8
movzx ecx, di
call qword [sym.imp.USER32.dll_VkKeyScanExW]
mov byte [rbx + 0x78], al
xor edx, edx
movsx rax, ax
lea rcx, [rbx + 0x150]
shr rax, 8
mov r8d, 0x100
mov byte [rbx + 0x79], al
mov word [rbx + 0x7a], bp
call fcn.140061460
movzx ecx, byte [rbx + 0x78]
lea r9, [rbx + 0x7a]
lea r8, [rbx + 0x150]
mov dword [rsp + 0x20], ebp
xor edx, edx
call qword [sym.imp.USER32.dll_ToAscii]
cmp eax, 0xffffffff
je 0x140024d83
movzx ecx, byte [rbx + 0x78]
lea r9, [rbx + 0x7a]
lea r8, [rbx + 0x150]
mov dword [rsp + 0x20], ebp
xor edx, edx
call qword [sym.imp.USER32.dll_ToAscii]
mov rsi, qword [rsp + 0x40]
test eax, eax
je 0x140024e3c
jns 0x140024d99
mov eax, 2
jmp 0x140024d9b
jle 0x140024da8
cdqe
mov word [rbx + rax*2 + 0x7a], bp
mov dword [rbx], 1
mov edx, 2
lea rcx, [rbx + 0x7a]
call qword [sym.imp.USER32.dll_CharUpperBuffW]
movzx ecx, byte [rbx + 0x79]
xor edx, edx
mov eax, ecx
and eax, 1
mov dword [rbx + 0x48], eax
mov eax, ecx
and eax, 2
mov dword [rbx + 0x4c], eax
mov eax, ecx
and ecx, 8
and eax, 4
mov dword [rbx + 0x54], ecx
lea ecx, [rdx + 0x10]
mov dword [rbx + 0x50], eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
shl eax, 0x10
mov dword [rbx + 0x5c], eax
lea ecx, [rdx + 0x11]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
shl eax, 0x10
mov dword [rbx + 0x60], eax
lea ecx, [rdx + 0x12]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
mov dword [rbx + 0x64], eax
mov rax, qword [rbx + 0x40]
or rax, qword [rbx + 0x28]
or rax, qword [rbx + 8]
or rax, qword [rbx + 0x18]
or rax, 1
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x38]
or rax, qword [rbx + 0x30]
or rax, qword [rbx + 8]
or rax, qword [rbx + 0x18]
or rax, 1
mov qword [rbx + 0x70], rax
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret

Function at 0x140025740
Capabilities:
Get keyboard layout

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x38
ret
Function at 0x140025790
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
xor edx, edx
mov qword [0x1401a0cf8], 0
lea rcx, [0x140025680]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [0x1401a0cf8]
test rcx, rcx
jne 0x1400257c1
xor eax, eax
add rsp, 0x28
ret
mov edx, 0x1356
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_GetDlgItem]

Function at 0x140026b40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, rcx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x20], rbx
mov rdi, qword [0x1401a0d28]
xor esi, esi
mov qword [rsp + 0x28], rsi
mov eax, dword [0x140197cc4]
test eax, eax
je 0x140026ba2
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140197cc4]
test eax, eax
jne 0x140026bab
call fcn.1400074d0
test eax, eax
je 0x140026c1d
lea rdx, [rsp + 0x28]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
je 0x140026c1d
test rdi, rdi
jne 0x140026be1
lea rcx, str.PropertySheetW
call fcn.140026c50
mov rdi, rax
test rax, rax
je 0x140026bee
mov qword [0x1401a0d28], rax
mov rcx, r14
call rdi
mov rbx, rax
mov qword [rsp + 0x20], rax
mov edi, esi
cmp rbx, 0xffffffffffffffff
sete dil
test edi, edi
je 0x140026c04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140026c1d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005d680
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140027830
Capabilities:
Print debug messages

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], 0xffffffffffffffff
xor edi, edi
mov qword [rsp + 0x38], rdi
mov eax, dword [0x140197cc4]
test eax, eax
je 0x140027888
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140197cc4]
test eax, eax
jne 0x140027891
call fcn.1400074d0
test eax, eax
je 0x1400278a7
lea rdx, [rsp + 0x38]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1400278c7
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14005d680
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9, r15
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov rsi, rax
mov qword [rsp + 0x30], rax
mov ebx, edi
cmp rsi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x140027903
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14002791c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x1400278ae

Function at 0x140027960
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbx
mov eax, dword [0x140197cc4]
test eax, eax
je 0x1400279ae
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140197cc4]
test eax, eax
jne 0x1400279b7
call fcn.1400074d0
test eax, eax
je 0x1400279cd
lea rdx, [rsp + 0x28]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1400279ec
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005d680
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov qword [rsp + 0x20], rax
mov esi, ebx
test rdi, rdi
sete sil
test esi, esi
je 0x140027a12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test esi, esi
je 0x140027a2b
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
jmp 0x1400279cf