joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a360
Capabilities:
Inspect load icon resource

Disassembly:
cmp edx, 2
ja 0x14001a4f0
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x14010a068]
xor rax, rsp
mov qword [rbp + 0x300], rax
and qword [rsp + 0x20], 0
mov edi, edx
mov rsi, rcx
mov edx, 0xc9
lea rcx, [rsp + 0x20]
mov r14d, r8d
call fcn.140021800
and qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
mov edx, 0xca
call fcn.140021800
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x3d0
call sub.msvcrt.dll_memset
mov rax, qword [rsi + 8]
test r14d, r14d
mov qword [rsp + 0x38], rax
mov edx, 0x12d
mov eax, 7
mov dword [rsp + 0x30], 0x3d0
lea ecx, [rax + 0x10]
cmovne eax, ecx
mov rcx, qword [0x140111b20]
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_LoadIconW]
mov r8, qword [rsp + 0x20]
lea rcx, [rsp + 0x58]
mov edx, 0x40
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 0x3039
call qword [sym.imp.msvcrt.dll_wcscpy_s]
test r14d, r14d
je 0x14001a467
mov r8, qword [rsp + 0x20]
lea rcx, [rbp + 0x264]
mov edx, 0x40
mov dword [rbp + 0x2e4], 1
call qword [sym.imp.msvcrt.dll_wcscpy_s]
mov r8, qword [rsp + 0x28]
lea rcx, [rbp + 0x60]
mov edx, 0x100
call qword [sym.imp.msvcrt.dll_wcscpy_s]
lea rdx, [rsp + 0x30]
mov dword [rbp + 0x260], 3
mov ecx, edi
mov dword [rsp + 0x48], 0x401
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test edi, edi
je 0x14001a4a0
cmp edi, 2
jne 0x14001a4b8
mov rcx, qword [rsi + 8]
mov edx, 0x2711
call qword [sym.imp.USER32.dll_KillTimer]
jmp 0x14001a4b8
mov rcx, qword [rsi + 8]
xor r9d, r9d
mov edx, 0x2711
mov r8d, 0xea60
call qword [sym.imp.USER32.dll_SetTimer]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1400e3680
mov rsi, qword [rsp + 0x440]
add rsp, 0x410
pop r14
pop rdi
pop rbp
ret

