joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400203ec
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x18], r8d
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r15, qword [rcx + 8]
xor r9d, r9d
mov r12, qword [rcx]
mov r13d, edx
mov qword [rsp + 0x38], r12
mov ebx, 0x159a55e5
mov r11d, 0x1f123bb5
lea ebp, [r9 + 1]
mov r10d, ebp
mov edi, ebp
test r15, r15
je 0x1400205ae
movzx eax, bx
imul ecx, eax, 0x9069
movzx eax, r11w
shr ebx, 0x10
shr r11d, 0x10
add ebx, ecx
imul ecx, eax, 0x4650
mov edx, ebx
shl edx, 0x10
add r11d, ecx
add edx, r11d
xor edx, r8d
mov eax, edx
shr edx, 1
test ebp, eax
je 0x1400205c3
cmp r9, 0x400
jb 0x1400205c3
mov ecx, edx
mov esi, ebp
shr edx, 2
and ecx, 3
inc ecx
shl esi, cl
sub esi, ebp
and esi, edx
shr edx, cl
mov eax, edx
inc esi
shr edx, 3
test eax, 7
je 0x14002056e
mov ecx, edx
mov eax, ebp
shr edx, 2
and ecx, 3
inc ecx
shl eax, cl
sub eax, ebp
and eax, edx
shr edx, cl
add esi, eax
jmp 0x1400204b7
add edi, ebp
mov ecx, edi
mov rax, rbp
shl rax, cl
cmp rax, r9
jb 0x1400204b5
mov r12d, dword [rsp + 0x48]
cmp r13d, edi
mov ebp, InitCommonControls
mov r8d, r13d
cmova r8d, edi
cmp r8d, 0x15
lea eax, [rbp + 0x10]
cmova ebp, eax
movzx eax, bx
mov r10d, ebp
and r10d, edx
imul ecx, eax, 0x9069
movzx eax, r11w
add r10d, 6
imul edx, eax, 0x4650
shr ebx, 0x10
shr r11d, 0x10
add ebx, ecx
mov r14d, ebx
add r11d, edx
mov edx, ebx
shl edx, 0x10
add edx, r11d
xor edx, r12d
cmp r10d, r8d
ja 0x1400204e2
mov ecx, r10d
mov eax, edx
mov r10d, 1
shl r10, cl
dec r10
and r10, rax
cmp r10, r9
jb 0x140020561
movzx eax, r14w
imul ebx, eax, 0x9069
movzx eax, r11w
imul ecx, eax, 0x4650
shr r11d, 0x10
shr r14d, 0x10
add ebx, r14d
add r11d, ecx
mov edx, r11d
xor edx, r12d
jmp 0x1400204e2
mov r12, qword [rsp + 0x38]
mov ebp, 1
add r10, rbp
lea rdx, [r12 + r9]
mov eax, esi
mov rcx, r15
sub rcx, r9
cmp rax, rcx
cmovbe ecx, esi
mov r8d, ecx
mov rcx, rdx
sub rcx, r10
add r9, r8
test r8d, r8d
je 0x1400205a0
mov al, byte [rcx]
add rcx, rbp
mov byte [rdx], al
add rdx, rbp
sub r8, rbp
jne 0x140020591
mov r8d, dword [rsp + 0x48]
cmp r9, r15
jb 0x140020434
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov byte [r12 + r9], dl
add r9, rbp
jmp 0x1400205a5
Function at 0x140022c18
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x140022dac
mov eax, edx
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
sub rax, 1
jne 0x140022c22
mov eax, ecx
ret
Function at 0x14002f074
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r15, rcx
mov edx, dword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
mov rsi, qword [rax + rdx*8 - 8]
lea rdx, str.CreateDecoder
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x28], rax
lea rdx, str.CreateEncoder
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x30], rax
lea rdx, str.GetMethodProperty
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x20], rax
xor edi, edi
test rax, rax
je 0x14002f214
mov dword [rbp + 0x20], 1
lea rdx, str.GetNumberOfMethods
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002f112
lea rcx, [rbp + 0x20]
call rax
test eax, eax
jne 0x14002f269
mov r14d, edi
cmp dword [rbp + 0x20], edi
jbe 0x14002f214
mov eax, dword [r15 + 0x20]
dec eax
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x34], r14d
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x2c]
mov r8d, 3
mov edx, r14d
mov rcx, qword [rsi + 0x20]
call fcn.14002e734
test eax, eax
jne 0x14002f269
lea rax, [rbp - 0x2f]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x1c]
mov r8d, 2
mov edx, r14d
mov rcx, qword [rsi + 0x20]
call fcn.14002e734
test eax, eax
jne 0x14002f269
mov rax, qword [rsi + 0x20]
mov dword [rbp - 0x50], edi
mov qword [rbp - 0x48], rdi
mov word [rbp - 0x2e], di
lea r8, [rbp - 0x50]
mov edx, 0xa
mov ecx, r14d
call rax
mov ebx, eax
test eax, eax
je 0x14002f19e
jmp 0x14002f1b7
cmp word [rbp - 0x50], 0xb
jne 0x14002f286
mov byte [rbp - 0x2d], 1
cmp word [rbp - 0x48], di
setne byte [rbp - 0x2e]
mov ebx, edi
lea rcx, [rbp - 0x50]
call fcn.14000b354
test ebx, ebx
jne 0x14002f29a
lea rcx, [r15 + 0x60]
call fcn.14002fee8
mov ecx, dword [r15 + 0x68]
lea eax, [rcx + 1]
mov dword [r15 + 0x68], eax
imul rdx, rcx, 0x2c
mov rcx, qword [r15 + 0x60]
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rdx + rcx], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rdx + rcx + 0x10], xmm1
movsd xmm0, qword [rbp - 0x18]
movsd qword [rdx + rcx + 0x20], xmm0
mov eax, dword [rbp - 0x10]
mov dword [rdx + rcx + 0x28], eax
inc r14d
cmp r14d, dword [rbp + 0x20]
jb 0x14002f11e
lea rdx, str.GetHashers
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002f267
lea rcx, [rsi + 0x40]
call rax
test eax, eax
jne 0x14002f269
mov rcx, qword [rsi + 0x40]
test rcx, rcx
je 0x14002f267
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
je 0x14002f267
mov ecx, dword [r15 + 0x20]
dec ecx
mov dword [rbp + 0x20], ecx
mov dword [rbp + 0x24], edi
mov rdx, qword [rbp + 0x20]
lea rcx, [r15 + 0x70]
call fcn.14002dab0
inc edi
cmp edi, ebx
jb 0x14002f248
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp word [rbp - 0x50], di
je 0x14002f1b5
mov ebx, 0x80004005
jmp 0x14002f1b7
mov eax, ebx
jmp 0x14002f269
Function at 0x14003ff4c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r13, r9
mov r15, r8
mov r14, rdx
mov rbx, rcx
xor edi, edi
mov dword [rbp - 0x30], edi
mov esi, dword [rdx]
cmp byte [rdx + 4], dil
je 0x14003ffc2
lea esi, [rdi + 1]
lea edx, [rdi + 3]
lea rcx, [rbp - 0x28]
call fcn.140002728
lea edi, [rsi + 5]
mov dword [rbp - 0x30], edi
mov rcx, qword [rbp - 0x28]
call fcn.14000add0
test al, al
je 0x14003ffb9
mov rcx, qword [rbp - 0x28]
call sub.KERNEL32.dll_GetDriveTypeW
cmp eax, 5
je 0x14003ffb6
cmp eax, 2
jne 0x14003ffb9
mov esi, dword [r14]
mov rcx, qword [rbp - 0x28]
call fcn.14005af1c
mov rcx, r15
call fcn.140003ea4
lea r12d, [rax + 1]
mov rax, qword [r15]
lea rdx, [rax + r12*2]
mov rcx, r13
call fcn.140002c58
mov rcx, rbx
call fcn.140002a00
or edi, 1
mov dword [rbp - 0x30], edi
sub esi, 1
je 0x14004000e
mov rcx, rbx
cmp esi, 1
je 0x140040003
call fcn.14000798c
test al, al
je 0x14004005c
jmp 0x140040039
lea rdx, [r14 + 8]
call fcn.140002b20
jmp 0x140040039
mov r8, r15
mov edx, r12d
lea rcx, [rbp - 0x18]
call fcn.140002728
or edi, 8
mov dword [rbp - 0x30], edi
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.140002b20
nop
mov rcx, qword [rbp - 0x18]
call fcn.14005af1c
mov rcx, rbx
call fcn.14000af34
mov rax, rbx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp + 0x48], 0x22995
lea rdx, [0x140088138]
lea rcx, [rbp + 0x48]
call fcn.14005c710
int3

