joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1802d3cd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rsi, r8
mov rbp, rdx
call fcn.18029dcf0
mov rbx, rax
test rax, rax
jne 0x1802d3d0e
lea eax, [rbx + 7]
jmp 0x1802d3d96
cmp byte [0x1804e1114], 0
je 0x1802d3d63
mov rax, qword [0x1804e1298]
test rax, rax
je 0x1802d3d2e
mov ecx, 0xc8
call rax
test eax, eax
jne 0x1802d3d63
lea rax, [rbx + 8]
mov qword [rbx + 0x10], rbp
mov qword [rsp + 0x28], rax
lea r8, [0x1802a0d00]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
mov qword [rbx + 0x18], rsi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
jne 0x1802d3d78
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x10], 0
jne 0x1802d3d91
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rsi
mov dword [rbx + 8], eax
call rbp
mov qword [rbx + 0x20], rax
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1802e05d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push r14
sub rsp, 0x28
mov rbx, rdx
mov r14, rcx
movzx edx, byte [rdx]
movzx eax, dl
cmp dl, 0xad
jne 0x1802e05ed
movzx eax, byte [rbx + 2]
cmp al, 0xae
jne 0x1802e05f7
mov rax, qword [rbx + 0x20]
jmp 0x1802e0607
cmp al, 0x88
jne 0x1802e06a4
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x1802e06a4
mov qword [rsp + 0x50], rdi
xor edi, edi
mov dword [r8], edi
cmp dl, 0x88
jne 0x1802e0639
mov rdx, rbx
mov rcx, r14
mov rdi, qword [rsp + 0x50]
add rsp, 0x28
pop r14
pop rbx
jmp fcn.1802de350
mov eax, dword [r14 + 0x38]
mov qword [rsp + 0x40], rbp
mov rbp, rcx
mov qword [rsp + 0x20], r15
lea r15d, [rax + 1]
add eax, ecx
mov dword [r14 + 0x38], eax
test ecx, ecx
jle 0x1802e069f
mov qword [rsp + 0x48], rsi
mov esi, r15d
mov rdx, qword [rbx + 0x20]
mov r8d, esi
mov rcx, r14
mov rdx, qword [rdx + rdi + 8]
call fcn.1802e1ee0
inc esi
lea rdi, [rdi + 0x20]
sub rbp, 1
jne 0x1802e0660
mov rsi, qword [rsp + 0x48]
mov eax, r15d
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x50]
add rsp, 0x28
pop r14
pop rbx
ret
mov eax, r15d
jmp 0x1802e0688
mov rdx, rbx
mov rcx, r14
add rsp, 0x28
pop r14
pop rbx
jmp fcn.1802e1d50
Function at 0x1802e3a90
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
lea r9, str.sqlite_master
mov rdi, rdx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r8, rdx
lea rdx, str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov rsi, rcx
call fcn.1802ea5c0
test ebx, ebx
jne 0x1802e3ae4
mov r9, rdi
lea r8, str.sqlite_master
lea rdx, str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, rsi
call fcn.1802ea5c0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1802ea750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, r8
lea r14, [0x1803c58a0]
mov rdi, rdx
mov rbp, rcx
xor ebx, ebx
cmp dword [rbp + 0x28], ebx
jle 0x1802ea7f7
nop dword [rax]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
test rsi, rsi
je 0x1802ea7c4
mov rcx, qword [rbp + 0x20]
mov rax, rsi
movsxd rdx, r10d
shl rdx, 5
mov r9, qword [rdx + rcx]
sub r9, rsi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x1802ea833
test edx, edx
jne 0x1802ea842
mov rax, qword [rbp + 0x20]
xor r8d, r8d
movsxd rcx, r10d
mov rdx, rdi
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.1802a2ba0
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1802ea89b
inc ebx
cmp ebx, dword [rbp + 0x28]
jl 0x1802ea780
lea r8, str.sqlite_master
sub r8, rdi
movzx ecx, byte [rdi]
movzx eax, byte [r8 + rdi]
cmp ecx, eax
jne 0x1802ea84a
test ecx, ecx
jne 0x1802ea858
mov rax, qword [rbp + 0x20]
mov r9, qword [rax + 0x20]
test rsi, rsi
jne 0x1802ea85d
neg r9
sbb edx, edx
test edx, edx
jne 0x1802ea899
lea rdi, str.sqlite_temp_master
jmp 0x1802ea772
movzx r8d, byte [rcx + r14]
movzx edx, byte [rdx + r14]
cmp edx, r8d
jne 0x1802ea7f0
inc rax
jmp 0x1802ea7b0
movzx edx, byte [rax + r14]
movzx ecx, byte [rcx + r14]
cmp ecx, edx
jne 0x1802ea899
inc rdi
jmp 0x1802ea801
test r9, r9
je 0x1802ea899
mov r8, rsi
sub r9, rsi
nop dword [rax + rax]
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x1802ea886
test edx, edx
je 0x1802ea827
inc r8
jmp 0x1802ea870
movzx ecx, byte [rax + r14]
movzx edx, byte [rdx + r14]
sub edx, ecx
jne 0x1802ea823
inc r8
jmp 0x1802ea870
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1802eabf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
xor r10d, r10d
mov rdi, r8
mov ebx, r10d
mov rbp, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x1802eaca8
mov qword [rsp + 0x48], r14
lea r14, [0x1803c58a0]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovge eax, ebx
movsxd r9, eax
shl r9, 5
add r9, qword [rsi + 0x20]
mov r11, qword [r9 + 0x18]
test rdi, rdi
je 0x1802eac60
mov r9, qword [r9]
mov rax, rdi
sub r9, rdi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x1802eac94
test edx, edx
jne 0x1802eaca3
lea rcx, [r11 + 0x20]
xor r8d, r8d
mov rdx, rbp
call fcn.1802a2ba0
mov r10, qword [rax + 0x10]
test r10, r10
jne 0x1802eac7f
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x1802eac20
mov r14, qword [rsp + 0x48]
mov rax, r10
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
movzx r8d, byte [rcx + r14]
movzx edx, byte [rdx + r14]
cmp edx, r8d
jne 0x1802eac78
inc rax
jmp 0x1802eac50
mov rbx, qword [rsp + 0x50]
mov rax, r10
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x1802ee2a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x20
mov rbx, rdx
mov rsi, rcx
mov rcx, rbx
mov edx, 0x5f
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
mov r14, rax
test rax, rax
je 0x1802ee3c6
mov qword [rsp + 0x40], rbp
lea rbp, [0x1803c58a0]
mov qword [rsp + 0x48], rdi
mov byte [rax], 0
nop dword [rax]
xor edi, edi
cmp dword [rsi + 0x28], edi
jle 0x1802ee32a
nop word [rax + rax]
mov eax, edi
mov rdx, rbx
xor eax, 1
cmp edi, 2
cmovge eax, edi
xor r8d, r8d
movsxd rcx, eax
mov rax, qword [rsi + 0x20]
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.1802a2ba0
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1802ee36b
inc edi
cmp edi, dword [rsi + 0x28]
jl 0x1802ee2f0
lea r8, str.sqlite_master
sub r8, rbx
movzx ecx, byte [rbx]
movzx eax, byte [r8 + rbx]
cmp ecx, eax
jne 0x1802ee358
test ecx, ecx
jne 0x1802ee364
mov rax, qword [rsi + 0x20]
cmp qword [rax + 0x20], 0
jne 0x1802ee369
lea rbx, str.sqlite_temp_master
jmp 0x1802ee2e0
movzx edx, byte [rax + rbp]
movzx ecx, byte [rcx + rbp]
cmp ecx, edx
jne 0x1802ee369
inc rbx
jmp 0x1802ee334
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov byte [r14], 0x5f
test rax, rax
je 0x1802ee3c6
cmp dword [rax + 0x54], 0
je 0x1802ee3c6
mov rax, qword [rax + 0x58]
lea rcx, [rsi + 0x1f8]
xor r8d, r8d
mov rdx, qword [rax]
call fcn.1802a2ba0
mov rax, qword [rax + 0x10]
test rax, rax
je 0x1802ee3c6
mov rax, qword [rax]
cmp dword [rax], 3
jl 0x1802ee3c6
mov rdx, qword [rax + 0xb8]
test rdx, rdx
je 0x1802ee3c6
lea rcx, [r14 + 1]
add rsp, 0x20
pop r14
pop rsi
pop rbx
jmp rdx
xor eax, eax
add rsp, 0x20
pop r14
pop rsi
pop rbx
ret
Function at 0x1802ef500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx]
mov r13, r9
movsxd r10, edx
mov r12, r8
shl r10, 5
mov r15, rcx
mov r14d, 1
mov rdx, qword [rax + 0x20]
mov rsi, qword [r10 + rdx]
mov r9d, r14d
lea r8, str.sqlite_stat_d
lea rdx, [rsp + 0x38]
mov ecx, 0x18
call fcn.1802a0930
mov rbp, qword [r15]
lea rdi, [rsp + 0x38]
xor ebx, ebx
cmp dword [rbp + 0x28], ebx
jle 0x1802ef5e5
nop dword [rax]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
test rsi, rsi
je 0x1802ef5b4
mov rcx, qword [rbp + 0x20]
mov rax, rsi
movsxd rdx, r10d
shl rdx, 5
mov r9, qword [rdx + rcx]
sub r9, rsi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x1802ef626
test edx, edx
jne 0x1802ef63c
mov rax, qword [rbp + 0x20]
xor r8d, r8d
movsxd rcx, r10d
mov rdx, rdi
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.1802a2ba0
cmp qword [rax + 0x10], 0
jne 0x1802ef69d
inc ebx
cmp ebx, dword [rbp + 0x28]
jl 0x1802ef570
lea r8, str.sqlite_master
sub r8, rdi
nop
movzx ecx, byte [rdi]
movzx eax, byte [r8 + rdi]
cmp ecx, eax
jne 0x1802ef644
test ecx, ecx
jne 0x1802ef657
mov rax, qword [rbp + 0x20]
mov r9, qword [rax + 0x20]
test rsi, rsi
jne 0x1802ef65c
neg r9
sbb edx, edx
test edx, edx
jne 0x1802ef6be
lea rdi, str.sqlite_temp_master
jmp 0x1802ef562
lea r11, [0x1803c58a0]
movzx r8d, byte [rcx + r11]
movzx edx, byte [rdx + r11]
cmp edx, r8d
jne 0x1802ef5de
inc rax
jmp 0x1802ef5a0
lea rbx, [0x1803c58a0]
movzx edx, byte [rax + rbx]
movzx ecx, byte [rcx + rbx]
cmp ecx, edx
jne 0x1802ef6be
inc rdi
jmp 0x1802ef5f0
test r9, r9
je 0x1802ef6be
mov r8, rsi
lea r10, [0x1803c58a0]
sub r9, rsi
nop
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x1802ef686
test edx, edx
je 0x1802ef61a
inc r8
jmp 0x1802ef670
movzx ecx, byte [rax + r10]
movzx edx, byte [rdx + r10]
sub edx, ecx
jne 0x1802ef612
inc r8
jmp 0x1802ef670
mov qword [rsp + 0x28], r13
lea r9, [rsp + 0x38]
mov r8, rsi
mov qword [rsp + 0x20], r12
lea rdx, str.DELETE_FROM__Q._s_WHERE__s_Q
mov rcx, r15
call fcn.1802ea5c0
inc r14d
cmp r14d, 4
jle 0x1802ef541
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1802ff100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x38
mov rsi, qword [rcx + 0x98]
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx]
test rsi, rsi
je 0x1802ff2fb
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r15
nop dword [rax + rax]
movsxd rbp, dword [rsi + 0x10]
movzx eax, byte [rbx + 0x1f]
mov r14d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [r12 + 0x20]
test al, al
jne 0x1802ff162
inc dword [rbx + 0x38]
mov r15d, dword [rbx + 0x38]
jmp 0x1802ff172
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r15d, dword [rbx + rax*4 + 0xcc]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r14 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x1802ff19f
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x37
mov rcx, rdi
call fcn.1802c3380
jmp 0x1802ff1cd
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r13
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x61
mov r9, qword [r9 + 0x68]
call fcn.1802fe5a0
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1802ff20c
mov rcx, rdi
call fcn.1802c31f0
test eax, eax
jne 0x1802ff2e7
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r13d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r13d
lea ecx, [r14 + 1]
mov byte [rdx + 1], r13b
add eax, 2
mov dword [rdx + 8], eax
lea eax, [r14 - 1]
mov qword [rdx + 0x10], r13
mov word [rdx + 2], r13w
mov qword [rdx + 0x18], 0x78
mov qword [rdx + 0x20], r13
mov qword [rdx + 0x28], r13
mov qword [rdx + 0x30], 0x5b
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r13
mov qword [rdx + 0x48], 0x79
mov qword [rdx + 0x50], r13
mov qword [rdx + 0x58], r13
mov qword [rdx + 0x60], 0x74
mov qword [rdx + 0x68], r13
mov qword [rdx + 0x70], r13
add dword [rdi + 0x90], 5
mov dword [rdx + 0x34], eax
mov eax, 8
mov word [rdx + 0x4a], ax
mov dword [rdx + 4], ecx
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x3c], r15d
mov dword [rdx + 0x50], r15d
mov dword [rdx + 0x54], ecx
test r15d, r15d
je 0x1802ff2db
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1802ff2db
movzx eax, al
mov dword [rbx + rax*4 + 0xcc], r15d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1802ff140
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x180363e00
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
movsxd r15, edx
mov rdi, qword [rcx + r15*8 + 0x28]
lea r14, [rcx + r15*8]
mov qword [rsp + 0x40], rax
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov qword [rsp + 0x48], rax
mov rbp, r9
mov rsi, r8
mov rbx, rcx
test rdi, rdi
jne 0x180363e63
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
mov rdx, qword [rsp + r15*8 + 0x40]
call fcn.180363cf0
mov rdi, rax
mov qword [r14 + 0x28], rax
cmp dword [rbx + 0x40], 0
jne 0x180363f19
mov r8, rsi
mov edx, 1
mov rcx, rdi
call fcn.1802cb0d0
mov rcx, rdi
call fcn.1802c9d40
cmp eax, 0x65
jne 0x180363ebb
test r15d, r15d
lea rcx, str.__rowid
lea rax, str.__parent
mov r9, rbp
cmovne rax, rcx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov r8, rsi
call fcn.180363d80
jmp 0x180363f08
cmp eax, 0x64
jne 0x180363f08
xor edx, edx
mov rcx, rdi
call fcn.1802ca820
mov r9, rax
cmp rax, rbp
je 0x180363f08
test r15d, r15d
mov qword [rsp + 0x30], rbp
lea rcx, str.__rowid
mov qword [rsp + 0x28], rsi
lea rax, str.__parent
mov r8, rsi
cmovne rax, rcx
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.180363d80
mov rcx, rdi
call fcn.1802c8e70
cmp dword [rbx + 0x40], 0
jne 0x180363f19
mov dword [rbx + 0x40], eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x18036e850
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x450
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0x460]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x18036e8a9
xor al, al
jmp 0x18036e8fb
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x18036e8d4
cmp qword [rsp + 0x20], 0
je 0x18036e8d0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x18036e8fb
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x468]
call fcn.18000e530
cmp qword [rsp + 0x20], 0
je 0x18036e8f9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x450
pop rdi
ret