Function at 0x140022120
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
lea rax, [r11 + 0x18]
and dword [rsp + 0x40], 0
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov rbx, rdx
lea rax, [r11 + 8]
mov dword [rsp + 0x50], 4
xor r8d, r8d
mov qword [r11 - 0x18], rax
lea rdx, str.Handedness
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002217e
cmp dword [rsp + 0x58], 4
jne 0x14002217e
test eax, eax
jne 0x14002217e
mov ecx, dword [rsp + 0x40]
lea eax, [rcx - 1]
cmp eax, 1
ja 0x14002217e
mov dword [rbx], ecx
jmp 0x140022184
mov dword [rbx], 2
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x140022194
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], edx
xor ebx, ebx
xor r8d, r8d
lea rdx, str.Handedness
lea r9d, [rbx + 4]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx ecx, bl
lea edx, [rbx + 1]
test eax, eax
cmove ecx, edx
mov al, cl
add rsp, 0x30
pop rbx
ret
Function at 0x1400221e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [rcx]
lea rax, [r11 + 0x18]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
lea rax, [r11 + 8]
mov dword [rsp + 0x50], 4
mov rdi, rdx
mov qword [r11 - 0x18], rax
xor ebx, ebx
lea rdx, str.ClearAfterInsert
xor r8d, r8d
mov dword [rsp + 0x40], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002223e
cmp dword [rsp + 0x58], 4
jne 0x14002223e
mov eax, ebx
test eax, eax
jne 0x14002223e
cmp dword [rsp + 0x40], ebx
setne bl
jmp 0x140022243
mov ebx, 1
mov dword [rdi], ebx
mov al, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140022258
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [rcx]
lea rax, [r11 + 0x18]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
lea rax, [r11 + 8]
mov dword [rsp + 0x50], 4
mov rdi, rdx
mov qword [r11 - 0x18], rax
xor ebx, ebx
lea rdx, str.EnableGrid
xor r8d, r8d
mov dword [rsp + 0x40], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400222b6
cmp dword [rsp + 0x58], 4
jne 0x1400222b6
mov eax, ebx
test eax, eax
jne 0x1400222b6
cmp dword [rsp + 0x40], ebx
setne bl
jmp 0x1400222bb
mov ebx, 1
mov dword [rdi], ebx
mov al, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400222d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [rcx]
lea rax, [r11 + 0x18]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
lea rax, [r11 + 8]
mov dword [rsp + 0x50], 4
mov rdi, rdx
mov qword [r11 - 0x18], rax
xor ebx, ebx
lea rdx, str.ShowSoftKeys
xor r8d, r8d
mov dword [rsp + 0x40], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002232c
cmp dword [rsp + 0x58], 4
jne 0x14002232c
mov eax, ebx
test eax, eax
jne 0x14002232c
cmp dword [rsp + 0x40], ebx
setne bl
mov dword [rdi], ebx
mov al, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14002631c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov word [rsp + 0x10], dx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
mov r9d, 1
mov rax, qword [rbp + 0x40]
mov dword [rax], r9d
xor ebx, ebx
mov qword [rbp + 0x38], rbx
movzx edx, r8w
sub edx, 0x91
je 0x1400263d9
sub edx, r9d
je 0x1400263c8
sub edx, r9d
je 0x1400263c1
sub edx, r9d
je 0x14002639e
cmp edx, r9d
jne 0x140026423
mov dword [rbp + 0x28], ebx
lea rsi, [rcx + 0x13b8]
lea rdx, [rbp + 0x28]
mov rcx, rsi
call fcn.1400222d0
test al, al
je 0x140026423
lea rdx, str.ShowSoftKeys
jmp 0x1400263fa
mov dword [rbp + 0x28], ebx
lea rsi, [rcx + 0x13b8]
lea rdx, [rbp + 0x28]
mov rcx, rsi
call fcn.140022258
test al, al
je 0x140026423
lea rdx, str.EnableGrid
jmp 0x1400263fa
mov edx, 2
jmp 0x1400263cb
mov edx, r9d
add rcx, 0x13b8
call fcn.140022194
jmp 0x140026423
mov dword [rbp + 0x28], ebx
lea rsi, [rcx + 0x13b8]
lea rdx, [rbp + 0x28]
mov rcx, rsi
call fcn.1400221e0
test al, al
je 0x140026423
lea rdx, str.ClearAfterInsert
mov r9d, 4
cmp dword [rbp + 0x28], ebx
mov dword [rsp + 0x28], r9d
lea rax, [rbp + 0x28]
sete bl
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x28], ebx
xor r8d, r8d
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call fcn.14001ad9c
nop
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140026790
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x140111518]
test rcx, rcx
jne 0x1400267b6
call fcn.140026854
test eax, eax
je 0x1400267ef
mov rcx, qword [0x140111518]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
xor ecx, ecx
test rax, rax
je 0x1400267d3
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rax + 0x10], ecx
mov word [rax + 0x14], cx
jmp 0x140026843
mov edx, 0x1000
mov r9d, 0x40
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1400267f3
xor eax, eax
jmp 0x140026843
mov eax, dword [rax]
mov rcx, qword [0x140111518]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x140026820
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x140026843
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x140111518]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x140026827
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400270f0
Capabilities:
Hide graphical window

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
cmp dword [rcx + 0x88], 0
mov rbx, rcx
jne 0x1400271ee
xor edi, edi
mov dword [rcx + 0x88], 1
cmp dword [rcx + 0x58], edi
jle 0x140027187
xor esi, esi
test rsi, rsi
js 0x14002720b
cmp edi, dword [rbx + 0x58]
jge 0x14002720b
mov rax, qword [rbx + 0x50]
mov r14, qword [rsi + rax]
test r14, r14
je 0x14002717c
mov rcx, qword [rbx + 0x118]
xor ebp, ebp
test rcx, rcx
je 0x14002716a
mov edx, dword [r14 + 0x74]
call fcn.140032710
test rax, rax
je 0x14002716a
mov ebp, dword [rax + 0x70]
mov rax, qword [r14]
mov edx, ebp
mov rcx, r14
mov rax, qword [rax + 0x68]
call qword [case.0x140064bf9.0]
inc edi
add rsi, 8
cmp edi, dword [rbx + 0x58]
jl 0x14002712c
mov rcx, qword [rbx + 8]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
cmp qword [rbx + 0x70], 0
jne 0x1400271a5
mov rcx, rbx
call fcn.14002a3f8
lea rdi, [rbx + 0x68]
cmp qword [rdi], 0
jne 0x1400271d2
mov rcx, rdi
call fcn.140012620
test eax, eax
js 0x1400271d2
mov rcx, qword [rdi]
lea rax, [rbx + 0x60]
cmp qword [rcx + 0x10], 0
je 0x1400271ce
test rax, rax
jne 0x1400271d2
mov qword [rcx + 0x10], rax
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x1400271ee
mov rdx, qword [rdi]
test rdx, rdx
je 0x1400271ee
mov r8d, 0x800a
call fcn.14002c664
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, 0xc000008c
call fcn.140015020
int3
Function at 0x140038f88
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14010a068]
xor rax, rsp
mov qword [rsp + 0x40], rax
call qword [sym.imp.UxTheme.dll_IsThemeActive]
xor ebp, ebp
lea r8, [rsp + 0x20]
test eax, eax
setne sil
xor eax, eax
mov qword [rsp + 0x20], rax
lea edx, [rbp + 0x10]
xor r9d, r9d
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
lea ecx, [rbp + 0x42]
mov qword [rsp + 0x28], rax
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
lea r14d, [rbp + 1]
test eax, eax
je 0x140038ff5
test byte [rsp + 0x24], r14b
jne 0x140039018
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSysColor]
test ebx, ebx
je 0x140039018
mov dil, bpl
test eax, eax
jne 0x14003901b
mov dil, r14b
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov edx, 0x58
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, 0x5a
mov rcx, rbx
mov dword [0x14010a498], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rdx, rbx
xor ecx, ecx
mov dword [0x14010a494], eax
call qword [sym.imp.USER32.dll_ReleaseDC]
mov byte [0x140111f41], sil
mov bl, bpl
mov byte [0x140111f42], dil
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
test ax, ax
je 0x1400390a2
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
movzx ecx, ax
lea r8, [rsp + 0x20]
lea edx, [r9 + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400390a2
mov eax, 0x800
movzx ebx, bl
test word [rsp + 0x2e], ax
cmovne ebx, r14d
mov byte [0x140111f38], bl
mov esi, 0x88
lea rbx, [0x14010d1e0]
mov edi, 6
cmp byte [0x140111f41], bpl
jne 0x1400390c7
test byte [rbx], r14b
jmp 0x1400390ca
test byte [rbx], dil
je 0x140039106
cmp byte [0x140111f40], bpl
jne 0x1400390da
test byte [rbx], 3
jmp 0x1400390dd
test byte [rbx], 4
je 0x140039106
cmp byte [0x140111f41], bpl
jne 0x140039151
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140039151
mov rax, qword [rcx]
mov edx, r14d
mov rax, qword [rax]
call qword [case.0x140064bf9.0]
mov qword [rbx + 0x20], rbp
jmp 0x140039151
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140039122
mov rax, qword [rcx]
mov edx, r14d
mov rax, qword [rax]
call qword [case.0x140064bf9.0]
mov qword [rbx + 0x18], rbp
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14003913e
mov rax, qword [rcx]
mov edx, r14d
mov rax, qword [rax]
call qword [case.0x140064bf9.0]
mov qword [rbx + 0x20], rbp
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140039151
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rbx + 0x48], rbp
add rbx, 0x70
sub rsi, r14
jne 0x1400390b9
lea rbx, [0x14010a4b0]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140039176
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rbx], rbp
add rbx, 0x18
sub rdi, r14
jne 0x140039165
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400e3680
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140065d10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
sub rsp, 0x38
xor ebx, ebx
lea esi, [rbx + 2]
cmp dword [0x1401117b4], esi
jne 0x140065d31
cmp dword [0x1401117b0], 5
jae 0x140065db1
mov ecx, dword [0x1401117ac]
and ecx, 0x3ff
cmp ecx, 4
je 0x140065e44
lea eax, [rcx - 0x11]
cmp eax, 1
jbe 0x140065e44
cmp ecx, 0x78
je 0x140065e44
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ecx, eax
mov edx, eax
call fcn.14006737c
test eax, eax
jne 0x140065db1
mov eax, 0x459
cmp dx, ax
je 0x140065db1
mov eax, 0x860
cmp dx, ax
je 0x140065db1
movzx ecx, dx
and ecx, 0x3ff
lea eax, [rcx - 0x39]
cmp eax, 0x3a
ja 0x140065da3
movabs rdx, 0x6000124ddfff001
bt rdx, rax
jb 0x140065db1
cmp ecx, 0x1e
je 0x140065db1
cmp ecx, 0x2a
jne 0x140065e44
lea rax, [rsp + 0x68]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Control_PanelInternational
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140065e44
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.NumShape
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140065e25
movzx eax, word [rsp + 0x50]
cmp al, 0x2f
jbe 0x140065e25
sub al, 0x2f
cmp al, 3
movzx ebx, al
cmova ebx, esi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, 0xfd
je 0x140065e44
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ecx, eax
call fcn.140067a44
jmp 0x140065e4f
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
and eax, 0x3ff
mov dword [0x1401119b8], eax
mov al, bl
add rsp, 0x38
pop rsi
pop rbx
ret
Function at 0x140065e64
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14010a068]
xor rax, rsp
mov qword [rbp - 8], rax
lea rax, [rbp - 0x18]
mov ebx, 1
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.Control_PanelDesktop
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140065f6b
mov rcx, qword [rbp - 0x18]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x1c]
lea rax, [rbp - 0x10]
mov dword [rbp - 0x20], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.CaretWidth
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140065eec
cmp dword [rbp - 0x20], 4
cmovbe ebx, dword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x1c]
lea rax, [rbp - 0x10]
mov dword [rbp - 0x20], 8
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.CursorBlinkRate
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140065f61
mov ecx, dword [rbp - 0x20]
cmp ecx, 8
ja 0x140065f61
xor edx, edx
xor r8d, r8d
test ecx, ecx
je 0x140065f53
movzx r9d, byte [rbp + r8 - 0x10]
lea eax, [r9 - 0x30]
cmp eax, 9
ja 0x140065f53
lea edx, [rdx + rdx*4]
inc r8d
lea edx, [rdx - 0x18]
lea edx, [r9 + rdx*2]
cmp r8d, ecx
jb 0x140065f32
or ecx, 0xffffffff
test edx, edx
cmovne ecx, edx
call qword [sym.imp.USER32.dll_SetCaretBlinkTime]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xff
movzx ecx, bl
cmp ebx, eax
cmovl eax, ecx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400e3680
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x140067a08
Capabilities:
Get keyboard layout

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, ax
mov qword [0x1401119b0], rax
mov r9, rax
call fcn.1400672c0
cmp eax, 0x2e
ja 0x140067a39
movsxd rcx, eax
lea rax, [0x140111630]
mov qword [rax + rcx*8], r9
add rsp, 0x28
ret

Function at 0x140067a44
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14010a068]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, ecx
and ebx, 0x3ff
cmp dword [0x1401117b4], 2
jne 0x140067b94
cmp dword [0x1401117b0], 5
jb 0x140067b94
mov r9d, SafeArrayGetElement
lea r8, [rsp + 0x20]
lea edx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140067b94
movzx ecx, word [rsp + 0x22]
mov eax, 0xbe7
cmp ecx, eax
ja 0x140067b39
je 0x140067b32
cmp ecx, 0x31
je 0x140067b2b
cmp ecx, 0x661
je 0x140067b24
cmp ecx, 0x6f1
je 0x140067b1d
cmp ecx, 0x967
je 0x140067b16
cmp ecx, 0x9e7
je 0x140067b0f
cmp ecx, 0xa67
je 0x140067b05
cmp ecx, 0xae7
je 0x140067afb
cmp ecx, 0xb67
jne 0x140067b94
mov ebx, 0x48
jmp 0x140067b94
mov ebx, 0x47
jmp 0x140067b94
mov ebx, 0x46
jmp 0x140067b94
mov ebx, 0x45
jmp 0x140067b94
mov ebx, 0x39
jmp 0x140067b94
mov ebx, 0x29
jmp 0x140067b94
mov ebx, 1
jmp 0x140067b94
mov ebx, 9
jmp 0x140067b94
mov ebx, 0x49
jmp 0x140067b94
sub ecx, 0xc67
je 0x140067b8f
mov eax, 0x80
sub ecx, eax
je 0x140067b88
sub ecx, eax
je 0x140067b81
sub ecx, 0xea
je 0x140067b7a
sub ecx, eax
je 0x140067b73
sub ecx, 0x50
je 0x140067b6c
cmp ecx, 0x8c0
jne 0x140067b94
lea ebx, [rax - 0x2d]
jmp 0x140067b94
mov ebx, 0x51
jmp 0x140067b94
mov ebx, 0x54
jmp 0x140067b94
mov ebx, 0x1e
jmp 0x140067b94
mov ebx, 0x4c
jmp 0x140067b94
mov ebx, 0x4b
jmp 0x140067b94
mov ebx, 0x4a
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400e3680
add rsp, 0x50
pop rbx
ret
Function at 0x1400cfdd8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov r11d, dword [rsp + 0x70]
mov rdi, r8
mov r10, rcx
cmp r9d, r11d
jle 0x1400cff70
test byte [rcx + 0xec], 8
je 0x1400cfeeb
mov rax, qword [rdx + 0x18]
test rax, rax
je 0x1400cfe55
movzx eax, word [rax + 0x60]
cmp eax, r11d
jle 0x1400cfe55
lfence
mov r9, qword [rdx + 0x18]
movzx eax, word [r9 + 0x60]
mov rdx, qword [r9 + 0x20]
sub eax, r11d
movsxd rcx, eax
mov rax, qword [r9 + 0x38]
movzx r8d, word [rax + rcx*2 - 2]
add rdx, r8
jmp 0x1400cfe40
inc r8d
inc rdx
test byte [rdx], 2
je 0x1400cfe3a
mov rax, qword [r9]
movsxd rcx, r8d
movzx edx, word [rax + rcx*2]
mov rax, qword [r9 + 0x48]
jmp 0x1400cfea7
lfence
movzx eax, word [rcx + 0xf0]
mov r8, qword [r10 + 0x70]
sub eax, r11d
add eax, r9d
movsxd rcx, eax
mov rax, qword [r10 + 0x58]
movzx edx, word [rax + rcx*2 - 2]
add r8, rdx
jmp 0x1400cfe7f
inc edx
inc r8
test byte [r8], 2
je 0x1400cfe7a
movzx eax, word [r10 + 0xf6]
lea ecx, [rdx + 1]
cmp ecx, eax
jle 0x1400cff70
mov rax, qword [r10 + 0x38]
movsxd rcx, edx
movzx edx, word [rax + rcx*2]
mov rax, qword [r10 + 0x68]
mov r8d, dword [rax + rcx*4]
mov r9, rdi
mov rax, qword [r10 + 8]
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r8d
mov rcx, qword [rax]
mov r8d, dword [r10 + 0xd8]
mov word [rsp + 0x20], dx
mov edx, 1
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x238]
call qword [case.0x140064bf9.0]
jmp 0x1400cff4f
movzx eax, word [rdx + 0x8e]
cmp eax, r11d
jg 0x1400cff70
movzx ecx, word [rcx + 0xf0]
mov edx, ecx
sub edx, r11d
add edx, r9d
cmp edx, ecx
jle 0x1400cff70
mov rax, qword [r10 + 0x18]
mov r9, rdi
mov rbx, qword [rsp + 0x78]
mov r8d, dword [r10 + 0xd8]
movsxd rcx, edx
mov qword [rsp + 0x28], rbx
movzx edx, word [rax + rcx*2 - 2]
mov rax, qword [r10 + 8]
mov word [rsp + 0x20], dx
mov edx, 1
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x228]
call qword [case.0x140064bf9.0]
test eax, eax
jne 0x1400cff72
cmp dword [rbx], 0x80000000
je 0x1400cff69
mov eax, dword [rbx]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x2faf080
jle 0x1400cff70
mov eax, 0xffffff9c
jmp 0x1400cff72
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400d57d4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
and dword [rbp + 0x40], 0
xor r15d, r15d
xor r14d, r14d
xor edi, edi
mov r13, r8
mov r10d, edx
mov rbx, rcx
cmp dword [rcx + 0xb8], edi
jle 0x1400d58c1
xor esi, esi
mov rcx, qword [rbx + 0xc0]
cmp dword [rsi + rcx + 0x28], r14d
je 0x1400d58af
lea eax, [r10 + 1]
cmp dword [rsi + rcx + 0x1c], eax
jle 0x1400d58af
mov r12, qword [rsi + rcx + 0x30]
lea r8, [rbp - 0x30]
mov rax, qword [r12]
mov rdx, qword [rax + 8]
movsxd rax, dword [r12 + 0x28]
imul rcx, rax, 0xd0
mov rax, qword [rdx + 0x660]
mov edx, r10d
mov rax, qword [rcx + rax + 0xa8]
mov rcx, qword [rbp + 0x68]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x20], rcx
mov rcx, qword [r12 + 0x58]
call qword [case.0x140064bf9.0]
mov edx, dword [rbp + 0x40]
test eax, eax
jne 0x1400d58cb
mov eax, dword [r12 + 0x8c]
add eax, dword [r12 + 0x88]
add edx, eax
xor eax, eax
mov dword [rbp + 0x40], edx
test eax, eax
jne 0x1400d58cb
cmp dword [rbp - 0x30], r14d
je 0x1400d58e3
mov r10d, dword [rbp + 0x48]
mov r9, qword [rbp + 0x58]
inc edi
add rsi, 0x60
cmp edi, dword [rbx + 0xb8]
jl 0x1400d5817
mov dword [r13], 1
xor eax, eax
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbx + 0xc0]
movsxd r8, edi
lea r9, [r8 + r8*2]
shl r9, 5
test edi, edi
je 0x1400d5906
lea rax, [r8 + r8*2]
shl rax, 5
mov r15, qword [rax + rcx - 0x60]
lea eax, [rdi + 1]
cmp eax, dword [rbx + 0xb8]
jge 0x1400d5927
lea rax, [r8 + 1]
lea rax, [rax + rax*2]
shl rax, 5
mov r14d, dword [rax + rcx + 0x50]
add r14d, dword [rax + rcx + 0x48]
cmp dword [r9 + rcx + 0x3c], 6
jne 0x1400d594b
mov rdx, qword [r9 + rcx]
lea r8, [rbp - 0x28]
mov rcx, qword [rcx]
call fcn.1400db360
test eax, eax
jne 0x1400d58cb
mov edx, dword [rbp - 0x10]
add edx, r14d
jmp 0x1400d596d
test r15, r15
je 0x1400d596d
mov rcx, qword [rcx]
lea r8, [rbp - 0x28]
mov rdx, r15
call fcn.1400db360
test eax, eax
jne 0x1400d58cb
mov edx, dword [rbp + 0x40]
add edx, dword [rbp - 0x10]
and dword [r13], 0
mov ecx, dword [rbx + 0x78]
add ecx, dword [rbx + 0x68]
mov rax, qword [rbp + 0x60]
add ecx, edx
mov dword [rax], ecx
jmp 0x1400d58c9
Function at 0x1400e3dbc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400e3e08
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400e3e00
cmp dword [rcx + 0x3c], edx
jl 0x1400e3e00
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400e3e00
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400e3e08
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1400e406c
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400e4078
push rbx
sub rsp, 0x540
mov rax, qword [0x14010a068]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1400e40f5
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x1400e4115
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400e3680
add rsp, 0x540
pop rbx
ret