Function at 0x140043bc4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
call fcn.1400012d8
and dword [rdi], 0
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp bx, ax
jne 0x140043c0d
movzx ecx, ax
mov rdx, rsi
mov eax, ecx
and ecx, 0x3ff
shr eax, 0xa
mov dword [rdi], eax
call fcn.1400436fc
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400440ec
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14004411c
cmp dword [rbx + 0x54], 1
ja 0x14004411c
mov rax, qword [rbx]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [rax + 0x40]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140044614
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rbx, rcx
and qword [rbp - 0x19], 0
and dword [rbp - 0x11], 0
and dword [rbp - 0xd], 0
add rcx, 0x10
lea rdx, [rbp - 0x19]
call fcn.14004407c
mov rsi, qword [rbp - 0x19]
cmp dword [rbp - 0x11], 1
jne 0x140044741
mov r14d, dword [rsi]
and qword [rbp + 0x1f], 0
lea rax, [0x140073b70]
mov qword [rbp + 0x17], rax
and qword [rbp + 0x27], 0
lea rcx, [rbp + 0x2f]
call fcn.140002a00
nop
lea rcx, [rbp + 0x3f]
call fcn.140002a00
nop
mov rdx, qword [rbx + 0x30]
mov rdx, qword [rdx + r14*8]
cmp dword [rbx + 0x54], 1
je 0x1400446af
lea rcx, [rbp + 0x2f]
call fcn.140002b20
cmp r14d, dword [rbx + 0x48]
jae 0x1400446b8
mov rax, qword [rbx + 0x40]
mov rdx, qword [rax + r14*8]
lea rcx, [rbp + 0x3f]
call fcn.140002b20
mov edx, InitCommonControls
mov rcx, qword [rbp + 0x3f]
call fcn.14000334c
test eax, eax
jns 0x140044711
lea rdx, [0x140073be4]
lea rcx, [rbp + 7]
call fcn.1400029a8
nop
lea rdx, [0x140073bec]
lea rcx, [rbp - 9]
call fcn.1400029a8
nop
lea r8, [rbp + 7]
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x3f]
call fcn.140003d30
nop
mov rcx, qword [rbp - 9]
call fcn.14005af1c
nop
mov rcx, qword [rbp + 7]
call fcn.14005af1c
mov r8, qword [rbx + 8]
mov edx, 0x5e
lea rcx, [rbp + 0x17]
call fcn.14000d83c
nop
mov rcx, qword [rbp + 0x3f]
call fcn.14005af1c
mov rcx, qword [rbp + 0x2f]
call fcn.14005af1c
lea rax, [0x1400735c8]
mov qword [rbp + 0x17], rax
mov rcx, rsi
call fcn.14005af1c
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140044d74
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rdi, r9
mov r14d, r8d
mov r15d, edx
mov rsi, rcx
lea rcx, [rsp + 0x60]
call fcn.140002a00
nop
cmp byte [rdi], 0
je 0x140044df4
mov rdx, qword [rdi + 8]
lea rcx, [rbp - 0x80]
call fcn.140043644
nop
mov r8, rax
mov edx, 0xdb0
lea rcx, [rsp + 0x70]
call fcn.140043600
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140002b20
nop
mov rcx, qword [rsp + 0x70]
call fcn.14005af1c
nop
mov rcx, qword [rbp - 0x80]
call fcn.14005af1c
lea r12, [rdi + 0x18]
mov rcx, r12
call fcn.140003ea4
lea ebx, [rax + 1]
mov r8, r12
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140002728
nop
mov rax, qword [r12]
lea rdx, [rax + rbx*2]
lea rcx, [rsp + 0x40]
call fcn.1400029a8
nop
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140044cd4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140044cd4
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140002860
nop
lea rcx, [rsp + 0x30]
call fcn.140003054
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140002e8c
lea rcx, [rsp + 0x30]
call fcn.140003054
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140002e8c
lea rcx, [rsp + 0x30]
call fcn.140003054
cmp byte [rdi + 1], 0
je 0x140044ed0
mov edx, 0x3f4
lea rcx, [rsp + 0x30]
call fcn.1400436cc
lea rdx, [0x1400738a8]
lea rcx, [rsp + 0x30]
call fcn.140002ed8
lea rcx, [rdi + 0x10]
xor r8d, r8d
lea rdx, [rbp - 0x80]
call fcn.14000baf4
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.140002ed8
mov edx, r15d
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [rsp + 0x20], 0x110
mov r9d, 0x2b8
lea r8, [rbp - 0x60]
mov edx, 0x80
mov rcx, qword [r12]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140044f34
mov edx, r14d
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
mov r8, qword [rbp - 0x60]
mov edx, 0x170
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov rcx, qword [rsp + 0x30]
call fcn.14005af1c
nop
mov rcx, qword [rsp + 0x40]
call fcn.14005af1c
nop
mov rcx, qword [rsp + 0x50]
call fcn.14005af1c
nop
mov rcx, qword [rsp + 0x60]
call fcn.14005af1c
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400461dc
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rsi, rcx
mov rcx, qword [rcx + 0x110]
test rcx, rcx
je 0x140046215
mov rdx, qword [rsi + 0x118]
test rdx, rdx
je 0x140046215
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x50]
mov dl, 1
mov rcx, rsi
call fcn.1400479b0
mov edx, 0x198
lea rcx, [rbp - 0x50]
call fcn.140043af8
mov r8, qword [rax]
mov ebx, 2
mov edx, ebx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rbp - 0x50]
call fcn.14005af1c
mov edx, ebx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 0xf4
lea r9d, [rbx - 1]
mov r8d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x1bc
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x1be
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x68]
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x40]
call fcn.140002a00
nop
lea rcx, [rbp - 0x30]
call fcn.140002a00
nop
lea rax, [rbp - 0x20]
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.140002a00
nop
lea rcx, [rbp - 0x10]
call fcn.140002a00
nop
lea rbx, [rsi + 0x280]
mov qword [rbp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r14d, dword [rsi + 0x238]
lea rdi, [rsi + 0x240]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140002b20
lea rdx, [rdi + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140002b20
lea rdx, [rdi + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140002b20
lea rdx, [rdi + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140002b20
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rbp - 0x28], 0
je 0x14004639a
mov byte [rsi + 0x2ab], 1
cmp dword [rbp - 0x38], 0
jne 0x140046363
lea rdx, [0x140073b4c]
lea rcx, [rbp - 0x40]
call fcn.140002ba8
mov r9d, InitCommonControls
mov r8, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
test r14d, r14d
je 0x1400463d7
cmp byte [rsi + 0x1ae], 0
jne 0x1400463d7
mov byte [rsi + 0x1ad], 1
mov rcx, rsi
call fcn.1400477fc
jmp 0x1400463e4
test r14d, r14d
jne 0x140046380
mov byte [rsi + 0x2ab], 1
cmp dword [rbp - 8], r14d
je 0x1400463d7
cmp dword [rbp - 0x18], r14d
jne 0x1400463c2
lea rdx, [0x140073b4c]
lea rcx, [rbp - 0x20]
call fcn.140002ba8
xor r9d, r9d
mov r8, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor edx, edx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_EndDialog]
nop
mov rcx, qword [rbp - 0x10]
call fcn.14005af1c
mov rcx, qword [rbp - 0x20]
call fcn.14005af1c
mov rcx, qword [rbp - 0x30]
call fcn.14005af1c
mov rcx, qword [rbp - 0x40]
call fcn.14005af1c
mov al, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400498b8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp word [rbx + 0x18], 8
je 0x140049909
cmp word [rbx + 0x18], 0x52
je 0x1400498f7
cmp word [rbx + 0x18], 0x76
jne 0x140049905
mov rcx, rdi
call fcn.1400491e8
jmp 0x140049911
test al, al
je 0x140049905
mov rcx, rdi
call fcn.14004a434
jmp 0x140049911
xor al, al
jmp 0x140049913
mov rcx, rdi
call fcn.140049c24
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14004a970
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x2f0
mov rbx, r8
mov dword [rsp + 0x20], 0x4010
lea r8, [rsp + 0x30]
bts edx, 7
mov r9d, 0x2b8
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [rsp + 0x38]
mov dword [rbx], ecx
add rsp, 0x2f0
pop rbx
ret

Function at 0x14004a9a8
Capabilities:
Get file system object information

Disassembly:
sub rsp, 0x2f8
neg cl
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
lea rcx, [0x14006fc90]
sbb eax, eax
mov edx, 0x90
and eax, 0xffffff01
add eax, 0x4110
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add rsp, 0x2f8
ret
Function at 0x14005a500
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x14005a53e
lea rcx, [0x14006f930]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetDefaultDllDirectories
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005a53e
mov ecx, 0xc00
add rsp, 0x28
jmp rax
add rsp, 0x28
ret

Function at 0x14005a6e0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, r9
lea rax, [rsp + 0x40]
mov r9, r8
mov qword [rsp + 0x28], rax
mov r8, rdx
mov dword [rsp + 0x20], 4
mov rbx, rcx
xor edx, edx
xor ecx, ecx
call fcn.140061a8c
mov qword [rbx], rax
mov rdi, rax
test rax, rax
je 0x14005a74d
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x14005a74d
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x48]
mov ecx, 1
mov rsi, qword [rsp + 0x50]
test eax, eax
cmovne ecx, eax
mov eax, ecx
add rsp, 0x30
pop rdi
ret

Function at 0x14005bcc0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005bd0a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005bd0a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005bd0a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005bd0a
cmp dword [rcx + 0x84], 0xe
jbe 0x14005bd0a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005bd0c
xor al, al
add rsp, 0x28
ret

Function at 0x140061a8c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140061ac3
call fcn.14006369c
mov dword [rax], 0x16
call fcn.140063560
xor eax, eax
jmp 0x140061b51
mov rdx, r9
mov rcx, r8
call fcn.140061a28
mov rbx, rax
test rax, rax
je 0x140061b4e
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140061954]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140061b3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140063610
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140061b22
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140061b31
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400639a8
jmp 0x140061b4e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140061b4b
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400620ac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140061ea8
Function at 0x140066720
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140066750
xor eax, eax
jmp 0x140066813
mov rbp, rbx
cmp word [rax], si
je 0x140066775
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14006675c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140066758
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140066640
movsxd r14, eax
test eax, eax
jne 0x1400667b3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140066749
mov rcx, r14
call fcn.1400643a4
mov rdi, rax
test rax, rax
jne 0x1400667cc
xor ecx, ecx
call fcn.1400639a8
jmp 0x1400667a8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140066640
test eax, eax
jne 0x1400667fd
mov rcx, rdi
call fcn.1400639a8
jmp 0x140066807
xor ecx, ecx
call fcn.1400639a8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret