joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c4b4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov rax, rsp
sub rsp, 0x40
mov dword [r9], 0
mov qword [rax - 0x18], r9
mov r12, rcx
mov rcx, qword [rcx]
mov rsi, r9
mov rbx, r8
lea r9, [rax + 0x48]
xor r8d, r8d
mov rbp, rdx
mov dword [rax + 0x48], 0
mov qword [rax - 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40c503
cmp eax, 0xea
jne 0x40c565
mov edi, dword [rsi]
cmp rdi, qword [rbx + 8]
je 0x40c53b
mov rcx, qword [rbx]
test rcx, rcx
je 0x40c51f
call sub.msvcrt.dll_free
mov qword [rbx], 0
test rdi, rdi
mov qword [rbx + 8], 0
je 0x40c53b
mov rcx, rdi
call fcn.00403810
mov qword [rbx + 8], rdi
mov qword [rbx], rax
mov rax, qword [rbx]
mov rcx, qword [r12]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x40c570
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
xor esi, esi
mov r12, r8
mov r15, rdx
cmp dword [r8 + 8], esi
mov rbp, rsi
jbe 0x40c5b1
mov r9, qword [r8]
mov r8d, dword [r8 + 8]
mov rax, qword [r9]
add r9, 8
mov eax, dword [rax + 8]
inc eax
add rbp, rax
dec r8
jne 0x40c59d
cmp rbp, rsi
mov rbx, rsi
je 0x40c5c6
lea rcx, [rbp + rbp]
call fcn.00403810
mov rbx, rax
cmp dword [r12 + 8], esi
mov r14d, esi
jbe 0x40c604
mov r13, rsi
mov rax, qword [r12]
lea rcx, [rbx + rsi*2]
mov rdx, qword [r13 + rax]
mov eax, dword [rdx + 8]
mov rdx, qword [rdx]
inc eax
mov edi, eax
lea r8, [rax + rax]
call sub.msvcrt.dll_memcpy
inc r14d
add rsi, rdi
add r13, 8
cmp r14d, dword [r12 + 8]
jb 0x40c5d3
mov rcx, qword [rsp + 0x80]
lea eax, [rbp + rbp]
mov r9d, 3
mov rcx, qword [rcx]
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
mov edi, eax
call sub.msvcrt.dll_free
mov eax, edi
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x40d880
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x60
movabs rax, 0x100000000
mov rbx, rcx
mov dword [rsp + 0x20], 0x40
mov qword [rcx], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x40d8c2
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x48], rax
cmovb rax, qword [rsp + 0x48]
mov qword [rbx], rax
mov al, 1
add rsp, 0x60
pop rbx
ret
Function at 0x40d9b0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [rdx]
xor ebx, ebx
mov rbp, rcx
mov dword [rdx + 8], ebx
mov word [rax], bx
mov rcx, qword [rcx]
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
mov esi, eax
je 0x40da1b
cmp eax, dword [rdi + 0xc]
jbe 0x40d9e8
mov edx, eax
mov rcx, rdi
call fcn.00402588
mov rdx, qword [rdi]
mov rcx, qword [rbp]
lea r8d, [rsi + 1]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi]
cmp esi, eax
cmova esi, eax
mov eax, ebx
mov word [rcx + rsi*2], bx
jmp 0x40da0f
inc eax
add rcx, 2
cmp word [rcx], bx
jne 0x40da09
cmp esi, ebx
mov dword [rdi + 8], eax
jne 0x40da28
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
sete al
jmp 0x40da2a
mov al, 1
add rsp, 0x28
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x424998
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r12, rcx
mov edx, dword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
mov rbp, qword [rax + rdx*8 - 8]
lea rdx, str.CreateDecoder
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
lea rdx, str.CreateEncoder
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x30], rax
lea rdx, str.GetMethodProperty
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x20], rax
xor edi, edi
cmp rax, rdi
je 0x424b69
mov dword [rsp + 0xb0], 1
lea rdx, str.GetNumberOfMethods
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rdi
je 0x424a3b
lea rcx, [rsp + 0xb0]
call rax
cmp eax, edi
jne 0x424be4
mov esi, edi
cmp dword [rsp + 0xb0], edi
jbe 0x424b69
mov eax, dword [r12 + 0x20]
dec eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], esi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
mov r8d, 3
mov edx, esi
mov rcx, qword [rbp + 0x20]
call fcn.004238e8
cmp eax, edi
jne 0x424be4
lea rax, [rsp + 0x59]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
mov r8d, 2
mov edx, esi
mov rcx, qword [rbp + 0x20]
call fcn.004238e8
cmp eax, edi
jne 0x424be4
mov rax, qword [rbp + 0x20]
mov word [rsp + 0x38], di
mov word [rsp + 0x3a], di
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x5a], dil
mov byte [rsp + 0x5b], dil
lea r8, [rsp + 0x38]
mov edx, 0xa
mov ecx, esi
call rax
mov ebx, eax
cmp eax, edi
je 0x424ae6
lea rcx, [rsp + 0x38]
call fcn.0040b63c
jmp 0x424b12
cmp word [rsp + 0x38], 0xb
jne 0x424aff
mov byte [rsp + 0x5b], 1
cmp word [rsp + 0x40], di
setne byte [rsp + 0x5a]
jmp 0x424b06
cmp word [rsp + 0x38], di
jne 0x424b56
lea rcx, [rsp + 0x38]
call fcn.0040b63c
mov ebx, edi
cmp ebx, edi
jne 0x424b65
lea rcx, [r12 + 0x60]
call fcn.00423ee4
mov ecx, dword [r12 + 0x68]
lea eax, [rcx + 1]
mov dword [r12 + 0x68], eax
imul rcx, rcx, 0x2c
add rcx, qword [r12 + 0x60]
lea rdx, [rsp + 0x50]
mov r8d, 0x2c
call sub.msvcrt.dll_memcpy
inc esi
cmp esi, dword [rsp + 0xb0]
jae 0x424b69
jmp 0x424a4a
lea rcx, [rsp + 0x38]
call fcn.0040b63c
mov ebx, 0x80004005
mov eax, ebx
jmp 0x424be4
lea rdx, str.GetHashers
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rdi
je 0x424be2
lea rcx, [rbp + 0x40]
call rax
cmp eax, edi
jne 0x424be4
mov rcx, qword [rbp + 0x40]
cmp rcx, rdi
je 0x424be2
mov rax, qword [rcx]
call qword [rax + 0x18]
mov esi, eax
cmp eax, edi
jbe 0x424be2
mov ecx, dword [r12 + 0x20]
dec ecx
mov dword [rsp + 0xb0], ecx
mov dword [rsp + 0xb4], edi
lea rcx, [r12 + 0x70]
call fcn.00423f68
mov r11d, dword [r12 + 0x78]
lea eax, [r11 + 1]
mov dword [r12 + 0x78], eax
mov rcx, qword [r12 + 0x70]
mov rax, qword [rsp + 0xb0]
mov qword [rcx + r11*8], rax
inc edi
cmp edi, esi
jb 0x424b9e
xor eax, eax
add rsp, 0x80
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x434f68
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
mov rax, rsp
sub rsp, 0x58
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r13, r9
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
mov dword [rax + 0x40], 0
mov edi, dword [rdx]
cmp byte [rdx + 4], 0
je 0x434fe4
mov edi, 1
lea r8d, [rdi + 2]
lea rdx, [rax - 0x30]
mov rcx, rbp
call fcn.00434f48
nop
mov rcx, qword [rsp + 0x28]
call fcn.00409de8
test al, al
je 0x434fda
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_GetDriveTypeW
cmp eax, 5
je 0x434fd8
cmp eax, 2
jne 0x434fda
mov edi, dword [rsi]
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
mov rcx, rbp
call fcn.00402ebc
lea r12d, [rax + 1]
mov rax, qword [rbp]
lea rdx, [rax + r12*2]
mov rcx, r13
call fcn.00402b10
mov rcx, rbx
call fcn.004028fc
mov dword [rsp + 0x98], 1
dec edi
je 0x435055
dec edi
je 0x435047
mov rcx, rbx
call fcn.004065d4
test al, al
jne 0x43507c
mov dword [rsp + 0xa0], 0x22995
lea rdx, [0x004d2278]
lea rcx, [rsp + 0xa0]
call sub.msvcrt.dll__CxxThrowException
int3
lea rdx, [rsi + 8]
mov rcx, rbx
call fcn.00402b78
jmp 0x43507c
mov r8d, r12d
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.004119e0
nop
mov rdx, rax
mov rcx, rbx
call fcn.00402b78
nop
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
mov rcx, rbx
call fcn.00409d70
mov rax, rbx
add rsp, 0x58
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x450c98
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rdi
sub rsp, 0x28
mov rdi, rcx
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov rbx, rdx
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [rbx + 0x18]
mov r11w, ax
shr r11d, 0xf
and r11b, 1
cmp ecx, 8
je 0x450cec
cmp ecx, 0x52
je 0x450cdd
cmp ecx, 0x76
je 0x450cd3
xor al, al
jmp 0x450cf6
mov rcx, rdi
call fcn.00450868
jmp 0x450cf4
test r11b, r11b
je 0x450ccf
mov rcx, rdi
call fcn.0044fb88
jmp 0x450cf4
mov rcx, rdi
call fcn.0044fc80
mov al, 1
add rsp, 0x28
pop rdi
pop rbx
ret

