joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f960
Capabilities:
Get common file path
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x14a0
call fcn.140213520
sub rsp, rax
mov rax, qword [0x14030b930]
xor rax, rsp
mov qword [rsp + 0x1490], rax
mov r12, r8
mov r15, rdx
mov r14, rcx
xor r13d, r13d
mov dword [rcx], r13d
mov dword [rdx], r13d
mov dword [r8], r13d
mov edx, 0x1450
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14002fb8d
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x14002fbc3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov rbp, 0xffffffffffffffff
cmp rax, 0x10000
jae 0x14002fa04
lea rax, [rsp + 0x40]
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140010c90
jmp 0x14002fa2d
lea rcx, [rsp + 0x40]
mov rax, rbp
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14002fa10
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140002a88
nop
mov rbx, qword [rsp + 0x20]
mov rsi, rbx
mov rdi, r13
movzx eax, word [rbx]
test ax, ax
je 0x14002fabb
movzx edx, ax
lea rcx, [0x1402c0af0]
call fcn.140217120
test rax, rax
je 0x14002fa63
mov rax, rsi
test rdi, rdi
cmovne rax, rdi
mov rdi, rax
jmp 0x14002fa66
mov rdi, r13
add rsi, 2
movzx eax, word [rsi]
test ax, ax
jne 0x14002fa40
test rdi, rdi
je 0x14002fabb
sub rdi, rbx
sar rdi, 1
test edi, edi
js 0x14002fbb8
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002faa7
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140002a28
mov rbx, qword [rsp + 0x20]
cmp edi, dword [rbx - 0xc]
jg 0x14002fbb8
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], r13w
lea rdx, [0x1402c0af8]
mov rax, rbp
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002fac5
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.140005a94
lea rdx, [rsp + 0x2c]
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
mov ecx, eax
call fcn.140003e28
mov rsi, rax
mov r9, rax
mov r8d, edi
mov edx, dword [rsp + 0x2c]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, rsi
test eax, eax
je 0x14002fb69
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [0x1402c1604]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14002fb5c
cmp dword [rsp + 0x28], 0
je 0x14002fb5c
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + 0x12]
mov dword [r14], eax
movzx eax, word [rcx + 0x10]
mov dword [r15], eax
movzx eax, word [rcx + 0x16]
mov dword [r12], eax
mov rcx, rsi
call fcn.1400758a4
mov dil, 1
jmp 0x14002fb71
call fcn.1400758a4
xor dil, dil
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x14002fb89
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rcx, qword [rsp + 0x1490]
xor rcx, rsp
call fcn.140212a70
mov rbx, qword [rsp + 0x14f8]
add rsp, 0x14a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140002d08
nop
mov ecx, 0x80004005
call fcn.140002d08
int3
Function at 0x1400347c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbp, rdx
mov r15, rcx
mov eax, dword [rsp + 0x34]
add eax, eax
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.version
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140034946
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140034946
mov r14d, dword [rsp + 0x30]
shr r14d, 1
je 0x140034946
lea eax, [r14 + 1]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
lea rsi, [rax + rax]
cmp rsi, 0x1000
jb 0x14003487d
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1400349af
call fcn.14007585c
test rax, rax
je 0x1400349b5
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140034892
test rsi, rsi
je 0x14003488f
mov rcx, rsi
call fcn.14007585c
mov rbx, rax
jmp 0x140034892
mov rbx, r12
mov qword [rsp + 0x38], rbx
lea rdi, [rsi + rbx]
mov qword [rsp + 0x48], rdi
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.140217880
mov qword [rsp + 0x40], rdi
lea eax, [r14 + r14]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.version
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003490c
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14003490c
test rbx, rbx
je 0x140034965
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140034961
test al, 1
jne 0x14003490c
shr rax, 1
cmp word [rbx + rax*2 - 2], 0
je 0x140034965
test rbx, rbx
je 0x140034946
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x14003493b
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400349b5
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140004104
xor al, al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov word [rbx], r12w
mov rdx, rbx
mov rcx, rbp
call fcn.140009944
nop
test rbx, rbx
je 0x1400349ab
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x1400349a0
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400349b5
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140004104
mov al, 1
jmp 0x140034948
call fcn.14000616c
int3
call fcn.14021b87c
int3
Function at 0x1400349c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r12, rdx
mov rbp, rcx
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.install
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140034a1c
cmp dword [rsp + 0x34], 4
je 0x140034be5
jmp 0x140034a25
cmp eax, 0xd
jne 0x140034b72
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.install
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140034b72
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140034b72
mov r15d, dword [rsp + 0x30]
shr r15d, 1
je 0x140034b72
lea eax, [r15 + 1]
lea r14, [rax + rax]
cmp r14, 0x1000
jb 0x140034ab2
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x140034be9
call fcn.14007585c
test rax, rax
je 0x140034bef
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140034ac7
test r14, r14
je 0x140034ac4
mov rcx, r14
call fcn.14007585c
mov rbx, rax
jmp 0x140034ac7
mov rbx, rsi
lea rdi, [r14 + rbx]
mov r8, r14
xor edx, edx
mov rcx, rbx
call fcn.140217880
nop
lea eax, [r15 + r15]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.install
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140034b34
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140034b34
test rbx, rbx
je 0x140034b90
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140034b8d
test al, 1
jne 0x140034b34
shr rax, 1
cmp word [rbx + rax*2 - 2], 0
je 0x140034b90
test rbx, rbx
je 0x140034b72
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x140034b67
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140034bef
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140004104
xor al, al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov word [rbx], si
movzx ecx, word [rbx]
sub ecx, 0x31
jne 0x140034ba1
movzx ecx, word [rbx + 2]
movzx eax, si
sub ecx, eax
test ecx, ecx
sete sil
mov dword [r12], esi
test rbx, rbx
je 0x140034be5
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x140034bda
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140034bef
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140004104
mov al, 1
jmp 0x140034b74
call fcn.14000616c
int3
call fcn.14021b87c
int3
Function at 0x140036030
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [r9]
mov rbx, r8
add eax, eax
mov rdi, r9
mov dword [rsp + 0x40], eax
xor esi, esi
mov dword [r9], esi
lea rax, [rsp + 0x40]
mov rcx, qword [rcx]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400360a5
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, 1
ja 0x1400360a0
mov ecx, dword [rsp + 0x40]
test rbx, rbx
je 0x1400360b8
test ecx, ecx
je 0x1400360b5
test cl, 1
jne 0x1400360a0
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x1400360b8
mov eax, SafeArrayGetDim
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov word [rbx], si
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
shr ecx, 1
mov dword [rdi], ecx
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1400360d0
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x14030b930]
xor rax, rsp
mov qword [rsp + 0x468], rax
lea rax, vtable.srl::Size.0
mov qword [rsp + 0x30], rax
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x3f0], 0x40
mov dword [rsp + 0x430], 0x38
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14003621a
lea rcx, [rsp + 0x290]
call fcn.140018dc0
nop
lea rcx, [rsp + 0x190]
call fcn.140018dc0
nop
lea rcx, [rsp + 0x90]
call fcn.140018dc0
nop
lea rdx, str.GlobalMemoryStatusEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400361b2
lea rcx, [rsp + 0x3f0]
call rax
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x418]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x400]
jmp 0x1400361e2
lea rcx, [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x458]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x58], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x90]
call fcn.140018ca0
nop
lea rcx, [rsp + 0x190]
call fcn.140018ca0
nop
lea rcx, [rsp + 0x290]
call fcn.140018ca0
mov rax, qword [0x14031ac48]
test rax, rax
jne 0x14003624e
mov ecx, 0xc8
call fcn.14007585c
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140036244
mov rcx, rax
call fcn.140010e10
jmp 0x140036247
mov rax, rdi
mov qword [0x14031ac48], rax
lea rbx, [rax + 0xa8]
lea r8, [rsp + 0x30]
mov edx, 0x11597
mov rcx, rbx
call fcn.14001df00
lea r8, [rsp + 0x40]
mov edx, 0x116d5
mov rcx, rbx
call fcn.14001df00
lea r8, [rsp + 0x50]
mov edx, 0x116d6
mov rcx, rbx
call fcn.14001df00
lea r8, [0x1402baa00]
mov edx, 0x11606
mov rcx, rbx
call fcn.14001e2a0
lea r8, [0x1402baa00]
mov edx, 0x11607
mov rcx, rbx
call fcn.14001e2a0
nop
mov al, 1
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.140212a70
mov rbx, qword [rsp + 0x480]
add rsp, 0x470
pop rdi
ret
Function at 0x14003f750
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14030b930]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14003f781
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14003f8e4
mov ecx, esi
call fcn.140222040
mov rdi, rax
test rax, rax
je 0x14003f8e4
cmp qword [rbx + 0x18], 8
jb 0x14003f7b3
mov rbx, qword [rbx]
mov r9, rdi
mov r8d, esi
mov edx, dword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14003f8dc
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, [0x1402c1604]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14003f8dc
lea rcx, [rsp + 0x30]
call fcn.140018dc0
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x40]
call fcn.140035600
mov rcx, rax
lea rdx, [0x1402bf4b0]
call fcn.140014d10
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.140035600
mov rcx, rax
lea rdx, [0x1402bf4b0]
call fcn.140014d10
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.140035600
mov rcx, rax
lea rdx, [0x1402bf4b0]
call fcn.140014d10
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.140035600
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.1400199b0
lea rdx, [rsp + 0x130]
mov rcx, rbp
call fcn.14000cfec
mov rdx, qword [rsp + 0x148]
cmp rdx, 8
jb 0x14003f8c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f8c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f909
call fcn.140004104
mov rcx, rdi
call fcn.14021ef30
nop
lea rcx, [rsp + 0x30]
call fcn.140018ca0
mov al, 1
jmp 0x14003f8e6
mov rcx, rdi
call fcn.14021ef30
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140212a70
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
call fcn.14021b87c
nop
int3
Function at 0x140041f90
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x14030b930]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbp, r8
mov rsi, rdx
lea rdx, [rsp + 0x20]
mov rcx, qword [rsi]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x140041ff9
mov ecx, edi
call fcn.140222040
mov rbx, rax
test rax, rax
je 0x140041ff9
mov r9, rax
mov r8d, edi
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsi]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, rbx
test eax, eax
jne 0x14004201e
call fcn.14021ef30
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140212a70
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret
xor edi, edi
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x28]
lea rdx, [0x1402c1604]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140041ffb
lea rcx, [rsp + 0x40]
call fcn.140018dc0
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x50]
call fcn.140035600
mov rcx, rax
lea rdx, [0x1402bf4b0]
call fcn.140014d10
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.140035600
mov rcx, rax
lea rdx, [0x1402bf4b0]
call fcn.140014d10
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.140035600
mov rcx, rax
lea rdx, [0x1402bf4b0]
call fcn.140014d10
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.140035600
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x58]
call fcn.1400199b0
nop
lea rdx, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
jb 0x1400420e2
mov rdx, qword [rsp + 0x140]
test rdx, rdx
je 0x1400420fc
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400420f0
mov edi, eax
mov r8d, edi
mov rcx, rbp
call fcn.140002a88
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 8
jb 0x14004214d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042147
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004215c
call fcn.140004104
nop
lea rcx, [rsp + 0x40]
call fcn.140018ca0
jmp 0x140041ffb
call fcn.14021b87c
int3
Function at 0x140042170
Capabilities:
Get file version info

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x268
mov rax, qword [0x14030b930]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rdx
mov r14, r8
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test eax, eax
je 0x1400423b3
mov ecx, ebx
call fcn.140222040
mov r15, rax
test rax, rax
je 0x1400423b3
mov edx, dword [rsp + 0x30]
mov r9, rax
mov rcx, qword [rdi]
mov r8d, ebx
mov qword [rsp + 0x250], r13
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400423a7
xor r13d, r13d
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x28], r13
lea rdx, str.VarFileInfoTranslation
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xProductName
lea rcx, [rsp + 0x40]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x20]
mov rcx, r15
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400423a7
cmp dword [rsp + 0x20], r13d
jbe 0x1400423a7
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x290], rbp
mov qword [rsp + 0x260], rsi
mov qword [rsp + 0x258], r12
test rdi, rdi
je 0x140042357
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x140042280
test ebx, ebx
je 0x140042357
mov r9, qword [r14]
mov rbp, rdi
sub rbp, r9
sar rbp, 1
mov r12d, dword [r9 - 0x10]
test ebx, ebx
js 0x1400423b7
mov eax, dword [r9 - 0xc]
mov ecx, 1
sub ecx, dword [r9 - 8]
sub eax, ebx
or ecx, eax
jge 0x1400422ca
mov edx, ebx
mov rcx, r14
call fcn.140002a28
mov r9, qword [r14]
movsxd rax, ebx
lea rsi, [rax + rax]
cmp rbp, r12
ja 0x14004230a
lea rdx, [r9 + rbp*2]
test rsi, rsi
je 0x140042342
test rdx, rdx
jne 0x1400422f1
call fcn.14021b9ac
mov dword [rax], 0x16
jmp 0x14004233d
movsxd rax, dword [r9 - 0xc]
add rax, rax
cmp rax, rsi
jb 0x140042332
mov r8, rsi
mov rcx, r9
call fcn.1402171d0
jmp 0x140042342
movsxd r8, dword [r9 - 0xc]
add r8, r8
test rsi, rsi
je 0x140042342
mov rcx, r9
cmp r8, rsi
jb 0x14004232b
mov r8, rsi
mov rdx, rdi
call fcn.1402171d0
jmp 0x140042342
xor edx, edx
call fcn.140217880
call fcn.14021b9ac
mov dword [rax], 0x22
call fcn.14021b85c
mov rax, qword [r14]
cmp ebx, dword [rax - 0xc]
jg 0x1400423b7
mov dword [rax - 0x10], ebx
mov rax, qword [r14]
mov word [rsi + rax], r13w
jmp 0x14004235f
mov rcx, r14
call fcn.140002894
mov rcx, r15
call fcn.14021ef30
mov r12, qword [rsp + 0x258]
mov al, 1
mov rsi, qword [rsp + 0x260]
mov rbp, qword [rsp + 0x290]
mov r13, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140212a70
add rsp, 0x268
pop r15
pop r14
pop rdi
pop rbx
ret
mov rcx, r15
call fcn.14021ef30
xor al, al
jmp 0x140042381
xor al, al
jmp 0x140042389
mov ecx, 0x80070057
call fcn.140002d08
int3
Function at 0x140048f50
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14030b930]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
cmp qword [rcx + 0x28], 0
je 0x140049148
cmp qword [rcx + 0x18], 0
je 0x140049148
cmp qword [rcx + 0x30], 0
je 0x140049148
cmp qword [rcx + 0x20], 0
je 0x140049148
mov byte [rbp - 0x50], 1
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x14004916b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x48], rax
mov r8d, 3
lea rdx, [0x1402c62d8]
lea rcx, [rbp - 0x48]
call fcn.140002a88
mov rsi, qword [rbp - 0x48]
mov r9, rsi
xor r8d, r8d
mov edx, 0x116fb
mov rcx, qword [rbx]
call fcn.14001db50
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp - 0x40], eax
xor r14d, r14d
mov qword [rbp - 0x38], r14
lea rdx, [rbp - 0x40]
lea rcx, [0x140048ee0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140049124
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
test rax, rax
je 0x140049124
mov dword [rbp - 0x30], 0x10028
mov dword [rbp - 0x2c], 0x25
mov qword [rbp - 0x28], 0x1800
mov dword [rbp - 0x20], r14d
mov qword [rbp - 0x1c], 0x20000000
mov qword [rbp - 0x14], r14
mov dword [rbp - 0xc], r14d
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.GDI32.dll_ChoosePixelFormat]
test eax, eax
je 0x140049124
lea r8, [rbp - 0x30]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
je 0x140049124
mov rcx, rdi
call qword [rbx + 0x18]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140049124
mov rdx, rax
mov rcx, rdi
call qword [rbx + 0x20]
test eax, eax
je 0x140049124
lea rcx, str.glGetStringi
call qword [rbx + 0x30]
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x1400490d0
lea rdx, str.glGetStringi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
lea rcx, str.glGetString
call qword [rbx + 0x30]
mov qword [rbx + 0x48], rax
test rax, rax
jne 0x1400490f8
lea rdx, str.glGetString
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
lea rcx, str.glGetIntegerv
call qword [rbx + 0x30]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x140049120
lea rdx, str.glGetIntegerv
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
mov bl, 1
jmp 0x140049126
xor bl, bl
lea rdx, [rsi - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140049143
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, bl
jmp 0x14004914a
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140212a70
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002d08
int3
Function at 0x140049310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15, rdx
mov r13, rcx
xor sil, sil
mov byte [rsp + 0x70], sil
cmp qword [rcx + 0x40], 0
je 0x14004940a
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140049405
xor edi, edi
mov dword [r11 + 0x18], edi
lea rdx, [r11 + 0x18]
mov ecx, 0x821d
call rax
lea r14d, [rdi - 1]
lea r12d, [rdi + 1]
cmp edi, dword [rsp + 0x80]
jge 0x1400494d0
mov edx, edi
mov ecx, 0x1f03
call qword [r13 + 0x40]
mov rbx, rax
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x1400494ed
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140012c50
nop
test r15, r15
je 0x1400494f8
mov rax, qword [rsp + 0x20]
mov rcx, rax
mov r8, r15
sub r8, rax
movzx ebx, word [rcx]
movzx edx, word [rcx + r8]
sub ebx, edx
jne 0x1400493d5
add rcx, 2
test edx, edx
jne 0x1400493c1
lea rdx, [rax - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400493ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movzx esi, sil
test ebx, ebx
cmove esi, r12d
mov byte [rsp + 0x70], sil
inc edi
jmp 0x140049361
jmp 0x1400494dd
mov rax, qword [rcx + 0x48]
test rax, rax
je 0x1400494d6
mov ecx, 0x1f03
call rax
mov rbx, rax
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x140049503
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x88], rax
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.140012c50
nop
mov rbx, qword [rsp + 0x88]
test r15, r15
jne 0x14004946d
mov r14d, 0xffffffff
mov edi, r14d
jmp 0x1400494a2
cmp dword [rbx - 0x10], 0
jge 0x14004947e
mov r14d, 0xffffffff
mov edi, r14d
jmp 0x1400494a2
mov rdx, r15
mov rcx, rbx
call fcn.140216d00
mov rdi, rax
mov r14d, 0xffffffff
test rax, rax
jne 0x14004949c
mov edi, r14d
jmp 0x1400494a2
sub rdi, rbx
sar rdi, 1
shr edi, 0x1f
xor dil, 1
lea rdx, [rbx - 0x18]
movzx esi, dil
mov byte [rsp + 0x70], dil
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x1400494d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rsp + 0x70], dil
movzx eax, sil
jmp 0x1400494dd
jmp 0x1400494dd
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.140002d08
nop
mov ecx, 0x80004005
call fcn.140002d08
nop
mov ecx, 0x80004005
call fcn.140002d08
int3