joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7531b0
Capabilities:
Read http header

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rdx
mov dword [rbp + 0x44], r8d
mov qword [rbp + 0x48], r9
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
nop
mov ebx, dword [rbp + 0x44]
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x7531fe
or ebx, 0xffff
mov rcx, qword [rbp + 0x48]
call fcn.00410b10
mov rsi, rax
jmp 0x753200
xor esi, esi
mov dword [rbp + 0x8c], 0
mov rcx, qword [rbp + 0x38]
mov edx, ebx
mov r8, rsi
xor r9, r9
lea rax, [rbp + 0x8c]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
call sub.winhttp.dll_WinHttpQueryHeaders
call sub.kernel32.dll_GetLastError
cmp eax, 0x2f76
jne 0x75324b
mov rcx, qword [rbp + 0x30]
call fcn.0040f650
jmp 0x753374
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x7532ad
call sub.kernel32.dll_GetLastError
mov dword [rbp + 0x60], eax
mov byte [rbp + 0x68], 0
call sub.kernel32.dll_GetLastError
lea rcx, [rbp + 0x58]
mov edx, eax
mov r8, qword [0x00875cf0]
call fcn.0043b130
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0x11
mov rcx, qword [0x007579f0]
mov dl, 1
mov r8, qword [0x00867960]
lea r9, [rbp + 0x60]
mov dword [rsp + 0x20], 1
call fcn.0043cf80
mov rcx, rax
call fcn.0040e8f0
mov rcx, qword [rbp + 0x30]
mov r8d, 2
mov eax, dword [rbp + 0x8c]
xor edx, edx
div r8d
mov rdx, rax
sub edx, 1
call fcn.00410dc0
xor eax, eax
mov rcx, qword [rbp + 0x30]
mov rcx, qword [rcx]
test rcx, rcx
je 0x7532de
mov eax, dword [rcx - 4]
test eax, eax
jle 0x753374
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax]
call fcn.00410b10
mov rcx, qword [rbp + 0x38]
mov edx, ebx
mov r8, rsi
mov r9, rax
lea rax, [rbp + 0x8c]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
call sub.winhttp.dll_WinHttpQueryHeaders
test eax, eax
jne 0x753374
call sub.kernel32.dll_GetLastError
mov dword [rbp + 0x60], eax
mov byte [rbp + 0x68], 0
call sub.kernel32.dll_GetLastError
lea rcx, [rbp + 0x50]
mov edx, eax
mov r8, qword [0x00875cf0]
call fcn.0043b130
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0x11
mov rcx, qword [0x007579f0]
mov dl, 1
mov r8, qword [0x00867960]
lea r9, [rbp + 0x60]
mov dword [rsp + 0x20], 1
call fcn.0043cf80
mov rcx, rax
call fcn.0040e8f0
nop
lea rcx, [rbp + 0x50]
mov edx, 2
call fcn.0040f730
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x90]
pop rbx
pop rsi
pop rbp
ret
Function at 0x7535e0
Capabilities:
Initialize winhttp library

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x60], rcx
mov byte [rbp + 0x68], dl
cmp byte [rbp + 0x68], 0
je 0x75360c
mov rcx, qword [rbp + 0x60]
movzx rdx, byte [rbp + 0x68]
call fcn.0040ce50
mov qword [rbp + 0x60], rax
nop
mov rcx, qword [rbp + 0x60]
call fcn.00760320
mov rcx, qword [0x00751480]
mov dl, 1
call fcn.00757290
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x140], rax
mov rcx, qword [0x00737f10]
mov dl, 1
call fcn.00744370
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x138], rax
mov rcx, qword [0x0074ff18]
call fcn.00756bd0
lea rcx, [0x00753720]
mov edx, 1
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
call sub.winhttp.dll_WinHttpOpen
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x130], rax
test rax, rax
jne 0x7536a0
mov rcx, qword [0x00757b30]
mov dl, 1
mov r8, qword [0x00867c78]
call fcn.0043cee0
mov rcx, rax
call fcn.0040e8f0
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 0x130]
lea rdx, [0x007533e0]
mov r8d, 0x10010
xor r9, r9
call sub.winhttp.dll_WinHttpSetStatusCallback
cmp byte [rbp + 0x68], 0
je 0x753703
mov rcx, qword [rbp + 0x60]
call fcn.0040ce90
mov qword [rbp + 0x60], rax
jmp 0x753703
mov rax, qword [rbp + 0x60]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x754e90
Capabilities:
Prepare http request

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0xa0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
nop
mov rax, qword [rbp + 0x40]
mov byte [rax + 0x140], 0
mov rax, qword [rbp + 0x48]
cmp dword [rax + 0x20], 0
jle 0x754eec
mov rax, qword [rbp + 0x48]
movzx rbx, word [rax + 0x20]
jmp 0x754eee
xor ebx, ebx
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x18]
call fcn.00410b10
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0xa0]
mov rcx, qword [rcx + 0x130]
mov rdx, rax
mov r8d, ebx
xor r9, r9
call sub.winhttp.dll_WinHttpConnect
mov rcx, qword [rbp + 0x40]
mov qword [rcx + 0x118], rax
test rax, rax
jne 0x754f6d
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x90], rax
mov byte [rbp + 0x98], 0x11
mov rcx, qword [0x00757c80]
mov dl, 1
mov r8, qword [0x008673c8]
lea r9, [rbp + 0x90]
mov dword [rsp + 0x20], 0
call fcn.0043cf80
mov rcx, rax
call fcn.0040e8f0
xor ebx, ebx
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax]
lea rdx, [0x00755160]
call fcn.00411180
test eax, eax
jne 0x754f8c
or ebx, 0x800000
mov rcx, qword [rbp + 0x40]
lea rdx, [rbp + 0x88]
call fcn.0073fad0
mov rcx, qword [rbp + 0x88]
call fcn.00410b10
mov rsi, rax
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x48]
call fcn.00753150
mov rcx, qword [rbp + 0x80]
call fcn.00410b10
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x118]
mov rdx, rsi
mov r8, rax
xor r9, r9
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], ebx
call sub.winhttp.dll_WinHttpOpenRequest
mov rcx, qword [rbp + 0x40]
mov qword [rcx + 0x120], rax
test rax, rax
jne 0x75505e
call sub.kernel32.dll_GetLastError
mov dword [rbp + 0x60], eax
mov byte [rbp + 0x68], 0
call sub.kernel32.dll_GetLastError
lea rcx, [rbp + 0x58]
mov edx, eax
mov r8, qword [0x00875cf0]
call fcn.0043b130
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0x11
mov rcx, qword [0x00757c80]
mov dl, 1
mov r8, qword [0x00867b90]
lea r9, [rbp + 0x60]
mov dword [rsp + 0x20], 1
call fcn.0043cf80
mov rcx, rax
call fcn.0040e8f0
mov rax, qword [rbp + 0x40]
mov ebx, dword [rax + 0x18]
mov rcx, qword [rbp + 0x40]
call fcn.0073fcc0
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x120]
mov edx, ebx
mov r8d, ebx
mov r9d, eax
mov rax, qword [rbp + 0x40]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x20], eax
call sub.winhttp.dll_WinHttpSetTimeouts
test eax, eax
jne 0x7550ed
call sub.kernel32.dll_GetLastError
mov dword [rbp + 0x60], eax
mov byte [rbp + 0x68], 0
call sub.kernel32.dll_GetLastError
lea rcx, [rbp + 0x50]
mov edx, eax
mov r8, qword [0x00875cf0]
call fcn.0043b130
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0x11
mov rcx, qword [0x00757c80]
mov dl, 1
mov r8, qword [0x00867e70]
lea r9, [rbp + 0x60]
mov dword [rsp + 0x20], 1
call fcn.0043cf80
mov rcx, rax
call fcn.0040e8f0
nop
lea rcx, [rbp + 0x50]
mov edx, 2
call fcn.0040f730
lea rcx, [rbp + 0x80]
mov edx, 2
call fcn.0040f730
lea rsp, [rbp + 0xa0]
pop rbx
pop rsi
pop rbp
ret
Function at 0x756bd0
Capabilities:
Initialize winhttp library

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x60], rcx
mov rcx, qword [0x00875ce8]
mov rax, qword [0x00875ce8]
mov rbx, qword [rax]
call qword [rbx]
nop
cmp qword [0x00875cf8], 0
jne 0x756c4c
lea rcx, [0x00756c94]
mov edx, 1
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
call sub.winhttp.dll_WinHttpOpen
mov qword [0x00875cf8], rax
cmp qword [0x00875cf8], 0
jne 0x756c4c
mov rcx, qword [0x00757b30]
mov dl, 1
mov r8, qword [0x00867c78]
call fcn.0043cee0
mov rcx, rax
call fcn.0040e8f0
nop
mov rcx, qword [0x00875ce8]
mov rax, qword [0x00875ce8]
mov rbx, qword [rax]
call qword [rbx + 8]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret

Function at 0x771810
Capabilities:
Check for software breakpoints

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [rsi + 0x24]
cmp eax, 0xcc
je 0x7718e6
cmp eax, 0xcb
je 0x771871
cmp eax, 0xca
jne 0x771853
mov rcx, rsi
call fcn.00771f80
cmp dword [rsi + 0x58], 0
je 0x77186a
mov dword [rsi + 0x24], 0xcf
mov eax, 1
jmp 0x7718f2
mov rcx, qword [rsi]
mov dword [rcx + 0x28], 0x14
mov dword [rcx + 0x2c], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
jmp 0x7718e6
mov dword [rsi + 0x24], 0xcb
mov rax, qword [rsi + 0x240]
cmp dword [rax + 0x20], 0
je 0x7718da
mov rdx, qword [rsi + 0x10]
jmp 0x771899
add eax, dword [rsi + 0x1a4]
mov dword [rdx + 0xc], eax
test rdx, rdx
je 0x7718a3
mov rcx, rsi
call qword [rdx]
mov rax, qword [rsi + 0x240]
mov rcx, rsi
call qword [rax]
test eax, eax
je 0x7718f0
cmp eax, 2
je 0x7718da
mov rdx, qword [rsi + 0x10]
or eax, 2
cmp eax, 3
jne 0x771899
test rdx, rdx
je 0x771899
mov ecx, dword [rdx + 8]
mov eax, dword [rdx + 0xc]
inc ecx
mov dword [rdx + 8], ecx
cmp ecx, eax
jl 0x771899
jmp 0x771890
mov eax, dword [rsi + 0xac]
mov dword [rsi + 0xb4], eax
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x771900
xor eax, eax
add rsp, 0x20
pop rsi
ret
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
cmp dword [rsi + 0x24], 0xcc
je 0x771931
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov dword [rsi + 0x24], 0xcc
mov rdx, qword [rsi + 0x220]
cmp dword [rdx + 0x10], 0
je 0x7719dd
lea rdi, [rsi + 0xa8]
mov eax, dword [rsi + 0xa8]
mov ecx, dword [rsi + 0x8c]
cmp eax, ecx
jae 0x7719ae
nop dword [rax]
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x77197a
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], ecx
mov rcx, rsi
call qword [rdx]
mov eax, dword [rsi + 0xa8]
mov ebp, eax
mov rax, qword [rsi + 0x228]
xor ebx, ebx
xor edx, edx
xor r9d, r9d
mov rcx, rsi
mov r8, rdi
call qword [rax + 8]
mov eax, dword [rsi + 0xa8]
cmp eax, ebp
je 0x7719f1
mov ecx, dword [rsi + 0x8c]
cmp eax, ecx
jb 0x771960
mov rdx, qword [rsi + 0x220]
mov rcx, rsi
call qword [rdx + 8]
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov rdx, qword [rsi + 0x220]
xor eax, eax
cmp dword [rdx + 0x10], 0
jne 0x77194f
cmp dword [rsi + 0x5c], 1
mov eax, 0xce
sbb eax, 0
mov dword [rsi + 0x24], eax
mov ebx, 1
mov eax, ebx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x771900
Capabilities:
Check for software breakpoints

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [rsi + 0x24]
cmp eax, 0xcc
je 0x7718e6
cmp eax, 0xcb
je 0x771871
cmp eax, 0xca
jne 0x771853
mov rcx, rsi
call fcn.00771f80
cmp dword [rsi + 0x58], 0
je 0x77186a
mov dword [rsi + 0x24], 0xcf
mov eax, 1
jmp 0x7718f2
mov rcx, qword [rsi]
mov dword [rcx + 0x28], 0x14
mov dword [rcx + 0x2c], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
jmp 0x7718e6
mov dword [rsi + 0x24], 0xcb
mov rax, qword [rsi + 0x240]
cmp dword [rax + 0x20], 0
je 0x7718da
mov rdx, qword [rsi + 0x10]
jmp 0x771899
add eax, dword [rsi + 0x1a4]
mov dword [rdx + 0xc], eax
test rdx, rdx
je 0x7718a3
mov rcx, rsi
call qword [rdx]
mov rax, qword [rsi + 0x240]
mov rcx, rsi
call qword [rax]
test eax, eax
je 0x7718f0
cmp eax, 2
je 0x7718da
mov rdx, qword [rsi + 0x10]
or eax, 2
cmp eax, 3
jne 0x771899
test rdx, rdx
je 0x771899
mov ecx, dword [rdx + 8]
mov eax, dword [rdx + 0xc]
inc ecx
mov dword [rdx + 8], ecx
cmp ecx, eax
jl 0x771899
jmp 0x771890
mov eax, dword [rsi + 0xac]
mov dword [rsi + 0xb4], eax
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x771900
xor eax, eax
add rsp, 0x20
pop rsi
ret
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
cmp dword [rsi + 0x24], 0xcc
je 0x771931
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov dword [rsi + 0x24], 0xcc
mov rdx, qword [rsi + 0x220]
cmp dword [rdx + 0x10], 0
je 0x7719dd
lea rdi, [rsi + 0xa8]
mov eax, dword [rsi + 0xa8]
mov ecx, dword [rsi + 0x8c]
cmp eax, ecx
jae 0x7719ae
nop dword [rax]
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x77197a
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], ecx
mov rcx, rsi
call qword [rdx]
mov eax, dword [rsi + 0xa8]
mov ebp, eax
mov rax, qword [rsi + 0x228]
xor ebx, ebx
xor edx, edx
xor r9d, r9d
mov rcx, rsi
mov r8, rdi
call qword [rax + 8]
mov eax, dword [rsi + 0xa8]
cmp eax, ebp
je 0x7719f1
mov ecx, dword [rsi + 0x8c]
cmp eax, ecx
jb 0x771960
mov rdx, qword [rsi + 0x220]
mov rcx, rsi
call qword [rdx + 8]
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov rdx, qword [rsi + 0x220]
xor eax, eax
cmp dword [rdx + 0x10], 0
jne 0x77194f
cmp dword [rsi + 0x5c], 1
mov eax, 0xce
sbb eax, 0
mov dword [rsi + 0x24], eax
mov ebx, 1
mov eax, ebx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x771b60
Capabilities:
Check for software breakpoints

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov edi, edx
mov rsi, rcx
mov eax, dword [rsi + 0x24]
cmp eax, 0xcc
je 0x771b91
cmp eax, 0xcf
je 0x771b91
mov rcx, qword [rsi]
mov dword [rcx + 0x28], 0x14
mov dword [rcx + 0x2c], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test edi, edi
mov eax, 1
cmovg eax, edi
mov rcx, qword [rsi + 0x240]
cmp dword [rcx + 0x24], 0
je 0x771bb3
mov ecx, dword [rsi + 0xac]
cmp eax, ecx
cmovg eax, ecx
mov dword [rsi + 0xb4], eax
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x771900
Function at 0x78dfb0
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
sub rsp, 0xb8
mov rbp, rsp
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xd8], rdx
mov qword [rbp + 0xe0], r8
mov qword [rbp + 0xe8], r9
nop
movzx rax, byte [0x0085fe64]
mov byte [rbp + 0x87], al
cmp byte [rbp + 0x87], 0
sete al
mov byte [rbp + 0x87], al
lea rcx, [rbp + 0x78]
call fcn.0040f650
cmp byte [0x0085fe64], 0
jne 0x78e029
cmp byte [0x0085fe65], 0
je 0x78e039
lea rcx, [rbp + 0x78]
lea rdx, [0x0078e2e4]
call fcn.0040fd00
cmp byte [rbp + 0x87], 0
je 0x78e076
cmp byte [0x0085fe64], 0
je 0x78e066
cmp byte [0x0085fe65], 0
je 0x78e066
lea rcx, [rbp + 0x78]
lea rdx, [0x0078e31c]
call fcn.0040fd00
jmp 0x78e076
lea rcx, [rbp + 0x78]
lea rdx, [0x0078e348]
call fcn.00410ea0
mov rcx, qword [rbp + 0xd8]
call fcn.0040f650
lea rcx, [rbp + 0x88]
mov rdx, qword [rbp + 0xe0]
call fcn.0040fd00
cmp qword [rbp + 0x88], 0
jne 0x78e106
mov ecx, 0x171a3d
mov edx, 0x171a3c
call fcn.0078b350
lea rcx, [rbp + 0x88]
lea rdx, [rax + 0x104]
call fcn.00410dc0
mov rcx, qword [rbp + 0x88]
call fcn.00410b10
mov rbx, rax
mov ecx, 0x10ab27
mov edx, 0x10ab26
call fcn.0078b350
mov rcx, qword [0x0086f280]
mov rdx, rbx
mov r8d, eax
add r8d, 0x104
call sub.kernel32.dll_GetModuleFileNameW
lea rcx, [rbp + 0x88]
mov edx, eax
call fcn.00410dc0
mov rcx, qword [rbp + 0x88]
call fcn.00410b10
mov rcx, rax
lea rdx, [rbp + 0x9c]
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0x98], eax
mov rcx, 0xffffffffffe7eda9
mov edx, 0x181257
call fcn.0078b350
mov ecx, dword [rbp + 0x98]
cmp rcx, rax
jle 0x78e25a
mov ecx, dword [rbp + 0x98]
call fcn.00409160
mov qword [rbp + 0xa8], rax
nop
mov rcx, qword [rbp + 0x88]
call fcn.00410b10
mov rbx, rax
mov rcx, 0xffffffffffeec1d3
mov edx, 0x113e2d
call fcn.0078b350
mov rcx, rbx
mov edx, eax
mov r8d, dword [rbp + 0x98]
mov r9, qword [rbp + 0xa8]
call sub.version.dll_GetFileVersionInfoW
mov rcx, qword [rbp + 0xa8]
lea rdx, [0x0078e374]
lea r8, [rbp + 0xa0]
lea r9, [rbp + 0x9c]
call sub.version.dll_VerQueryValueW
mov rax, qword [rbp + 0xa0]
mov ecx, dword [rax + 8]
mov dword [rbp + 0x74], ecx
mov ecx, dword [rbp + 0x74]
shr ecx, 0x10
mov word [rbp + 0x90], cx
movzx rcx, word [rax + 8]
mov word [rbp + 0x92], cx
mov ecx, dword [rax + 0xc]
mov dword [rbp + 0x70], ecx
mov ecx, dword [rbp + 0x70]
shr ecx, 0x10
mov word [rbp + 0x94], cx
movzx rax, word [rax + 0xc]
mov word [rbp + 0x96], ax
nop
mov rcx, qword [rbp + 0xa8]
call fcn.00409190
movzx eax, word [rbp + 0x90]
mov dword [rbp + 0x28], eax
mov byte [rbp + 0x30], 0
movzx eax, word [rbp + 0x92]
mov dword [rbp + 0x38], eax
mov byte [rbp + 0x40], 0
movzx eax, word [rbp + 0x94]
mov dword [rbp + 0x48], eax
mov byte [rbp + 0x50], 0
movzx eax, word [rbp + 0x96]
mov dword [rbp + 0x58], eax
mov byte [rbp + 0x60], 0
mov rcx, qword [rbp + 0xd8]
mov rdx, qword [rbp + 0xe8]
lea r8, [rbp + 0x28]
mov r9d, 3
call fcn.00435380
nop
lea rcx, [rbp + 0x78]
call fcn.0040f650
lea rcx, [rbp + 0x88]
call fcn.0040f650
mov rax, qword [rbp + 0xd8]
lea rsp, [rbp + 0xb8]
pop rbx
pop rbp
ret
Function at 0x792710
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], 0
nop
lea rcx, [rbp + 0x38]
call fcn.0040f650
lea rcx, [rbp + 0x30]
lea rdx, [0x007928d8]
call fcn.0040fd00
lea rcx, [rbp + 0x38]
lea rdx, [0x00792914]
call fcn.00410ea0
cmp qword [rbp + 0x30], 0
jne 0x7927b9
cmp byte [0x0085fe64], 0
je 0x79277e
cmp qword [rbp + 0x30], 0
jne 0x792782
xor eax, eax
jmp 0x792784
mov al, 1
mov byte [0x0085fe65], al
cmp byte [0x0085fe64], 0
jne 0x7927b1
cmp byte [0x0085fe65], 0
je 0x7927ad
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
call fcn.00411180
test eax, eax
jne 0x7927b1
xor eax, eax
jmp 0x7927b3
mov al, 1
mov byte [0x0085fe64], al
lea rcx, [rbp + 0x48]
call fcn.004160b0
mov rcx, rax
call sub.shell32.dll_SHGetMalloc
mov ecx, 0x11deb6
mov edx, 0x11deb6
call fcn.0078b350
mov rcx, rax
mov edx, 0x26
lea r8, [rbp + 0x40]
call sub.shell32.dll_SHGetSpecialFolderLocation
mov ecx, 0x104
call fcn.00409160
mov rbx, rax
mov rcx, qword [rbp + 0x40]
mov rdx, rbx
call sub.shell32.dll_SHGetPathFromIDListW
mov rcx, qword [rbp + 0x20]
mov rdx, rbx
call fcn.00410ba0
mov rcx, rbx
call fcn.00409190
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x48]
mov rbx, qword [rax]
call qword [rbx + 0x28]
xor ebx, ebx
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
test rax, rax
je 0x79283a
mov ebx, dword [rax - 4]
mov ecx, 0x165efc
mov edx, 0x165efc
call fcn.0078b350
movsxd rbx, ebx
cmp rbx, rax
jle 0x79286e
lea rcx, [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0043e9b0
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
call fcn.0040fc80
nop
lea rcx, [rbp + 0x28]
mov edx, 3
call fcn.0040f730
lea rcx, [rbp + 0x48]
call fcn.004160b0
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret
Function at 0x792940
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
nop
jmp 0x792974
cmp byte [0x0085fe64], 0
jne 0x79297d
mov qword [0x0085fe68], 0x2cbb0e
cmp byte [0x0085fe64], 0
jne 0x792960
nop
movzx rax, byte [0x0085fe65]
test al, al
je 0x79299b
cmp qword [0x0085fe70], 0xffffffffffbc351d
jl 0x792a53
lea rcx, [rbp + 0x30]
call fcn.004160b0
mov rcx, rax
call sub.shell32.dll_SHGetMalloc
mov ecx, 0x176cb6
mov edx, 0x176cb6
call fcn.0078b350
mov rcx, rax
mov edx, 2
lea r8, [rbp + 0x38]
call sub.shell32.dll_SHGetSpecialFolderLocation
mov ecx, 0x104
call fcn.00409160
mov rbx, rax
mov rcx, qword [rbp + 0x38]
mov rdx, rbx
call sub.shell32.dll_SHGetPathFromIDListW
mov rcx, qword [rbp + 0x20]
mov rdx, rbx
call fcn.00410ba0
mov rcx, rbx
call fcn.00409190
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x30]
mov rbx, qword [rax]
call qword [rbx + 0x28]
xor ebx, ebx
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
test rax, rax
je 0x792a1c
mov ebx, dword [rax - 4]
mov rcx, 0xffffffffffe79493
mov edx, 0x186b6d
call fcn.0078b350
movsxd rbx, ebx
cmp rbx, rax
jle 0x792a52
lea rcx, [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0043e9b0
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
call fcn.0040fc80
nop
lea rcx, [rbp + 0x28]
call fcn.0040f650
lea rcx, [rbp + 0x30]
call fcn.004160b0
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x792b70
Capabilities:
Compare security identifiers

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x90], rcx
mov rcx, qword [rbp + 0x90]
lea rdx, [0x00792dec]
mov r8d, 0x173b69
call fcn.0078b4d0
nop
mov byte [rbp + 0x5b], 1
cmp byte [rbp + 0x5b], 0
je 0x792bcb
call sub.kernel32.dll_GetCurrentThread
mov rcx, rax
mov edx, 8
or r8d, 0xffffffff
lea r9, [rbp + 0x48]
call sub.advapi32.dll_OpenThreadToken
test eax, eax
jne 0x792bcb
mov byte [rbp + 0x5b], 0
cmp byte [rbp + 0x5b], 0
jne 0x792c09
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov edx, 8
lea r8, [rbp + 0x48]
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x792d88
jmp 0x792c09
mov rcx, 0xffffffffffec83ff
mov edx, 0x137c01
call fcn.0078b350
test rax, rax
jl 0x792c25
cmp qword [rbp + 0x48], rax
je 0x792c29
mov al, 1
jmp 0x792c2b
xor eax, eax
test al, al
je 0x792d74
nop
mov rcx, 0xffffffffffe301d9
mov edx, 0x1cfe27
call fcn.0078b350
mov dword [rbp + 0x5c], eax
mov rcx, 0xffffffffffe980db
mov edx, 0x167f25
call fcn.0078b350
mov rcx, qword [rbp + 0x48]
mov edx, 2
xor r8, r8
mov r9d, eax
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_GetTokenInformation
mov ecx, dword [rbp + 0x5c]
call fcn.00417b50
mov qword [rbp + 0x60], rax
cmp qword [rbp + 0x60], 0
je 0x792d61
nop
mov rcx, qword [rbp + 0x48]
mov edx, 2
mov r8, qword [rbp + 0x60]
mov r9d, dword [rbp + 0x5c]
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x792d61
mov rcx, rbp
call fcn.00792ad0
mov qword [rbp + 0x50], rax
xor eax, eax
mov rcx, qword [rbp + 0x60]
mov esi, dword [rcx]
sub esi, 1
mov dword [rbp + 0x6c], eax
cmp dword [rbp + 0x6c], esi
jg 0x792d4d
sub esi, eax
add esi, 1
movsxd rbx, dword [rbp + 0x6c]
mov rax, qword [rbp + 0x60]
mov rcx, rbx
add rcx, rcx
mov rcx, qword [rax + rcx*8 + 8]
mov rdx, qword [rbp + 0x50]
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x792d42
mov rax, qword [rbp + 0x60]
add rbx, rbx
mov eax, dword [rax + rbx*8 + 0x10]
and eax, 0x10
cmp eax, 0x10
jne 0x792d27
mov rcx, qword [rbp + 0x90]
lea rdx, [0x00792e28]
mov r8d, 0x1c7a1c
call fcn.0078b4d0
jmp 0x792d4d
mov rcx, qword [rbp + 0x90]
lea rdx, [0x00792e78]
mov r8d, 0x11df76
call fcn.0078b4d0
jmp 0x792d4d
add dword [rbp + 0x6c], 1
sub esi, 1
test esi, esi
jne 0x792cd9
nop
mov rcx, qword [rbp + 0x50]
call sub.advapi32.dll_FreeSid
jmp 0x792d61
mov rcx, qword [rbp + 0x60]
call fcn.00417b60
jmp 0x792d74
nop
mov rcx, qword [rbp + 0x48]
call sub.kernel32.dll_CloseHandle
jmp 0x792d88
mov rax, qword [rbp + 0x90]
lea rsp, [rbp + 0x70]
pop rbx
pop rsi
pop rbp
ret