Function at 0x451988
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0xd0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rbp, r9
mov rsi, r8
mov r12, rcx
lea rcx, [rsp + 0x20]
call fcn.00402a88
nop
mov dx, 0x2e
lea rcx, [rsp + 0x20]
call fcn.00402e88
mov edi, eax
lea rcx, [rsp + 0x20]
call fcn.00402ebc
xor ebx, ebx
cmp edi, ebx
jl 0x4519d7
cmp edi, eax
jge 0x4519e1
lea rcx, [rsp + 0x20]
call fcn.00403324
mov dword [rsp + 0x60], 0x70
mov dword [rsp + 0x64], 0x140
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.00402a88
nop
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.00402a88
mov r11, qword [rsp + 0x40]
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x80], rbx
mov eax, dword [rsp + 0x38]
neg eax
sbb rcx, rcx
and rcx, qword [rsp + 0x30]
mov qword [rsp + 0x88], rcx
mov dword [rsp + 0x90], 1
mov qword [rsp + 0xc8], rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, dword [rsp + 0x98]
mov rax, qword [rsp + 0xc8]
mov qword [rbp], rax
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
cmp edi, 0x20
ja 0x451aaa
cmp edi, 0x1f
jne 0x451aa3
call fcn.00408610
mov edx, eax
xor r8d, r8d
mov rcx, rsi
call fcn.00451410
nop
mov ebx, 0x80004005
jmp 0x451aaa
mov rcx, qword [rsp + 0x20]
call sub.msvcrt.dll_free
mov eax, ebx
add rsp, 0xd0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x4552c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x68
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
mov r13w, ax
shr r13d, 0xf
and r13b, 1
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov bp, ax
shr ebp, 0xf
and bpl, 1
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov r12w, ax
shr r12d, 0xf
and r12b, 1
mov edx, 0x100c
mov r9d, 2
lea r8, [r9 - 3]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
test eax, eax
js 0x4554c8
movsxd r8, eax
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jns 0x4554c8
lea r8, [rsp + 0xa0]
mov edx, esi
lea rcx, [rbx + 0x30]
call fcn.0040e20c
test al, al
je 0x455381
cmp dword [rsp + 0xa0], 0xffffffff
jne 0x45538e
mov rcx, rbx
call fcn.00453d48
jmp 0x4554c8
mov eax, dword [rsp + 0xa0]
shl rax, 5
add rax, qword [rbx + 0x10]
mov ecx, dword [rax]
mov rax, qword [rbx + 0x20]
mov r8, qword [rax + rcx*8]
test r13b, r13b
je 0x4553bc
mov rdx, r8
mov rcx, rbx
call fcn.004546f8
jmp 0x4554c8
mov ecx, dword [r8 + 0x20]
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x4553de
mov rdx, qword [str.link_openning_was_blocked_by_7_Zip]
mov rcx, qword [rbx + 8]
call fcn.0044a784
jmp 0x4554c8
mov sil, 1
shr ecx, 4
test sil, cl
je 0x4553f6
test r12b, r12b
je 0x4553f3
test bpl, bpl
je 0x4553f6
xor sil, sil
add r8, 0x28
lea rdx, [rbx + 0x90]
lea rcx, [rsp + 0x38]
call fcn.00402838
nop
test sil, sil
je 0x455436
mov r8, qword [rbx + 8]
lea rdx, [rsp + 0x38]
lea rcx, [rbx + 0x90]
call fcn.00451e24
nop
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
jmp 0x4554c8
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.00402a88
nop
mov edx, dword [rsp + 0x30]
cmp dword [rsp + 0x34], edx
jne 0x45545e
lea rcx, [rsp + 0x28]
call fcn.00402618
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov eax, edx
mov word [rcx + rax*2], 0x5c
inc edx
mov word [rcx + rdx*2], 0
mov dword [rsp + 0x30], edx
lea rcx, [rsp + 0x48]
call fcn.004028fc
nop
mov r8, rax
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.00453c2c
mov edi, eax
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
test edi, edi
je 0x4554b3
mov r8, qword [rsp + 0x28]
mov edx, edi
mov rcx, qword [rbx + 8]
call fcn.00451410
nop
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
add rsp, 0x68
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x45558c
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rdi
sub rsp, 0x78
mov rdi, rcx
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov rbx, rdx
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [rbx + 0x18]
mov r11w, ax
shr r11d, 0xf
and r11b, 1
cmp ecx, 8
je 0x45567f
cmp ecx, 0x2e
je 0x455675
cmp ecx, 0x41
je 0x455646
cmp ecx, 0x52
je 0x455635
cmp ecx, 0x72
je 0x4555e6
cmp ecx, 0x73
jle 0x4555df
cmp ecx, 0x75
jle 0x4555e6
xor al, al
jmp 0x455689
xor eax, eax
cmp r11b, al
je 0x455689
cmp ecx, 0x74
jne 0x4555fb
lea edx, [rax + 1]
jmp 0x45560a
mov edx, eax
mov r8d, 2
cmp ecx, 0x75
cmove edx, r8d
cmp edx, dword [rdi + 0x68]
jne 0x455617
cmp byte [rdi + 0x78], al
sete al
jmp 0x455628
cmp edx, eax
je 0x455620
cmp edx, dword [rdi + 0x6c]
jne 0x455625
mov eax, 1
mov dword [rdi + 0x68], edx
mov rcx, rdi
mov byte [rdi + 0x78], al
call fcn.00453c00
jmp 0x45563c
xor eax, eax
cmp r11b, al
je 0x455689
mov rcx, rdi
call fcn.00453c00
jmp 0x455687
xor eax, eax
cmp r11b, al
je 0x455689
mov rcx, qword [rdi + 0x30]
lea r8d, [rax + 2]
lea r9, [rsp + 0x20]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x2c], r8d
lea r8, [rax - 1]
mov edx, 0x102b
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x455687
mov rcx, rdi
call fcn.00454790
jmp 0x455687
mov rcx, rdi
call fcn.00453d48
mov al, 1
add rsp, 0x78
pop rdi
pop rbx
ret
Function at 0x45f350
Capabilities:
Copy file

