joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ec2f0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
mov rsi, rcx
xor r12b, r12b
mov rbx, r9
mov rdi, r8
mov rbp, rdx
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400ec519
lea rdx, str.RegQueryValueExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x1400ec519
mov rcx, qword [rsi]
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400ec519
lea rdx, [0x14023e600]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400ec519
test rbp, rbp
je 0x1400ec519
mov rcx, qword [rsi]
mov rdx, rdi
mov r9d, dword [rcx]
or r9d, 0x20019
cmp qword [rdi + 0x18], 8
jb 0x1400ec397
mov rdx, qword [rdi]
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, rbp
call rax
test eax, eax
jne 0x1400ec519
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x3c], r15d
jb 0x1400ec3c8
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], r15
call r14
test eax, eax
movzx r14d, r12b
mov rax, qword [rsi]
mov ecx, 1
cmove r14d, ecx
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400ec420
lea rdx, [0x14023e628]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400ec420
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400ec420
call rax
test r14b, r14b
je 0x1400ec519
lea r9, [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.1400ebd10
test al, al
je 0x1400ec519
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1400ec4ea
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400ec4ea
lea rdx, str.RegQueryValueExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi]
lea rdx, [0x14023ea48]
mov r14, rax
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test r14, r14
je 0x1400ec4ea
test rax, rax
je 0x1400ec4ea
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov dword [rsp + 0x3c], r15d
mov dword [rsp + 0x38], r15d
jb 0x1400ec4af
mov rdx, qword [rbx]
lea rax, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
mov rcx, rdi
mov qword [rsp + 0x20], r15
call r14
cmp eax, 2
je 0x1400ec4ea
cmp qword [rbx + 0x18], 8
jb 0x1400ec4db
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rdi
call rbp
test eax, eax
sete bl
jmp 0x1400ec4ec
xor bl, bl
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400ec514
lea rdx, [0x14023e628]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400ec514
test rdi, rdi
je 0x1400ec514
mov rcx, rdi
call rax
movzx eax, bl
jmp 0x1400ec51b
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401836e0
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400f04a0
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov ecx, 1
call fcn.1401830f8
mov qword [rbx], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x118
mov byte [rax], 0
call fcn.140189b60
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x1400f0507
cmp dword [rsp + 0x24], 6
mov rcx, qword [rbx]
setae dl
mov byte [rcx], dl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401836e0
add rsp, 0x150
pop rbx
ret
Function at 0x1400f8e10
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, edx
mov rbx, rcx
and edi, 0xffffb1af
cmp qword [rcx + 0x18], 8
jb 0x1400f8e4d
mov rcx, qword [rcx]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400f8e60
mov al, 1
jmp 0x1400f8f07
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1400fade0
test al, al
je 0x1400f8eb1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400f8eb1
mov bl, 1
jmp 0x1400f8eb3
xor bl, bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400f8ef1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f8eec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f8f24
call fcn.140183134
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401836e0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.140195f1c
int3

Function at 0x1400f8f30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400f8f65
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400f900f
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x140249460]
movdqu xmmword [rsp + 0x38], xmm1
xor esi, esi
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1400fade0
test al, al
je 0x1400f8fbe
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400f8ffc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f8ff7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f902e
call fcn.140183134
movdqa xmm0, xmmword [0x140249460]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401836e0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.140195f1c
int3
Function at 0x1400f9040
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
jb 0x1400f907c
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x1400f9086
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400f9097
mov al, 1
jmp 0x1400f9268
xor sil, sil
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x140249460]
movdqu xmmword [rbp - 0x18], xmm1
xor r14d, r14d
mov word [rbp - 0x28], r14w
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.1400fade0
movzx ebx, sil
mov ecx, 1
test al, al
cmovne ebx, ecx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
movdqa xmm1, xmmword [0x140249460]
movdqu xmmword [rbp - 0x38], xmm1
mov word [rbp - 0x48], r14w
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.1400fade0
test al, al
jne 0x1400f9103
test bl, bl
je 0x1400f91c6
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400f91c6
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400f916d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f9168
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f928f
call fcn.140183134
movdqa xmm0, xmmword [0x140249460]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r14w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400f91bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f91ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f9295
call fcn.140183134
mov al, 1
jmp 0x1400f9256
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400f9206
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f9201
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f929b
call fcn.140183134
movdqa xmm0, xmmword [0x140249460]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r14w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400f9254
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f924f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f9289
call fcn.140183134
xor al, al
movdqa xmm0, xmmword [0x140249460]
mov word [rbp - 0x28], r14w
movdqu xmmword [rbp - 0x18], xmm0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401836e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140195f1c
nop
call fcn.140195f1c
nop
call fcn.140195f1c
nop
call fcn.140195f1c
int3
Function at 0x1400fa0c0
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x20c
lea rcx, [rsp + 0x20]
call fcn.140189b60
cmp qword [rdi + 0x18], 8
jb 0x1400fa102
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 8
jb 0x1400fa10c
mov rbx, qword [rbx]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1400fa15c
xor eax, eax
mov r8, 0xffffffffffffffff
mov word [rsp + 0x22a], ax
lea rax, [rsp + 0x20]
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400fa140
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140006b90
mov al, 1
jmp 0x1400fa15e
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1401836e0
add rsp, 0x240
pop rdi
pop rsi
pop rbx
ret