Function at 0x18036feb0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x70
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0xe0], 0
je 0x18036ff0a
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
jmp 0x18036ff15
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x18036ff9c
cmp qword [rsp + 0x68], 0x20
jbe 0x18036ff8b
mov dword [rsp + 0x20], 1
jmp 0x18036ff93
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
jmp 0x18036ffb9
cmp qword [rsp + 0xd0], 0
je 0x18036ffb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xd0]
mov dword [rcx], eax
xor al, al
add rsp, 0xa0
pop rdi
ret
Function at 0x1803702c0
Capabilities:
Check os version
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3c0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov rcx, qword [rsp + 0x3d0]
call fcn.18015b200
movzx eax, al
test eax, eax
jne 0x180370301
jmp 0x180370490
lea rax, [rsp + 0x1a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
mov dword [rsp + 0x80], VarUI4FromDisp
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x90], 2
jne 0x18037036e
cmp dword [rsp + 0x84], 5
jne 0x18037036e
cmp dword [rsp + 0x88], 0
jne 0x18037036e
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x180370387
xor r9d, r9d
mov r8d, 0x10
lea rdx, [rsp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, 2
imul rax, rax, 0x104
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x20a
jae 0x1803703a5
jmp 0x1803703aa
call fcn.1803945d8
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rsp + rcx + 0x1a0], ax
mov rdx, qword [rsp + 0x3d0]
lea rcx, [rsp + 0x40]
call fcn.180005900
nop
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x60]
call fcn.1800058a0
nop
lea rdx, [0x1803cdf98]
lea rcx, [rsp + 0x40]
call fcn.180159e70
lea rdx, [0x1803cdf98]
lea rcx, [rsp + 0x60]
call fcn.180159e70
lea rdx, [0x1803daf50]
lea rcx, [rsp + 0x40]
call fcn.180159e70
lea rdx, [0x1803daf50]
lea rcx, [rsp + 0x60]
call fcn.180159e70
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.180159b80
movzx eax, al
test eax, eax
jne 0x18037047b
lea rdx, [0x1803cf7f8]
lea rcx, [rsp + 0x40]
call fcn.18000ad00
lea rcx, [rsp + 0x40]
call fcn.1800057b0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0x60]
call fcn.1800057f0
nop
lea rcx, [rsp + 0x40]
call fcn.1800057f0
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x3c0
pop rdi
ret
Function at 0x1803722e0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18037234e
mov eax, dword [rsp + 0x24]
cmp eax, 5
ja 0x180372334
jne 0x18037234e
cmp dword [rsp + 0x28], 0
jbe 0x18037234e
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x158
ret

Function at 0x180372370
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1803723ca
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x158
ret
cmp dword [rsp + 0x24], 6
setae al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x158
ret

Function at 0x1803723f0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18037245e
mov eax, dword [rsp + 0x24]
cmp eax, 6
ja 0x180372444
jb 0x18037245e
cmp dword [rsp + 0x28], 1
jb 0x18037245e
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x158
ret

Function at 0x180372480
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1803724ee
mov eax, dword [rsp + 0x24]
cmp eax, 6
ja 0x1803724d4
jb 0x1803724ee
cmp dword [rsp + 0x28], 2
jb 0x1803724ee
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x158
ret
Function at 0x180372510
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
xor ebx, ebx
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1803725fe
mov eax, dword [rsp + 0x24]
cmp eax, 4
jbe 0x1803725fe
cmp eax, 5
jne 0x18037258e
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x180372587
sub eax, 1
je 0x1803725fe
cmp eax, 1
jne 0x180372587
lea ebx, [rax + 2]
jmp 0x1803725fe
mov ebx, 1
jmp 0x1803725fe
cmp eax, 6
jne 0x1803725e3
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x1803725d3
sub eax, 1
je 0x1803725c9
sub eax, 1
je 0x1803725b8
cmp eax, 1
jne 0x1803725fe
cmp byte [rsp + 0x13a], al
jne 0x1803725fe
lea ebx, [rax + 0xc]
jmp 0x1803725fe
cmp byte [rsp + 0x13a], 1
jne 0x1803725fe
mov ebx, 0xb
jmp 0x1803725fe
mov ebx, 7
lea eax, [rbx + 2]
jmp 0x1803725f3
cmp byte [rsp + 0x13a], 1
setne bl
add ebx, 5
jmp 0x1803725fe
cmp eax, 0xa
jne 0x1803725fe
cmp dword [rsp + 0x28], ebx
jne 0x1803725fe
mov eax, 0xf
cmp byte [rsp + 0x13a], 1
cmove ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x150
pop rbx
ret

Function at 0x180372620
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x18037267a
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x158
ret
cmp dword [rsp + 0x24], 0xa
setae al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x158
ret