Disassembly:
push rbx
sub rsp, 0x30
mov r10, rdx
mov rax, r8
lea rdx, [rsp + 0x58]
mov r9, rcx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdx
lea r8, [0x0045f2e4]
xor ebx, ebx
mov rdx, rax
mov rcx, r10
mov dword [rsp + 0x58], ebx
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
cmp eax, ebx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x45f4f0
Capabilities:
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbp, r8
mov r12, rdx
mov r13, rcx
mov rcx, rdx
call fcn.0040a510
mov esi, eax
mov rcx, rbp
call fcn.0040a510
mov edi, eax
xor ebx, ebx
cmp esi, 1
je 0x45f567
cmp eax, 1
je 0x45f567
mov dword [rsp + 0x20], 2
mov r9, r13
lea r8, [0x0045f2e4]
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
cmp eax, ebx
je 0x45f558
mov al, 1
jmp 0x45f640
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x45f626
cmp esi, ebx
jne 0x45f573
cmp edi, ebx
je 0x45f626
cmp dword [r13 + 0x20], ebx
je 0x45f580
xor al, al
jmp 0x45f640
lea rcx, [rsp + 0x48]
call fcn.004028fc
nop
lea rcx, [rsp + 0x38]
call fcn.004028fc
nop
cmp esi, 1
je 0x45f5a4
cmp edi, 1
je 0x45f5a4
mov al, 1
jmp 0x45f5a6
mov al, bl
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x48]
mov rdx, rbp
mov rcx, r12
call fcn.0040ac24
cmp al, bl
jne 0x45f5d0
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
jmp 0x45f603
mov dword [rsp + 0x20], 2
mov r9, r13
lea r8, [0x0045f2e4]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
cmp eax, ebx
je 0x45f611
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
mov bl, 1
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
mov al, bl
jmp 0x45f640
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x45f635
xor al, al
jmp 0x45f640
mov rdx, rbp
mov rcx, r12
call fcn.00406008
add rsp, 0x68
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x461144
Capabilities:
Identify system language via api

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
movsxd rbx, dword [rcx + 8]
mov r12, rdx
mov rbp, rcx
test ebx, ebx
mov rdi, rbx
je 0x46118c
shl rdi, 3
mov rax, qword [rbp]
sub rdi, 8
add ebx, 0xffffffff
mov rsi, qword [rdi + rax]
test rsi, rsi
je 0x461188
mov rcx, qword [rsi]
call sub.msvcrt.dll_free
mov rcx, rsi
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x461164
mov dword [rbp + 8], 0
mov dword [r12], 0
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov edx, 0x3ff
movzx ecx, ax
xor cx, bx
test dx, cx
jne 0x4611d0
movzx ecx, ax
mov eax, ecx
and ecx, edx
mov rdx, rbp
shr eax, 0xa
mov dword [r12], eax
call fcn.00460fe8
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x465d1c
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x38
mov eax, edx
mov r12, r9
mov rdi, r8
sub eax, 0x100
mov r13d, edx
mov rsi, rcx
je 0x465e0b
sub eax, 2
je 0x465dda
cmp eax, 2
jne 0x465dee
cmp r8, 0x70
jb 0x465dee
cmp r8, 0x71
ja 0x465dee
bt r9, 0x1d
jae 0x465dee
lea ecx, [rax + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov bx, ax
shr ebx, 0xf
and bl, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, InitCommonControls
mov r14w, ax
shr r14d, 0xf
and r14b, 1
call qword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
mov r11w, ax
shr r11d, 0xf
and r11b, 1
cmp bl, dl
je 0x465dee
cmp r14b, dl
jne 0x465dee
cmp r11b, dl
jne 0x465dee
mov rax, qword [rsi + 0x10]
cmp rdi, 0x70
mov rcx, qword [rax + 0x58]
setne dl
mov rax, qword [rcx]
call qword [rax + VariantCopyInd]
jmp 0x465ecd
cmp r8, 9
je 0x465ecd
cmp r8, 0x1b
je 0x465ecd
mov rdx, qword [rsi]
mov rcx, qword [rsi + 8]
mov r9, rdi
mov r8d, r13d
mov qword [rsp + 0x20], r12
call qword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x465ecf
cmp r8, 9
je 0x465ebc
cmp r8, 0x57
je 0x465e84
cmp r8, 0x78
jne 0x465dee
lea ecx, [r8 - 0x66]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov bx, ax
shr ebx, 0xf
and bl, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, InitCommonControls
mov r14w, ax
shr r14d, 0xf
and r14b, 1
call qword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
mov r11w, ax
shr r11d, 0xf
and r11b, 1
cmp bl, dl
jne 0x465dee
cmp r14b, dl
jne 0x465dee
cmp r11b, dl
jne 0x465dee
lea rcx, [0x004d57c0]
call fcn.0044b3dc
jmp 0x465ecd
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
shr r11d, 0xf
test r11b, 1
je 0x465dee
mov rcx, qword [0x004d5778]
xor r9d, r9d
mov edx, 0x111
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x465ecd
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0xa8]
call qword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
add rsp, 0x38
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x47c6a8
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov di, ax
shr edi, 0xf
and dil, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, InitCommonControls
mov bx, ax
shr ebx, 0xf
and bl, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
shr r11d, 0xf
and r11b, 1
jne 0x47c70a
xor edx, edx
cmp dil, dl
je 0x47c715
cmp bl, dl
jne 0x47c715
mov rcx, rsi
call fcn.0047f35c
jmp 0x47c71f
xor dl, dl
cmp dil, dl
jne 0x47c715
cmp bl, dl
je 0x47c717
mov dl, 1
mov rcx, rsi
call fcn.00479a6c
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x47e660
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [r8]
xor r14d, r14d
cmp rcx, r14
je 0x47e69b
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov qword [rsi], r14
mov rcx, qword [rdi]
cmp rcx, r14
je 0x47e6ac
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov qword [rdi], r14
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov r12w, ax
shr r12d, 0xf
and r12b, 1
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], r14d
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.0047976c
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.00466464
mov r13d, eax
mov rcx, rbx
call fcn.00466228
cmp al, r14b
jne 0x47e73a
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x38]
mov r8b, r12b
mov rdx, rbp
mov rcx, rbx
call fcn.0047e324
cmp byte [0x004d57c8], r14b
je 0x47e73a
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x38]
mov r8b, r12b
mov rdx, rbp
mov rcx, rbx
call fcn.0047e14c
mov byte [rsp + 0x58], r14b
mov byte [rsp + 0x59], r14b
mov byte [rsp + 0x5a], r14b
mov byte [rsp + 0x5b], r14b
mov byte [rsp + 0x5c], r14b
mov byte [rsp + 0x5d], 1
mov dword [rsp + 0x60], r14d
lea rcx, [rsp + 0x68]
call fcn.004028fc
nop
mov rcx, rbx
call fcn.0047e470
mov byte [rsp + 0x59], al
mov rcx, rbx
call fcn.0046625c
mov byte [rsp + 0x5a], al
mov rcx, rbx
call fcn.00466204
cmp al, r14b
jne 0x47e7ae
mov rcx, rbx
call fcn.00466210
cmp al, r14b
jne 0x47e7ae
mov rcx, rbx
call fcn.0046621c
cmp al, r14b
jne 0x47e7ae
mov byte [rsp + 0x5b], r14b
jmp 0x47e7b3
mov byte [rsp + 0x5b], 1
mov al, byte [rsp + 0xe0]
mov byte [rsp + 0x58], al
cmp r13d, 0xffffffff
sete byte [rsp + 0x5c]
mov eax, dword [rsp + 0x40]
mov ecx, eax
mov dword [rsp + 0x60], eax
mov byte [rsp + 0x5d], r14b
cmp eax, 1
jne 0x47e811
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.00478f7c
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.00402b78
nop
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
mov r9, qword [rbx + 0x180]
cmp r9, r14
je 0x47e860
cmp eax, 1
ja 0x47e87f
mov edx, 0xffffffff
cmp eax, 1
jne 0x47e833
mov rax, qword [rsp + 0x38]
mov edx, dword [rax]
mov dword [rsp + 0xe0], r14d
mov rax, qword [r9]
lea r8, [rsp + 0xe0]
mov rcx, r9
call qword [rax + 0x28]
cmp eax, r14d
jne 0x47e87f
cmp dword [rsp + 0xe0], r14d
setne byte [rsp + 0x5d]
jmp 0x47e87f
cmp ecx, r14d
jne 0x47e873
mov rcx, rbx
call fcn.00466204
mov byte [rsp + 0x5d], al
jmp 0x47e87f
mov rcx, rbx
call fcn.0047d3b8
mov byte [rsp + 0x5d], al
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetMenuItemCount]
mov r8d, eax
mov rdx, rbp
lea rcx, [rsp + 0x58]
call fcn.00462eb0
nop
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret