joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180075020
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, r8
mov rbx, rdx
mov qword [rbp - 0x48], rdx
xor r12d, r12d
mov dword [rbp - 0x50], r12d
lea edx, [r12 + 0x25]
xor r8d, r8d
mov rcx, rsi
call fcn.18000eb40
xor r8d, r8d
mov rdx, rsi
cmp rax, 0xffffffffffffffff
jne 0x1800750a5
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
or r9, rax
mov rcx, rbx
call fcn.1800032a0
nop
mov dword [rbp - 0x50], 1
jmp 0x18007521f
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
or rdi, 0xffffffffffffffff
mov r9, rdi
lea rcx, [rbp - 0x28]
call fcn.1800032a0
nop
cmp qword [rsi + 0x18], 8
jb 0x1800750db
mov rcx, qword [rsi]
jmp 0x1800750de
mov rcx, rsi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r15d, eax
test eax, eax
jne 0x180075116
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
mov r9, rdi
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.1800032a0
jmp 0x1800751f7
lea ecx, [rax + 2]
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.180087e84
mov r14, rax
cmp qword [rsi + 0x18], 8
jb 0x18007513a
mov rsi, qword [rsi]
lea r8d, [r15 + 1]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x18007518a
cmp eax, r15d
ja 0x18007518a
mov eax, eax
mov word [r14 + rax*2], r12w
cmp word [r14], 0
jne 0x180075170
mov rdi, r12
jmp 0x18007517b
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x180075170
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.180003940
mov rcx, r14
call fcn.180088db0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
cmp qword [rbp - 0x10], 8
jae 0x1800751c3
mov r8, qword [rbp - 0x18]
inc r8
je 0x1800751d6
add r8, r8
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.180087f20
jmp 0x1800751d6
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov rax, qword [rbp - 0x28]
mov qword [rbx], rax
mov qword [rbp - 0x28], r12
mov rax, qword [rbp - 0x18]
mov qword [rbx + 0x10], rax
mov rax, qword [rbp - 0x10]
mov qword [rbx + 0x18], rax
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
mov dword [rbp - 0x50], 1
cmp qword [rbp - 0x10], 8
jb 0x18007520e
mov rcx, qword [rbp - 0x28]
call fcn.18008861c
mov word [rbp - 0x28], r12w
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180087ea0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x180075630
Capabilities:
Get file size

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rdx], 0
mov ecx, 8
call fcn.180088680
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x180075687
xor eax, eax
mov qword [rbx], 0xffffffffffffffff
jmp 0x180075689
xor ebx, ebx
mov qword [rsp + 0x28], rbx
test rbx, rbx
je 0x1800756f3
mov r9d, 0x80
lea r8d, [r9 - 0x7c]
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.1800122b0
mov rbx, qword [rsp + 0x28]
test al, al
je 0x1800756f3
test rbx, rbx
je 0x1800756f3
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1800756f3
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1800756dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1800756f3
mov ecx, dword [rsp + 0x30]
shl rcx, 0x20
mov rax, rdi
add rcx, rdi
mov qword [rsi], rcx
mov dil, 1
jmp 0x1800756f6
xor dil, dil
test rbx, rbx
je 0x180075726
mov rcx, qword [rbx]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x180075715
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0
mov rcx, rbx
call fcn.18008861c
mov qword [rsp + 0x28], 0
movzx eax, dil
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180087ea0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x180075f30
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rdx
xor edi, edi
mov word [rbp - 0x40], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x3e]
call fcn.18008c480
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
lea rdx, str.MacromedFlashFlashHelperService.exe
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x180075fc0
lea rcx, [rsp + 0x30]
call fcn.180003940
nop
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
cmp word [rbp - 0x40], 0
jne 0x180075ffe
mov r8, rdi
jmp 0x18007601b
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180076010
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.180003940
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.180009980
nop
cmp qword [rsp + 0x68], 8
jb 0x180076050
mov rcx, qword [rsp + 0x50]
call fcn.18008861c
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
cmp qword [rsp + 0x48], 8
jb 0x180076075
mov rcx, qword [rsp + 0x30]
call fcn.18008861c
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
lea rcx, [rbp - 0x68]
call fcn.1800103b0
test al, al
jne 0x180076099
xor bl, bl
jmp 0x1800760f5
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.180077ae0
nop
cmp qword [rbp - 0x78], 0
jne 0x1800760b3
xor bl, bl
jmp 0x1800760d3
lea rax, [rsp + 0x78]
cmp rbx, rax
je 0x1800760d1
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.1800032a0
mov bl, 1
cmp qword [rbp - 0x70], 8
jb 0x1800760e4
mov rcx, qword [rsp + 0x78]
call fcn.18008861c
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
cmp qword [rbp - 0x50], 8
jb 0x180076105
mov rcx, qword [rbp - 0x68]
call fcn.18008861c
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rdi
mov word [rbp - 0x68], di
movzx eax, bl
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.180087ea0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180076140
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rdx
xor esi, esi
mov word [rbp - 0x60], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x5e]
call fcn.18008c480
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
lea rdx, str.MacromedFlashFlashHelperService.exe
or rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x1800761e0
lea rcx, [rsp + 0x30]
call fcn.180003940
nop
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
cmp word [rbp - 0x60], 0
jne 0x18007621e
mov rbx, rsi
jmp 0x18007622c
lea rax, [rbp - 0x60]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180076222
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.180003940
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.180009980
nop
cmp qword [rsp + 0x68], 8
jb 0x180076265
mov rcx, qword [rsp + 0x50]
call fcn.18008861c
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
cmp qword [rsp + 0x48], 8
jb 0x18007628a
mov rcx, qword [rsp + 0x30]
call fcn.18008861c
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
lea rcx, [rsp + 0x78]
call fcn.1800103b0
test al, al
jne 0x1800762af
xor bl, bl
jmp 0x1800762bf
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.180075630
movzx ebx, al
cmp qword [rbp - 0x70], 8
jb 0x1800762d0
mov rcx, qword [rsp + 0x78]
call fcn.18008861c
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rsi
mov word [rsp + 0x78], si
movzx eax, bl
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.180087ea0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x180078020
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x28], rax
lea ecx, [rax + 1]
call fcn.180088680
mov qword [rsp + 0x28], rax
mov byte [rax], 0
xor edx, edx
mov r8d, 0x11c
lea rcx, [rsp + 0x30]
call fcn.18008c480
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1800780a0
cmp dword [rsp + 0x34], 6
setae cl
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.18000b530
test al, al
je 0x1800780cb
lea rcx, [rsp + 0x28]
call fcn.18000a860
test al, al
jne 0x1800780cb
xor bl, bl
jmp 0x180078167
lea rbx, [rdi + 8]
mov rdx, rbx
xor ecx, ecx
call fcn.180027610
xor esi, esi
test al, al
jne 0x1800780f0
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1800780ed
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x28]
mov rdx, rbx
mov ecx, 0x1a
call fcn.180027610
test al, al
jne 0x180078116
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x180078113
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x48]
mov rdx, rbx
mov ecx, 2
call fcn.180027610
test al, al
jne 0x18007813c
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x180078139
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x68]
mov rdx, rbx
mov ecx, 0xb
call fcn.180027610
test al, al
jne 0x180078162
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x18007815f
mov rbx, qword [rbx]
mov word [rbx], si
mov byte [rdi], 1
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.18000a0d0
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180087ea0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180078fa0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov esi, r8d
mov r15, rdx
mov rdi, rcx
mov dword [rsp + 0x20], 0
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], 0
mov byte [rcx], 0
mov dword [rsp + 0x20], 1
xor ebx, ebx
test r8d, r8d
je 0x1800791e5
xor ecx, ecx
nop word [rax + rax]
dec esi
movzx eax, byte [r15]
mov byte [rsp + rcx + 0x80], al
inc ebx
inc rcx
lea r15, [r15 + 1]
movzx r12d, byte [rsp + 0x82]
movzx ebp, byte [rsp + 0x81]
movzx r14d, byte [rsp + 0x80]
cmp rcx, 3
jne 0x1800790ce
movzx eax, r14b
shr al, 2
mov byte [rsp + 0x88], al
movzx ecx, r14b
and cl, 3
shl cl, 4
movzx eax, bpl
shr al, 4
add cl, al
mov byte [rsp + 0x89], cl
movzx ecx, bpl
and cl, 0xf
shl cl, 2
movzx eax, r12b
shr al, 6
add cl, al
mov byte [rsp + 0x8a], cl
movzx eax, r12b
and al, 0x3f
mov byte [rsp + 0x8b], al
xor ebx, ebx
nop dword [rax + rax]
lea rcx, [0x1800fcc78]
cmp qword [0x1800fcc90], 0x10
cmovae rcx, qword [0x1800fcc78]
movzx eax, byte [rsp + rbx + 0x88]
movzx r8d, byte [rax + rcx]
mov edx, 1
mov rcx, rdi
call fcn.180007de0
inc rbx
cmp rbx, 4
jl 0x180079090
xor ebx, ebx
xor ecx, ecx
test esi, esi
jne 0x180079000
test ebx, ebx
je 0x1800791e5
movsxd rax, ebx
cmp rax, 3
jge 0x18007911c
jae 0x180079116
mov byte [rsp + rax + 0x80], 0
inc rax
cmp rax, 3
jl 0x1800790e7
movzx r12d, byte [rsp + 0x82]
movzx ebp, byte [rsp + 0x81]
movzx r14d, byte [rsp + 0x80]
jmp 0x18007911c
call fcn.180088fec
int3
movzx eax, r14b
shr al, 2
mov byte [rsp + 0x88], al
and r14b, 3
shl r14b, 4
movzx eax, bpl
shr al, 4
add r14b, al
mov byte [rsp + 0x89], r14b
and bpl, 0xf
shl bpl, 2
movzx eax, r12b
shr al, 6
add bpl, al
mov byte [rsp + 0x8a], bpl
and r12b, 0x3f
mov byte [rsp + 0x8b], r12b
lea eax, [rbx + 1]
test eax, eax
jle 0x1800791b5
lea rsi, [rsp + 0x88]
mov ebp, eax
nop dword [rax + rax]
lea rcx, [0x1800fcc78]
cmp qword [0x1800fcc90], 0x10
cmovae rcx, qword [0x1800fcc78]
movzx eax, byte [rsi]
movzx r8d, byte [rax + rcx]
mov edx, 1
mov rcx, rdi
call fcn.180007de0
lea rsi, [rsi + 1]
dec rbp
jne 0x180079180
cmp ebx, 3
jge 0x1800791e5
mov eax, 3
sub eax, ebx
mov ebx, eax
nop dword [rax]
nop word [rax + rax]
mov r8b, 0x3d
mov edx, 1
mov rcx, rdi
call fcn.180007de0
dec rbx
jne 0x1800791d0
mov rax, rdi
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180079380
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor eax, eax
mov rbx, rcx
xor edx, edx
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
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]
mov r8d, 0x110
mov dword [rsp + 0x20], 0x114
call fcn.18008c480
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x180079400
cmp dword [rsp + 0x24], 6
jb 0x180079400
mov byte [rbx], 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180087ea0
add rsp, 0x150
pop rbx
ret
Function at 0x180079420
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rsi, rcx
xor r14d, r14d
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
lea r8d, [r14 + 0xc]
lea rdx, str.wintrust.dll
lea rcx, [rbp - 0x48]
call fcn.180003940
nop
call fcn.18000f330
mov rcx, rax
lea rdx, [rbp - 0x48]
call fcn.18000f3e0
mov rbx, rax
cmp qword [rbp - 0x30], 8
jb 0x18007949b
mov rcx, qword [rbp - 0x48]
call fcn.18008861c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r14
mov word [rbp - 0x28], r14w
mov r8d, 0xb
lea rdx, str.crypt32.dll
lea rcx, [rbp - 0x28]
call fcn.180003940
nop
call fcn.18000f330
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.18000f3e0
mov rdi, rax
cmp qword [rbp - 0x10], 8
jb 0x180079500
mov rcx, qword [rbp - 0x28]
call fcn.18008861c
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r14
mov word [rbp - 0x28], r14w
test rbx, rbx
je 0x1800795eb
test rdi, rdi
je 0x1800795eb
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 rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x18007c100
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 [0x1800fb008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov rbx, rdx
mov r8, rdx
lea rdx, [rbp - 0x30]
call fcn.18007c900
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.18001cdd0
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 0x18007c188
xor dil, dil
jmp 0x18007c1a4
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x18007c19d
xor dil, dil
jmp 0x18007c1a4
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.18007c260
test al, al
jne 0x18007c1d8
cmp byte [rbp - 0x60], al
je 0x18007c1d8
cmp qword [rbx + 0x18], 8
jb 0x18007c1ce
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test dil, dil
je 0x18007c1f0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x18007c1ec
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 0x18007c207
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x50], r14
mov word [rbp - 0x48], 0
cmp qword [rbp - 0x18], 8
jb 0x18007c21d
mov rcx, qword [rbp - 0x30]
call fcn.18008861c
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r14
mov word [rbp - 0x30], r14w
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180087ea0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1800a68b0
Capabilities:
Hash data with md5

Disassembly:
push rbx
mov eax, 0x20
call fcn.1800930a0
sub rsp, rax
lea r8d, [rax + 0x3c]
xor edx, edx
mov rbx, rcx
call fcn.18008c480
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140001210
Capabilities:
Create directory

Disassembly:
mov ecx, eax
mov eax, dword [rsp + 0x38]
add eax, 0x5008bf9e
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x40], 0x29ed8b53
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, rdx
shl rdx, cl
mov qword [rsp + 0x48], rdx
mov rdx, qword [rsp + 0x40]
sub rdx, 0x67b8bbca
mov eax, dword [rsp + 0x38]
and eax, 0x4169a3e1
mov dword [rsp + 0x54], eax
mov r8, qword [rsp + 0x20]
cmp r8, rdx
ja 0x1400011b9

Function at 0x140001264
Capabilities:
Create directory

Disassembly:
mov rax, qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x65
call rax
lea rcx, str.:
mov rax, qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor edx, edx
call rax
mov rcx, qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x2c], eax
call rcx
sub eax, 3
sbb r8d, r8d
and r8d, 1
mov dword [rsp + 0x28], eax
mov eax, r8d
add rsp, 0x58
ret
jmp 0x1400011b9

Function at 0x140001270
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
cmp eax, 4

