joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003e930
Capabilities:
Hide graphical window

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x14003ea29
mov byte [rcx + 0x73], 0
mov edx, 0x428
mov rcx, qword [rcx + 0x40]
mov qword [rsp + 0x68], rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, qword [rdi + 0x40]
xor r9d, r9d
mov edx, 0x42a
mov qword [rsp + 0x20], 0
mov r8d, 0x184
mov rbx, rax
call qword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rdi + 0x40]
lea r8, [0x1402bc990]
mov edx, 0x411
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rdi + 0x40]
lea r8, [0x1402bd790]
mov edx, 0x431
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
lea rdx, [0x1402bdf10]
mov rcx, rdi
call fcn.140040bf0
mov rdx, qword [rdi + 0x40]
xor r8d, r8d
call fcn.140046fb0
mov rcx, qword [rdi + 0x40]
mov edx, 2
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x40]
mov edx, 4
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rbx, qword [rsp + 0x68]
jmp 0x14003ea99
cmp dword [rcx + 0xb54], 3
mov byte [rcx + 0x73], 1
jl 0x14003ea63
mov rcx, qword [rcx + 0x38]
lea rdx, [rsp + 0x30]
xor eax, eax
mov r9b, 7
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
mov word [rsp + 0x30], 0xf07
lea r8d, [rax + 0xc]
call fcn.1400261c0
cmp byte [rdi + 0x73], 0
je 0x14003ea8a
mov rcx, qword [rdi + 0x38]
lea rdx, [rsp + 0x30]
mov r9b, 7
mov dword [rsp + 0x30], 0x20107
mov r8d, InitCommonControls
mov dword [rsp + 0x38], 0
call fcn.1400261c0
lea rdx, [0x1402bd410]
mov rcx, rdi
call fcn.140040bf0
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14011b0c0
add rsp, 0x50
pop rdi
ret
Function at 0x14003f520
Capabilities:
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rsi, r8
lea r15, [0x1401989c8]
mov r14, rdx
mov qword [rsp + 0x20], r15
lea r8, [0x1401989cc]
mov rbx, 0xffffffffffffffff
lea rdx, str._s_s_s
lea r9, str.My_Documents
lea rcx, [rsp + 0x40]
call fcn.14003c250
lea rax, [rsp + 0x40]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14003f590
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14012c300
test eax, eax
mov qword [rsp + 0x20], r15
mov ecx, 5
lea r9, str.Desktop
mov edi, ebx
lea r8, [0x1401989cc]
cmove edi, ecx
lea rdx, str._s_s_s
lea rcx, [rsp + 0x40]
call fcn.14003c250
lea rax, [rsp + 0x40]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14003f5e0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14012c300
xor ecx, ecx
mov qword [rsp + 0x20], r15
test eax, eax
lea r9, str.Network_Favorites
lea r8, [0x1401989cc]
cmove edi, ecx
lea rdx, str._s_s_s
lea rcx, [rsp + 0x40]
call fcn.14003c250
lea rax, [rsp + 0x40]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14003f630
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14012c300
test eax, eax
jne 0x14003f650
lea edi, [rax + 0x13]
jmp 0x14003f654
cmp edi, ebx
je 0x14003f6a5
lea r8, [rsp + 0x30]
mov edx, edi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x14003f6a1
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp - 0x80]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x14003f6a1
lea r8, [0x1401987b4]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.1401220fc
lea r8, [rbp - 0x80]
mov edx, 0x40f
mov rcx, r14
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov al, 1
jmp 0x14003f722
mov r8, rsi
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.14012209c
xorps xmm0, xmm0
lea r8, [rbp - 0x80]
mov r9d, 2
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea edx, [r9 + 0x3e]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.140122454
cmp byte [rsp + 0x40], 0x5b
jne 0x14003f6fa
cmp byte [rsp + 0x41], 0x20
jne 0x14003f6fa
cmp byte [rsp + 0x42], 0
je 0x14003f720
lea rax, [rbp - 0x80]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003f700
cmp ebx, 2
jle 0x14003f720
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x14003f68f
xor al, al
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14011b0c0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140042520
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
lea rbp, [rsp - 0x680]
sub rsp, 0x780
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rbp + 0x670], rax
mov rsi, rdx
mov r14, rcx
mov rcx, rsi
mov edx, 0x5c
call fcn.14012bfe8
mov edx, 0x20
mov rcx, rsi
lea rbx, [rax + 1]
call fcn.14012bfe8
cmp byte [rbx], 0x5b
jne 0x1400427c2
cmp byte [rbx + 1], 0x20
jne 0x1400427c2
cmp byte [rax + 1], 0x5d
jne 0x1400427c2
cmp rbx, rax
jae 0x1400427c2
lea rdx, [rbp + 0x260]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov r8, rsi
lea rcx, [rbp + 0x40]
mov edx, 0x104
call fcn.14012209c
mov edx, 0x5c
lea rcx, [rbp + 0x40]
call fcn.14012bfe8
mov edx, 0x104
lea rcx, [rsp + 0x30]
mov rbx, rax
lea r8, [rax + 3]
call fcn.14012209c
lea rax, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400425e6
sub rcx, 2
cmp rcx, 0x104
jae 0x1400427e7
mov byte [rsp + rcx + 0x30], 0
mov rax, 0xffffffffffffffff
mov byte [rbx + 1], 0
lea rcx, [rsp + 0x30]
inc rax
cmp byte [rcx + rax], 0
jne 0x140042615
lea rdx, [rbp + 0x40]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140042630
add rax, 0xd
add rax, rcx
cmp rax, 0x103
ja 0x1400427c2
lea rax, str..zip
mov qword [rsp + 0x28], rax
lea r9, str._UVNCDIR_
lea rax, [rsp + 0x30]
lea r8, [rbp + 0x260]
mov qword [rsp + 0x20], rax
lea rdx, str._s_s_s_s
lea rcx, [rbp + 0x150]
call fcn.14002d8e0
lea r8, [rsp + 0x30]
mov edx, 0x104
lea rcx, [rbp + 0x40]
call fcn.1401220fc
lea r8, [rbp + 0x40]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.14012209c
lea rcx, [rsp + 0x30]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400426b5
cmp rax, 0x100
ja 0x1400427bb
lea r8, [0x140198b8c]
mov qword [rsp + 0x7b0], rdi
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1401220fc
lea rax, [0x1402bcc10]
lea rbx, str.__s____s____s
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea r9, [rbp + 0x40]
lea r8, [0x1402bcf10]
lea rcx, [rbp + 0x370]
call fcn.140047e20
lea rdx, [rbp + 0x370]
mov rcx, r14
call fcn.140040bf0
mov rcx, qword [r14 + 0x430]
lea r9, [rbp + 0x150]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x40]
call fcn.1400692f0
movzx edi, al
test al, al
je 0x140042757
lea r8, [0x1402bd0d0]
lea rcx, [0x1402bde90]
jmp 0x14004276c
lea rbx, str.__s____s__.__s
lea r8, [0x1402bd510]
lea rcx, [0x1402bd050]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x40]
lea rcx, [rbp + 0x370]
mov rdx, rbx
call fcn.140047e20
lea rdx, [rbp + 0x370]
mov rcx, r14
call fcn.140040bf0
test dil, dil
mov rdi, qword [rsp + 0x7b0]
je 0x1400427bb
lea r8, [rbp + 0x150]
mov edx, 0x124
mov rcx, rsi
call fcn.14012209c
mov eax, 1
jmp 0x1400427c4
mov eax, 0xffffffff
jmp 0x1400427c4
xor eax, eax
mov rcx, qword [rbp + 0x670]
xor rcx, rsp
call fcn.14011b0c0
mov rbx, qword [rsp + 0x7b8]
add rsp, 0x780
pop r14
pop rsi
pop rbp
ret
call fcn.14011b25c
int3
Function at 0x1400427f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x280
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp byte [rcx + 0x73], 0
mov r14d, edx
mov esi, r8d
mov rbx, rcx
je 0x14004293f
test r8d, r8d
je 0x14004293f
lea eax, [rsi + 1]
mov ecx, eax
mov ebp, eax
call fcn.14011b4c0
mov rdi, rax
test rax, rax
je 0x14004293f
mov r8d, ebp
xor edx, edx
mov rcx, rax
call fcn.14011fff0
mov rcx, qword [rbx + 0x38]
mov r8d, esi
mov rdx, rdi
call fcn.140025ac0
cmp esi, 0x104
jbe 0x140042878
mov byte [rdi + 0x104], 0
jmp 0x14004287c
mov byte [rsi + rdi], 0
cmp r14d, 0xffffffff
jne 0x140042969
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14003d610
cmp qword [rax + 0x18], 0x10
jb 0x14004289d
mov rax, qword [rax]
lea rcx, [0x1402bd1d0]
mov r9, rax
mov qword [rsp + 0x20], rcx
lea r8, [0x1402bdf90]
lea rcx, [rsp + 0x60]
lea rdx, str.__s____s____s
call fcn.140047d60
lea rcx, [rsp + 0x40]
call fcn.14002d3f0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140040bf0
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14003d610
cmp qword [rax + 0x18], 0x10
jb 0x1400428f2
mov rax, qword [rax]
lea rcx, [0x1402bd290]
mov r9, rax
mov qword [rsp + 0x20], rcx
lea r8, [0x1402bd890]
lea rcx, [rsp + 0x60]
lea rdx, str.__s____s____s
call fcn.140047d60
lea rcx, [rsp + 0x40]
call fcn.14002d3f0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140040bf0
mov rcx, rdi
mov byte [rbx + 0x751], 1
call fcn.14011b120
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14011b0c0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rcx, rdi
call fcn.14011b120
xor esi, esi
lea rcx, [rbx + 0x620]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x8000000
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbx + 0x618], rax
cmp rax, 0xffffffffffffffff
jne 0x1400429e6
lea r9, [rbx + 0x620]
lea r8, [0x1402bcd50]
lea rdx, str.__s____s__
lea rcx, [rsp + 0x60]
call fcn.140047d60
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140040bf0
mov byte [rbx + 0x751], 1
jmp 0x14004293f
mov rax, qword [rbx + 0x38]
mov word [rbx + 0x750], si
mov dword [rbx + 0x744], esi
mov qword [rbx + 0x748], rsi
cmp dword [rax + 0x5604], 0x800
mov byte [rbx + 0x752], 1
setbe al
mov byte [rbx + 0x754], al
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0xb60], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x610], eax
mov al, 1
jmp 0x140042941
Function at 0x140042e30
Capabilities:
Delete file
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x460], rax
cmp byte [rcx + 0x752], 0
mov rbx, rcx
jne 0x140042e5e
xor al, al
jmp 0x14004309a
mov byte [rcx + 0x752], 0
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + 0x38]
mov edx, 0xffff
mov qword [rsp + 0x488], rdi
mov r8d, 0x1005
xor edi, edi
mov dword [rsp + 0x20], 4
mov dword [rsp + 0x30], edi
mov rcx, qword [rcx + 0x748]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx + 0x618]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rbx + 0x751], dil
je 0x140042f0e
cmp byte [rbx + 0x750], dil
jne 0x140042f0e
cmp dword [rbx + 0xb54], 1
lea r8d, [rdi + 0xc]
mov rcx, qword [rbx + 0x38]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], 0x30707
mov dword [rsp + 0x40], edi
jne 0x140042ef6
xor r9d, r9d
call fcn.140026600
lea rax, [0x1402bd9d0]
lea r8, [0x1402be110]
jmp 0x140042f4d
mov r9b, 7
call fcn.1400261c0
lea rax, [0x1402bd9d0]
lea r8, [0x1402be110]
jmp 0x140042f4d
cmp dword [rbx + 0xb54], 1
lea rdx, [rsp + 0x38]
mov rcx, qword [rbx + 0x38]
mov r8d, InitCommonControls
mov word [rsp + 0x38], 0x607
jne 0x140042f37
xor r9d, r9d
call fcn.140026600
jmp 0x140042f3f
mov r9b, 7
call fcn.1400261c0
lea rax, [0x1402bdc50]
lea r8, [0x1402bd690]
lea rdi, [rbx + 0x620]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea rdx, str.__s____s____s
lea rcx, [rsp + 0x160]
call fcn.140047e20
mov edx, 0x5c
mov rcx, rdi
call fcn.14012bfe8
mov r8d, 9
lea rdx, str._UVNCDIR_
lea rcx, [rax + 1]
call fcn.14012b3c0
test eax, eax
jne 0x14004303a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [rbx + 0x751], 0
jne 0x14004303a
mov edx, 0x5c
mov rcx, rdi
call fcn.14012bfe8
mov edx, 0x2d
mov rcx, rax
call fcn.14012c1d8
mov edx, 0x104
lea rcx, [rsp + 0x50]
lea r8, [rax + 1]
call fcn.14012209c
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140042ff0
sub rax, 4
cmp rax, 0x104
jae 0x1400430b3
mov byte [rsp + rax + 0x50], 0
lea r9, [rsp + 0x50]
lea rax, [0x1402bcf50]
lea r8, [0x1402bd0d0]
mov qword [rsp + 0x20], rax
lea rdx, str.__s____s____s
lea rcx, [rsp + 0x160]
call fcn.140047e20
lea rdx, [rsp + 0x160]
mov rcx, rbx
call fcn.140040bf0
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rbx + 0x40]
mov edx, 0x40e
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x40]
mov edx, 0x412
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call fcn.14003edd0
mov rdi, qword [rsp + 0x488]
mov al, 1
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14011b0c0
add rsp, 0x470
pop rbx
ret
call fcn.14011b25c
int3
Function at 0x140048680
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
cmp dword [0x1402db544], 0
je 0x14004869e
xor eax, eax
cmp qword [0x1402bacb8], rax
setne al
add rsp, 0x28
ret
lea rcx, str.USER32
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x1400487de
lea rdx, [0x140198d18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402bac90], rax
test rax, rax
je 0x1400487de
lea rdx, [0x140198d30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402baca0], rax
test rax, rax
je 0x1400487de
lea rdx, str.MonitorFromRect
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402bac98], rax
test rax, rax
je 0x1400487de
lea rdx, [0x140198d58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402bacc0], rax
test rax, rax
je 0x1400487de
lea rdx, str.EnumDisplayMonitors
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402bacb0], rax
test rax, rax
je 0x1400487de
lea rdx, [0x140198d88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402bacb8], rax
test rax, rax
je 0x1400487de
lea rdx, [0x140198d98]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402baca8], rax
test rax, rax
je 0x1400487de
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp ebx, eax
jl 0x1400487de
mov ecx, 0x4f
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp ebx, eax
jl 0x1400487de
mov rbx, qword [rsp + 0x20]
mov eax, 1
mov dword [0x1402db544], eax
add rsp, 0x28
ret
mov rbx, qword [rsp + 0x20]
xor eax, eax
mov qword [0x1402bac90], rax
mov qword [0x1402baca0], rax
mov qword [0x1402bac98], rax
mov qword [0x1402bacc0], rax
mov qword [0x1402bacb8], rax
mov qword [0x1402bacb0], rax
mov qword [0x1402baca8], rax
mov dword [0x1402db544], 1
add rsp, 0x28
ret
Function at 0x14004a8b0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r10, rdx
mov rsi, rdx
sub r10, rcx
mov rbx, rcx
mov r8, rcx
mov r11d, 4
nop dword [rax]
mov r9d, 4
nop word [rax + rax]
movzx eax, byte [r10 + r8 + 0xa0]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x14004a8f0
sub r11, 1
jne 0x14004a8e0
mov dil, 9
lea rbp, [0x140188e60]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + rbp]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x14004a990
inc r8
sub r9, 1
jne 0x14004a980
movzx r8d, dil
lea r9d, [rdx + 4]
shl r8, 4
mov rax, rbx
sub r8, rbx
add r8, rsi
nop dword [rax]
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x14004a9e0
sub r9, 1
jne 0x14004a9d0
test dil, dil
je 0x14004aa0c
mov rcx, rbx
call fcn.14004a5f0
add dil, 0xff
jmp 0x14004a915
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14004b229
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
je 0x14004b38a
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xa0], rbp
mov edi, r8d
mov ebp, 0x40
mov rbx, rdx
mov rsi, rcx
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14004af00
inc qword [rsi + 0x20]
mov edx, edi
cmp edi, ebp
cmova edx, ebp
xor r8d, r8d
test edx, edx
je 0x14004b361
cmp edx, ebp
jb 0x14004b329
lea eax, [rdx - 1]
mov ecx, eax
lea r9, [rax + rbx]
lea rax, [rsp + 0x20]
add rax, rcx
cmp rbx, rax
ja 0x14004b2ab
lea rax, [rsp + 0x20]
cmp r9, rax
jae 0x14004b329
mov r9d, edx
and r9d, 0xffffffc0
mov r10d, 0x20
nop dword [rax + rax]
movdqu xmm0, xmmword [r8 + rbx]
lea eax, [r10 - 0x10]
movdqu xmm1, xmmword [rsp + r8 + 0x20]
pxor xmm1, xmm0
movdqu xmmword [r8 + rbx], xmm1
add r8d, ebp
movdqu xmm0, xmmword [rax + rbx]
movdqu xmm1, xmmword [rsp + rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + rbx], xmm1
mov eax, r10d
movdqu xmm0, xmmword [rax + rbx]
movdqu xmm1, xmmword [rsp + rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + rbx], xmm1
lea eax, [r10 + 0x10]
add r10d, ebp
movdqu xmm0, xmmword [rax + rbx]
movdqu xmm1, xmmword [rsp + rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + rbx], xmm1
cmp r8d, r9d
jb 0x14004b2c0
cmp r8d, edx
jae 0x14004b361
mov eax, r8d
lea r9, [rsp + 0x20]
add rax, rbx
sub r9, rbx
mov ecx, edx
sub ecx, r8d
mov r8d, ecx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r9 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x14004b350
mov eax, edx
add rbx, rax
sub edi, edx
jne 0x14004b260
mov rbp, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14011b0c0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x14004bb10
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r8, str.Reset_keyboard_for_first_use_n
lea rcx, vtable.Log.0
mov edx, 8
call fcn.1400153f0
xor esi, esi
lea rcx, [rdi + 0x1f8]
mov word [rdi + 0xf10], si
call qword [sym.imp.USER32.dll_GetKeyboardState]
lea rdx, [rdi + 0x1f8]
mov rcx, rdi
call fcn.14004bcc0
mov eax, esi
lea rcx, [rdi + 0x2f8]
nop dword [rax + rax]
inc eax
mov dword [rcx], 0xffffff
lea rcx, [rcx + 4]
cmp eax, 0x200
jb 0x14004bb70
mov ecx, esi
lea rax, [rdi + 0xaf8]
nop dword [rax]
inc ecx
mov word [rax], si
lea rax, [rax + 2]
cmp ecx, 0x200
jb 0x14004bb90
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14004f050
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor esi, esi
shr r9d, 0x18
mov dword [rdx + 0x10], esi
mov ebp, r8d
mov rdi, rdx
mov r14, rcx
mov ebx, esi
test r9b, 1
je 0x14004f09a
mov eax, r8d
sub eax, 0xd
je 0x14004f095
sub eax, 4
je 0x14004f08e
cmp eax, 1
jne 0x14004f09a
mov ebp, 0xa5
jmp 0x14004f09a
mov ebp, 0xa3
jmp 0x14004f09a
mov ebp, 0x1234
lea rdx, [0x140189d20]
mov eax, esi
mov rcx, rdx
mov qword [rsp + 0x58], r15
nop dword [rax + rax]
cmp dword [rcx], ebp
je 0x14004f266
inc eax
add rcx, 8
cmp eax, 0x54
jb 0x14004f0b0
lea rcx, [r14 + 4]
call qword [sym.imp.USER32.dll_GetKeyboardState]
mov edx, ebp
mov rcx, r14
call fcn.14004eee0
movsxd r15, eax
cmp byte [r14 + 0x16], bl
jge 0x14004f19c
cmp byte [r14 + 0x15], bl
jge 0x14004f19c
cmp r15d, 1
jl 0x14004f19c
movzx eax, byte [r14]
lea ecx, [rax - 0x20]
cmp cl, 0x5e
jbe 0x14004f10c
cmp al, 0xa0
jb 0x14004f19c
mov ecx, 0xa2
mov qword [rsp + 0x50], r12
call qword [sym.imp.USER32.dll_GetKeyState]
mov r12d, 0x8000
test r12w, ax
je 0x14004f12c
or dword [rdi + 0x10], 1
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
test r12w, ax
je 0x14004f141
or dword [rdi + 0x10], 4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
and ax, r12w
mov r12, qword [rsp + 0x50]
mov eax, dword [rdi + 0x10]
je 0x14004f160
or eax, 8
mov dword [rdi + 0x10], eax
test eax, eax
jne 0x14004f16b
mov dword [rdi + 0x10], reloc.WS2_32.dll_listen
cmp r15d, 2
je 0x14004f271
test r15d, r15d
jle 0x14004f19c
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [rdx + r14]
inc rdx
mov eax, ebx
inc ebx
mov dword [rdi + rax*4], ecx
cmp rdx, r15
jl 0x14004f180
test ebx, ebx
jne 0x14004f271
cmp r15d, 2
je 0x14004f271
mov edx, ebp
mov word [r14 + 0xa6], si
mov rcx, r14
mov byte [r14 + 0x15], sil
call fcn.14004eee0
test eax, eax
jns 0x14004f208
movzx edx, byte [r14]
sub edx, 0x27
je 0x14004f1fd
sub edx, 0x37
je 0x14004f1f5
sub edx, 2
je 0x14004f1ed
sub edx, 0x1e
je 0x14004f1e5
cmp edx, 0x2a
jne 0x14004f208
mov dword [rdi], 0xfe57
jmp 0x14004f203
mov dword [rdi], 0xfe53
jmp 0x14004f203
mov dword [rdi], 0xfe50
jmp 0x14004f203
mov dword [rdi], 0xfe52
jmp 0x14004f203
mov dword [rdi], 0xfe51
mov ebx, 1
cmp eax, 1
jl 0x14004f271
cmp eax, 2
jne 0x14004f246
movzx eax, byte [r14]
cmp al, 0xb4
jne 0x14004f22e
cmp byte [r14 + 1], 0xf9
jne 0x14004f271
mov eax, ebx
inc ebx
mov dword [rdi + rax*4], 0xfe51
jmp 0x14004f271
cmp al, 0x60
jne 0x14004f271
cmp byte [r14 + 1], 0xb5
jne 0x14004f271
mov eax, ebx
inc ebx
mov dword [rdi + rax*4], 0xfe50
jmp 0x14004f271
movsxd rdx, eax
test eax, eax
jle 0x14004f271
nop dword [rax]
movzx ecx, byte [rsi + r14]
inc rsi
mov eax, ebx
inc ebx
mov dword [rdi + rax*4], ecx
cmp rsi, rdx
jl 0x14004f250
jmp 0x14004f271
mov eax, dword [rdx + rax*8 + 4]
mov ebx, 1
mov dword [rdi], eax
mov r15, qword [rsp + 0x58]
mov eax, ebx
mov dword [rdi + rax*4], 0xffffff
mov rax, rdi
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140050070
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
lea rax, vtable.MRU.0
mov rdi, rcx
mov qword [rcx], rax
xor edx, edx
add rcx, 8
mov r8d, 0x101
call fcn.14011fff0
lea rcx, [rdi + 0x110]
mov dword [rdi + 0x10c], WSAAsyncSelect
mov qword [rsp + 0x28], rcx
lea r9, [rdi + 8]
lea rcx, str.connection
mov dword [rsp + 0x20], 0x101
lea r8, [0x14019581a]
lea rdx, str.index
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rbx, qword [rsp + 0x48]
mov rax, rdi
add rsp, 0x30
pop rdi
ret