joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005f550
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x320], rbx
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, rdx
mov rbx, rcx
mov rcx, rdx
call fcn.1800065f8
mov rcx, qword [rbx]
test rcx, rcx
je 0x18005f7a8
lea rdx, [0x1800f92f0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, [0x1800fad70]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, [0x1800f9318]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rdi, rdi
je 0x18005f7a8
test r12, r12
je 0x18005f7a8
test rax, rax
je 0x18005f7a8
mov dword [rsp + 0x78], 0x6f0053
mov dword [rsp + 0x7c], 0x740066
mov dword [rbp - 0x80], 0x610077
mov dword [rbp - 0x7c], 0x650072
mov dword [rbp - 0x78], 0x4d005c
mov dword [rbp - 0x74], 0x630069
mov dword [rbp - 0x70], 0x6f0072
mov dword [rbp - 0x6c], 0x6f0073
mov dword [rbp - 0x68], 0x740066
mov dword [rbp - 0x64], 0x43005c
mov dword [rbp - 0x60], 0x460054
mov dword [rbp - 0x5c], 0x54005c
mov dword [rbp - 0x58], 0x500049
xor eax, eax
mov word [rbp - 0x54], ax
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, 0xffffffff80000002
call rdi
test eax, eax
jne 0x18005f7a8
xor edi, edi
mov esi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.1800a8f10
mov dword [rsp + 0x70], 0x104
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call r12
test eax, eax
jne 0x18005f7a0
lea rcx, [rsp + 0x48]
call fcn.180005ea0
mov r15, rax
mov rcx, r14
call fcn.1800068e0
mov rbx, rax
nop dword [rax]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x48]
call fcn.180005e38
nop
mov rcx, r14
call fcn.1800069ac
mov rcx, r15
test al, al
je 0x18005f749
call fcn.180005ea0
mov rcx, rax
call fcn.180005ea0
mov rdi, rax
mov rdx, qword [rbx]
mov ecx, 0x20
call fcn.180005ca4
mov r8, rax
mov rcx, rdi
call fcn.180005ea0
mov rdx, rax
mov rcx, r8
call fcn.180005dec
add qword [rbx], 0x20
xor edi, edi
jmp 0x18005f75d
call fcn.180005ea0
mov r8, rax
mov rdx, qword [rbx]
mov rcx, r14
call fcn.180007cf4
nop
lea rcx, [rsp + 0x48]
call fcn.180005de4
inc esi
mov dword [rsp + 0x70], 0x104
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x50]
mov edx, esi
mov rcx, qword [rsp + 0x68]
call r12
test eax, eax
je 0x18005f6f0
mov rcx, qword [rsp + 0x68]
call r13
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1800a5100
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18005ffd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rcx
xor edi, edi
mov rcx, qword [rcx]
test rcx, rcx
je 0x180060182
lea rdx, [0x1800f92f0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.RegQueryValueExW
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, [0x1800f9318]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test r15, r15
je 0x180060182
test r14, r14
je 0x180060182
test rax, rax
je 0x180060182
mov dword [rbp - 9], 0x65004b
mov dword [rbp - 5], 0x620079
mov dword [rbp - 1], 0x61006f
mov dword [rbp + 3], 0x640072
mov dword [rbp + 7], 0x4c0020
mov dword [rbp + 0xb], 0x790061
mov dword [rbp + 0xf], 0x75006f
mov dword [rbp + 0x13], 0x5c0074
mov dword [rbp + 0x17], 0x720050
mov dword [rbp + 0x1b], 0x6c0065
mov dword [rbp + 0x1f], 0x61006f
mov dword [rbp + 0x23], 0x64
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x19], rdi
mov edx, 0x20019
lea rcx, [rbp - 0x29]
call fcn.18007bf70
mov rcx, rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 9]
call r15
test eax, eax
jne 0x18006014a
xor eax, eax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov dword [rbp + 0x37], eax
mov dword [rbp - 0x11], 0x14
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1800fad40]
mov rcx, qword [rbp - 0x19]
call r14
test eax, eax
jne 0x180060144
xor edx, edx
lea r8d, [rdi + 0x10]
lea rcx, [rbp + 0x27]
call fcn.1800ae25c
mov edi, eax
mov rcx, qword [rbp - 0x19]
call rbx
mov rbx, qword [rbp - 0x29]
test rbx, rbx
je 0x180060160
lea rcx, [rbp - 0x29]
call fcn.18007c0b0
mov rbx, qword [rbp - 0x29]
test edi, edi
je 0x180060170
mov edx, edi
mov rcx, rsi
call fcn.1800601b0
mov edi, eax
test rbx, rbx
je 0x18006017e
lea rcx, [rbp - 0x29]
call fcn.18007c0b0
mov eax, edi
jmp 0x180060184
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800a5100
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1800601b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov ebx, edx
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x180060375
lea rdx, [0x1800f92f0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.RegQueryValueExW
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, [0x1800f9318]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test r14, r14
je 0x180060375
test rsi, rsi
je 0x180060375
test rax, rax
je 0x180060375
mov dword [rbp - 0x19], 0x65004b
mov dword [rbp - 0x15], 0x620079
mov dword [rbp - 0x11], 0x61006f
mov dword [rbp - 0xd], 0x640072
mov dword [rbp - 9], 0x4c0020
mov dword [rbp - 5], 0x790061
mov dword [rbp - 1], 0x75006f
mov dword [rbp + 3], 0x5c0074
mov dword [rbp + 7], 0x750053
mov dword [rbp + 0xb], 0x730062
mov dword [rbp + 0xf], 0x690074
mov dword [rbp + 0x13], 0x750074
mov dword [rbp + 0x17], 0x650074
mov dword [rbp + 0x1b], 0x73
xor eax, eax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], rax
mov edx, 0x20019
lea rcx, [rbp - 0x59]
call fcn.18007bf70
mov rcx, rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x19]
call r14
test eax, eax
je 0x180060365
lea rcx, [rbp - 0x39]
call fcn.180005e80
nop
mov r8d, ebx
lea rdx, str._08x
lea rcx, [rbp - 0x39]
call fcn.18006c190
xor eax, eax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov dword [rbp + 0x2f], eax
mov dword [rbp - 0x41], 0x14
lea rcx, [rbp - 0x39]
call fcn.18000618c
mov rdx, rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x49]
call rsi
test eax, eax
jne 0x180060354
xor edx, edx
lea r8d, [rax + 0x10]
lea rcx, [rbp + 0x1f]
call fcn.1800ae25c
mov ebx, eax
mov rcx, qword [rbp - 0x49]
call rdi
nop
lea rcx, [rbp - 0x39]
call fcn.180005de4
nop
cmp qword [rbp - 0x59], 0
je 0x180060375
lea rcx, [rbp - 0x59]
call fcn.18007c0b0
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800a5100
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1800603a0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call fcn.1800a8f10
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180060403
cmp dword [rsp + 0x24], 6
jb 0x180060403
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800a5100
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800a5100
add rsp, 0x158
ret
Function at 0x180060eb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rsi
push rdi
push r14
lea rbp, [rsp - 0x188]
sub rsp, 0x288
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rcx, qword [rcx]
mov rsi, r9
mov r14, r8
mov rdi, rdx
test rcx, rcx
je 0x180061022
lea rdx, str.RegQueryValueExW
mov qword [rsp + 0x280], rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x18006101a
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1800a8f10
mov rcx, r14
mov dword [rsp + 0x30], 0x208
call fcn.18000618c
mov rdx, rax
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call rbx
lea rcx, [rsp + 0x60]
call fcn.18000608c
lea rcx, [rsi + 0x50]
mov r8, rax
lea rdx, [rsp + 0x60]
call fcn.180005f18
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x28], rax
lea rdx, str.Profile
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call rbx
lea rcx, [rsp + 0x60]
call fcn.18000608c
lea rcx, [rsi + 0x70]
mov r8, rax
lea rdx, [rsp + 0x60]
call fcn.180005f18
xor eax, eax
mov dword [rsp + 0x38], 0x65004b
mov word [rsp + 0x54], ax
lea rdx, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x3c], 0x620079
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov dword [rsp + 0x40], 0x61006f
mov dword [rsp + 0x44], 0x640072
mov dword [rsp + 0x48], 0x61004c
mov dword [rsp + 0x4c], 0x6f0079
mov dword [rsp + 0x50], 0x740075
mov dword [rsp + 0x30], 4
call rbx
mov rbx, qword [rsp + 0x280]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1800a5100
add rsp, 0x288
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180062390
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x178], rbx
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov qword [rsp + 0x28], 0
mov ecx, 1
call fcn.1800a58d8
mov qword [rsp + 0x28], rax
mov byte [rax], 0
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x34]
call fcn.1800a8f10
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180062412
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.1800876a0
test al, al
je 0x18006243a
lea rcx, [rsp + 0x28]
call fcn.180086f60
test al, al
jne 0x18006243a
xor bl, bl
jmp 0x1800624a8
lea rdx, [rbx + 8]
xor ecx, ecx
call fcn.18006cf30
test al, al
jne 0x180062452
lea rcx, [rbx + 8]
call fcn.18000b610
lea rdx, [rbx + 0x28]
mov ecx, 0x1a
call fcn.18006cf30
test al, al
jne 0x18006246d
lea rcx, [rbx + 0x28]
call fcn.18000b610
lea rdx, [rbx + 0x48]
mov ecx, 2
call fcn.18006cf30
test al, al
jne 0x180062488
lea rcx, [rbx + 0x48]
call fcn.18000b610
lea rdx, [rbx + 0x68]
mov ecx, 0xb
call fcn.18006cf30
test al, al
jne 0x1800624a3
lea rcx, [rbx + 0x68]
call fcn.18000b610
mov byte [rbx], 1
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.180086880
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800a5100
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret

Function at 0x1800625a0
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov rdi, rdx
mov qword [r11 - 0x58], rdx
xor r15d, r15d
mov dword [r11 - 0x68], r15d
lea edx, [r15 + 0x25]
xor r8d, r8d
mov rcx, rsi
call fcn.1800086d0
mov rdx, rsi
cmp rax, 0xffffffffffffffff
jne 0x180062608
mov rcx, rdi
call fcn.180007554
nop
mov dword [rsp + 0x20], 1
jmp 0x1800626c3
lea rcx, [rsp + 0x38]
call fcn.180007554
nop
mov rcx, rsi
call fcn.18000618c
mov rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
jne 0x18006263c
mov rdx, rsi
mov rcx, rdi
call fcn.180007554
jmp 0x1800626b1
lea ecx, [rax + 2]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800a5c84
mov r14, rax
mov rcx, rsi
call fcn.18000618c
mov rcx, rax
lea r8d, [rbp + 1]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x18006269c
cmp eax, ebp
ja 0x18006269c
mov eax, eax
mov word [r14 + rax*2], r15w
mov rcx, r14
call fcn.18000608c
mov r8, rax
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.180005f18
mov rcx, r14
call fcn.1800a5124
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.180005dec
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x38]
call fcn.180005de4
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800a5100
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180063300
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x238]
sub rsp, 0x330
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rbx, rdx
mov dword [rbp - 0x40], 0x61004d
mov dword [rbp - 0x3c], 0x720063
mov dword [rbp - 0x38], 0x6d006f
mov dword [rbp - 0x34], 0x640065
mov dword [rbp - 0x30], 0x46005c
mov dword [rbp - 0x2c], 0x61006c
mov dword [rbp - 0x28], 0x680073
mov dword [rbp - 0x24], 0x46005c
mov dword [rbp - 0x20], 0x61006c
mov dword [rbp - 0x1c], 0x680073
mov dword [rbp - 0x18], 0x650048
mov dword [rbp - 0x14], 0x70006c
mov dword [rbp - 0x10], 0x720065
mov dword [rbp - 0xc], 0x650053
mov dword [rbp - 8], 0x760072
mov dword [rbp - 4], 0x630069
mov dword [rbp], 0x2e0065
mov dword [rbp + 4], 0x780065
mov dword [rbp + 8], 0x65
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call fcn.1800a8f10
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.180005e38
nop
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x38]
call fcn.180005e38
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.180073450
nop
lea rcx, [rsp + 0x38]
call fcn.180005de4
nop
lea rcx, [rsp + 0x58]
call fcn.180005de4
lea rcx, [rbp - 0x68]
call fcn.18006c610
test al, al
jne 0x180063444
xor bl, bl
jmp 0x1800634a4
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.180086210
nop
lea rcx, [rsp + 0x78]
call fcn.180005da8
test al, al
je 0x180063465
xor bl, bl
jmp 0x180063499
lea rcx, [rsp + 0x78]
call fcn.180005ea0
cmp rbx, rax
je 0x180063497
lea rcx, [rsp + 0x78]
call fcn.180005ea0
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x18006348b
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rbx
call fcn.180005f18
mov bl, 1
lea rcx, [rsp + 0x78]
call fcn.180005de4
nop
lea rcx, [rbp - 0x68]
call fcn.180005de4
movzx eax, bl
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1800a5100
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x18006b620
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov r14d, r8d
mov r15, rdx
mov rbp, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
call fcn.180005ea0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rsp + 0x80], sil
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1800061ec
mov dword [rsp + 0x20], 1
mov ebx, esi
test r14d, r14d
je 0x18006b870
mov ecx, esi
nop word [rax + rax]
dec r14d
movzx eax, byte [r15]
mov byte [rsp + rcx + 0x80], al
inc ebx
inc rcx
lea r15, [r15 + 1]
movzx edx, byte [rsp + 0x82]
movzx r12d, byte [rsp + 0x81]
movzx r13d, byte [rsp + 0x80]
cmp rcx, 3
jne 0x18006b777
movzx eax, r13b
shr al, 2
mov byte [rsp + 0x88], al
movzx ecx, r13b
and cl, 3
shl cl, 4
movzx eax, r12b
shr al, 4
add cl, al
mov byte [rsp + 0x89], cl
movzx ecx, r12b
and cl, 0xf
shl cl, 2
movzx eax, dl
shr al, 6
add cl, al
mov byte [rsp + 0x8a], cl
movzx eax, dl
and al, 0x3f
mov byte [rsp + 0x8b], al
mov rbx, rsi
lea rcx, [0x180135a58]
call fcn.180005ea0
mov rdi, rax
nop word [rax + rax]
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18006b74d
mov rax, qword [rdi]
movzx ecx, byte [rsp + rbx + 0x88]
movzx edx, byte [rcx + rax]
mov rcx, rbp
call fcn.18002a940
inc rbx
cmp rbx, 4
jl 0x18006b740
mov ebx, esi
mov rcx, rsi
movzx edx, byte [rsp + 0x82]
test r14d, r14d
jne 0x18006b6a0
test ebx, ebx
je 0x18006b870
movsxd rax, ebx
cmp rax, 3
jge 0x18006b7c2
jae 0x18006b888
mov byte [rsp + rax + 0x80], 0
inc rax
cmp rax, 3
jl 0x18006b791
movzx edx, byte [rsp + 0x82]
movzx r12d, byte [rsp + 0x81]
movzx r13d, byte [rsp + 0x80]
movzx eax, r13b
shr al, 2
mov byte [rsp + 0x88], al
and r13b, 3
shl r13b, 4
movzx eax, r12b
shr al, 4
add r13b, al
mov byte [rsp + 0x89], r13b
and r12b, 0xf
shl r12b, 2
movzx eax, dl
shr al, 6
add r12b, al
mov byte [rsp + 0x8a], r12b
and dl, 0x3f
mov byte [rsp + 0x8b], dl
lea eax, [rbx + 1]
movsxd r14, eax
test eax, eax
jle 0x18006b84f
lea rcx, [0x180135a58]
call fcn.180005ea0
mov rdi, rax
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18006b833
mov rax, qword [rdi]
movzx ecx, byte [rsp + rsi + 0x88]
movzx edx, byte [rcx + rax]
mov rcx, rbp
call fcn.18002a940
inc rsi
cmp rsi, r14
jl 0x18006b826
cmp ebx, 3
jge 0x18006b870
mov eax, 3
sub eax, ebx
mov ebx, eax
nop dword [rax]
mov dl, 0x3d
mov rcx, rbp
call fcn.18002a940
sub rbx, 1
jne 0x18006b860
mov rax, rbp
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800a523c
int3
Function at 0x18006c450
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
call fcn.180005da8
test al, al
je 0x18006c489
xor al, al
jmp 0x18006c5e9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180007554
nop
mov edx, 4
lea rcx, [rsp + 0x28]
call fcn.180073120
lea rcx, [rsp + 0x28]
call fcn.18000618c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x18006c5da
lea rcx, [rsp + 0x48]
call fcn.180005e80
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.180088fa0
test al, al
je 0x18006c4f7
lea rcx, [rsp + 0x48]
call fcn.18000618c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.180005de4
cmp ebx, 0xffffffff
jne 0x18006c5da
lea rcx, [rsp + 0x28]
call fcn.180005f10
cmp rax, 2
jbe 0x18006c5d6
lea rcx, [rsp + 0x28]
call fcn.180005f10
mov rdi, rax
lea rcx, [rsp + 0x28]
call fcn.180005ea0
mov rbx, rax
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x18006c545
mov rcx, qword [rax]
cmp word [rcx + rdi*2 - 2], 0x5c
je 0x18006c56b
lea rcx, [rsp + 0x28]
call fcn.180005f10
dec rax
cmp qword [rbx + 0x18], 8
jb 0x18006c564
mov rbx, qword [rbx]
cmp word [rbx + rax*2], 0x2f
jne 0x18006c5d6
mov edx, 0x20
lea rcx, [rsp + 0x28]
call fcn.180073120
lea rcx, [rsp + 0x28]
call fcn.18000618c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x18006c5da
lea rcx, [rsp + 0x48]
call fcn.180005e80
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.180088fa0
test al, al
je 0x18006c5c7
lea rcx, [rsp + 0x48]
call fcn.18000618c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.180005de4
cmp ebx, 0xffffffff
jne 0x18006c5da
xor bl, bl
jmp 0x18006c5dc
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.180005de4
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800a5100
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x18006c610
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
call fcn.180005da8
test al, al
je 0x18006c649
xor al, al
jmp 0x18006c7af
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180007554
nop
mov edx, 4
lea rcx, [rsp + 0x28]
call fcn.180073120
lea rcx, [rsp + 0x28]
call fcn.18000618c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x18006c6c2
lea rcx, [rsp + 0x48]
call fcn.180005e80
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.180088fa0
test al, al
je 0x18006c6b3
lea rcx, [rsp + 0x48]
call fcn.18000618c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.180005de4
cmp ebx, 0xffffffff
je 0x18006c6cb
test bl, 0x10
je 0x18006c7a0
lea rcx, [rsp + 0x28]
call fcn.180005f10
cmp rax, 2
jbe 0x18006c79c
lea rcx, [rsp + 0x28]
call fcn.180005f10
mov rdi, rax
lea rcx, [rsp + 0x28]
call fcn.180005ea0
mov rbx, rax
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x18006c706
mov rcx, qword [rax]
cmp word [rcx + rdi*2 - 2], 0x5c
je 0x18006c72c
lea rcx, [rsp + 0x28]
call fcn.180005f10
dec rax
cmp qword [rbx + 0x18], 8
jb 0x18006c725
mov rbx, qword [rbx]
cmp word [rbx + rax*2], 0x2f
jne 0x18006c79c
mov edx, 0x20
lea rcx, [rsp + 0x28]
call fcn.180073120
lea rcx, [rsp + 0x28]
call fcn.18000618c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x18006c797
lea rcx, [rsp + 0x48]
call fcn.180005e80
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.180088fa0
test al, al
je 0x18006c788
lea rcx, [rsp + 0x48]
call fcn.18000618c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.180005de4
cmp ebx, 0xffffffff
je 0x18006c79c
test bl, 0x10
je 0x18006c7a0
xor bl, bl
jmp 0x18006c7a2
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.180005de4
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800a5100
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x18006c7d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
call fcn.180005da8
test al, al
je 0x18006c80f
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800a5100
add rsp, 0x70
pop rbx
ret
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180007554
nop
mov edx, 4
lea rcx, [rsp + 0x28]
call fcn.180073120
lea rcx, [rsp + 0x28]
call fcn.18000618c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x18006c888
lea rcx, [rsp + 0x48]
call fcn.180005e80
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.180088fa0
test al, al
je 0x18006c879
lea rcx, [rsp + 0x48]
call fcn.18000618c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.180005de4
cmp ebx, 0xffffffff
je 0x18006c891
test bl, 0x10
je 0x18006c891
mov bl, 1
jmp 0x18006c893
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.180005de4
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800a5100
add rsp, 0x70
pop rbx
ret