Function at 0x140001280
Capabilities:
Terminate process

Disassembly:
jae 0x140001292
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0xfffffffe
call rax
ud2
add rsp, 0x28
ret

Function at 0x1400012a0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x2a8
xor eax, eax
mov ecx, eax
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x7c]
mov dword [rsp + 0x2a4], 0x5610dee9
mov qword [rsp + 0x288], 0x943ca17
mov r9, rdx
mov dword [rsp + 0x7c], 0xffffffff

Function at 0x1400012dc
Capabilities:
Terminate process

Disassembly:
mov r10, qword [rsp + 0x298]
mov qword [rsp + 0x298], 0x2921e42d
mov r11, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor eax, eax
mov esi, eax
mov qword [rsp + 0x70], rcx
mov rcx, rsi
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r8
call r11
mov edi, 0x200
mov rcx, qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, 0x200
mov qword [rsp + 0x48], rcx
mov rcx, rax
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x44], edi
call rax
lea rcx, [rsp + 0x7c]
mov rdx, qword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
lea r9, [rsp + 0x7c]
mov r10, qword [rsp + 0x60]
mov qword [rsp + 0x38], rcx
mov rcx, r10
mov qword [rsp + 0x30], rdx
mov rdx, r9
mov r9, qword [rsp + 0x30]
mov dword [rsp + 0x2c], eax
call r9
cmp eax, 0
je 0x1400013d7
jmp 0x1400013ae
mov eax, 0xc28d584
mov ecx, eax
mov rdx, qword [rsp + 0x68]
imul r8, rdx, 0x1b1eb659
mov r9, qword [rsp + 0x288]
sub r9, 0x496d631d
mov qword [rsp + 0x298], r8
cmp rcx, r9
jae 0x1400013c2
jmp 0x1400013c2
mov eax, dword [rsp + 0x2a4]
xor eax, 0x5610deef
cmp dword [rsp + 0x7c], eax
je 0x14000137d
jmp 0x1400013cb
call fcn.140003070
invalid