Function at 0x140107540
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx]
mov rdi, rdx
cmp rcx, 0xffffffffffffffff
je 0x14010759e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140107589
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14010759e
mov ecx, dword [rsp + 0x20]
mov rax, rbx
shl rcx, 0x20
mov al, 1
add rcx, rbx
mov qword [rdi], rcx
jmp 0x1401075a0
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401836e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14010c780
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, VarUI4FromDisp
call fcn.140189b60
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], VarUI4FromDisp
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14010c807
cmp dword [rsp + 0x44], 6
jb 0x14010c807
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 0x207
mov r9, rbx
mov qword [rsp + 0x20], rax
lea r8, str.Progid
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
call fcn.14010c470
test al, al
je 0x14010c807
cmp word [rbx], 0
jne 0x14010c871
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x207
mov r9, rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.http_shellopencommand
mov rcx, 0xffffffff80000000
call fcn.14010c470
test al, al
je 0x14010c83c
cmp word [rbx], 0
jne 0x14010c871
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x207
mov r9, rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareClasses.html
mov rcx, 0xffffffff80000001
call fcn.14010c470
test al, al
je 0x14010c875
cmp word [rbx], 0
je 0x14010c875
mov al, 1
jmp 0x14010c877
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401836e0
add rsp, 0x170
pop rbx
ret
Function at 0x14010e160
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbp, rcx
xor edi, edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140249460]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], di
lea r8d, [rdi + 0xb]
lea rdx, [0x140240930]
lea rcx, [rsp + 0x30]
call fcn.140006b90
nop
call fcn.1400d7f60
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.1400d8010
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14010e220
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010e21b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010e33d
call fcn.140183134
movdqa xmm0, xmmword [0x140249460]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], di
test rbx, rbx
je 0x14010e312
lea rdx, str.ShellExecuteW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14010e312
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, rbp
lea rdx, str.open
xor ecx, ecx
call rsi
cmp rax, 0x20
ja 0x14010e309
lea rax, str._programfiles_x86__Internet_Exploreriexplore.exe
mov qword [rsp + 0x30], rax
lea rax, str._programfiles_Internet_Exploreriexplore.exe
mov qword [rsp + 0x38], rax
mov rbx, rdi
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140189b60
mov r8d, 0x103
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14010e2fe
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
mov r9, rbp
lea r8, [rsp + 0x60]
lea rdx, str.open
xor ecx, ecx
call rsi
cmp rax, 0x20
ja 0x14010e309
inc rbx
cmp rbx, 2
jae 0x14010e30e
jmp 0x14010e2a0
mov edi, 0x10
mov eax, edi
jmp 0x14010e314
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401836e0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140195f1c
int3
Function at 0x140110c10
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov rbx, rdx
mov r8, rdx
lea rdx, [rbp - 0x30]
call fcn.1401117d0
nop
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
xor r14d, r14d
mov qword [rbp - 0x50], r14
mov word [rbp - 0x48], ax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.140118740
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov byte [rbp - 0x38], r14b
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x140110c98
xor dil, dil
jmp 0x140110cb6
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x140110caf
xor dil, dil
jmp 0x140110cb6
mov byte [rbp - 0x48], 1
mov dil, 1
mov byte [rbp - 0x38], dil
mov byte [rbp - 0x60], 0
lea r9, [rbp - 0x60]
mov r8, rsi
mov rdx, rbx
call fcn.140110da0
test al, al
jne 0x140110cea
cmp byte [rbp - 0x60], al
je 0x140110cea
cmp qword [rbx + 0x18], 8
jb 0x140110ce0
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test dil, dil
je 0x140110d02
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140110cfe
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp - 0x48], 0
mov qword [rbp - 0x40], r14
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140110d19
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x50], r14
mov word [rbp - 0x48], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140110d5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140110d56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140110d91
call fcn.140183134
movdqa xmm0, xmmword [0x140249460]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401836e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140195f1c
int3
Function at 0x140114860
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor eax, eax
mov dword [rsp + 0x20], VarUI4FromDisp
mov qword [rcx + 8], rax
mov rbx, rcx
mov qword [rcx + 0x10], rax
xor edx, edx
mov qword [rcx + 0x18], rax
mov r8d, VarUI4FromDisp
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov byte [rcx], al
lea rcx, [rsp + 0x24]
call fcn.140189b60
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x1401148e0
cmp dword [rsp + 0x24], 6
jb 0x1401148e0
mov byte [rbx], 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401836e0
add rsp, 0x150
pop rbx
ret
Function at 0x140114910
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rsi, rcx
xorps xmm0, xmm0
movdqu xmmword [rax - 0x40], xmm0
movdqa xmm1, xmmword [0x140249460]
movdqu xmmword [rax - 0x40], xmm1
xor ebp, ebp
mov word [rax - 0x50], bp
lea r8d, [rbp + 0xc]
lea rdx, str.wintrust.dll
lea rcx, [rax - 0x50]
call fcn.140006b90
nop
call fcn.1400d7f60
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.1400d8010
mov rbx, rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1401149b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401149b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140114b5d
call fcn.140183134
movdqa xmm0, xmmword [0x140249460]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bp
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x140249460]
movdqu xmmword [rsp + 0x58], xmm1
mov word [rsp + 0x48], bp
mov r8d, 0xb
lea rdx, str.crypt32.dll
lea rcx, [rsp + 0x48]
call fcn.140006b90
nop
call fcn.1400d7f60
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.1400d8010
mov rdi, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140114a54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140114a4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140114b57
call fcn.140183134
movdqa xmm0, xmmword [0x140249460]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], bp
test rbx, rbx
je 0x140114b41
test rdi, rdi
je 0x140114b41
lea rdx, str.CryptCATAdminCalcHashFromFileHandle
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 8], rax
lea rdx, str.CryptCATAdminAcquireContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x10], rax
lea rdx, str.CryptCATAdminEnumCatalogFromHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x18], rax
lea rdx, str.CryptCATCatalogInfoFromContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x20], rax
lea rdx, str.CryptCATAdminReleaseCatalogContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x28], rax
lea rdx, str.CryptCATAdminReleaseContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x30], rax
lea rdx, str.WTHelperProvDataFromStateData
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
lea rdx, str.WTHelperGetProvSignerFromChain
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x40], rax
lea rdx, str.WinVerifyTrust
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
lea rdx, str.CertNameToStrW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x50], rax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140195f1c
int3
call fcn.140195f1c
int3
Function at 0x140115800
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xb8]
sub rsp, 0x1b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r14
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rcx
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x70], r14
lea ecx, [r14 + 1]
call fcn.1401830f8
mov rbx, rax
mov qword [rsp + 0x70], rax
mov byte [rax], r14b
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp - 0x7c]
call fcn.140189b60
mov dword [rbp - 0x80], 0x11c
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140115890
cmp dword [rbp - 0x7c], 6
setae al
mov byte [rbx], al
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.1400f1c10
test al, al
je 0x1401159e5
cmp qword [rsp + 0x30], 0
je 0x1401159e5
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov r8d, 0xc
lea rdx, str.Advapi32.dll
lea rcx, [rsp + 0x40]
call fcn.140006b90
nop
call fcn.1400d7f60
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1400d8010
mov rbx, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140115940
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011593b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140115a1c
call fcn.140183134
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
test rbx, rbx
je 0x1401159e5
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.DuplicateTokenEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401159e5
xor bl, bl
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x18b
mov rcx, qword [rsp + 0x30]
call rax
test eax, eax
je 0x1401159c8
mov rax, qword [rsp + 0x68]
mov qword [rsi], rax
mov bl, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1401159e7
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401159d8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1401159e7
xor bl, bl
lea rcx, [rsp + 0x70]
call fcn.1400f0520
movzx eax, bl
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1401836e0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140195f1c
nop
int3