joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005e40
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rdi
sub rsp, 0x170
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rsp + 0x160], rax
xorps xmm0, xmm0
mov rdi, rcx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005eb3
bt eax, 0xa
jae 0x140005eb3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005e9d
test al, 0x10
je 0x140005e9d
mov rcx, rdi
call fcn.1400d246c
jmp 0x140005ea5
mov rcx, rdi
call fcn.1400b5fcc
test eax, eax
je 0x140005eb3
mov eax, 0x1f
jmp 0x140006027
mov rcx, rdi
mov qword [rsp + 0x188], rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005ef7
bt eax, 0xa
jae 0x140005ef7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005eeb
test al, 0x10
je 0x140005eeb
mov rcx, rdi
call fcn.1400d246c
jmp 0x140005ef3
mov rcx, rdi
call fcn.1400b5fcc
test eax, eax
jne 0x140005f0e
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400d1f24
mov ebx, eax
test eax, eax
je 0x14000601d
test rdi, rdi
jne 0x140005f17
xor ebx, ebx
jmp 0x140005f27
mov edx, 0x104
mov rcx, rdi
call fcn.1400cec38
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.1400a7190
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.1400b46b8
lea rcx, [rbx - 2]
cmp rcx, 0x102
ja 0x140005f7b
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x140005f7b
dec rbx
cmp rbx, 0x104
jae 0x140006040
mov byte [rsp + rbx + 0x50], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005fbf
bt eax, 0xa
jae 0x140005fbf
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005fb1
test al, 0x10
je 0x140005fb1
lea rcx, [rsp + 0x50]
call fcn.1400d246c
jmp 0x140005fbb
lea rcx, [rsp + 0x50]
call fcn.1400b5fcc
test eax, eax
jne 0x140005fd4
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400d1f24
mov ebx, eax
test eax, eax
je 0x14000601d
lea rcx, [rsp + 0x50]
call fcn.1400d21e8
mov ebx, eax
test eax, eax
je 0x14000601d
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.1400a7898
mov rdi, rax
test rax, rax
je 0x14000601d
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.140005e40
mov ebx, eax
test eax, eax
jne 0x14000601d
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400d21e8
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x170
pop rdi
ret
call fcn.1400a5814
int3
Function at 0x140008430
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x58]
sub rsp, 0x148
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rcx
test rcx, rcx
je 0x140008608
mov rcx, qword [rcx + 0x108]
test rcx, rcx
je 0x140008608
mov qword [r11 + 0x10], rsi
mov qword [r11 - 0x18], r14
call fcn.140010760
xorps xmm0, xmm0
lea rdx, [rbp - 0x70]
mov r14, rax
mov rcx, rbx
xor eax, eax
mov dword [rbp + 0x20], eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
call fcn.140008050
mov esi, eax
test eax, eax
jne 0x1400085e2
mov eax, dword [rbp - 0x6c]
and eax, 0xff000000
cmp eax, 0x2000000
jne 0x1400085e2
mov ecx, 0x1000
mov qword [rsp + 0x170], rdi
call fcn.14000c820
mov rdi, rax
test rax, rax
jne 0x1400084f3
mov esi, 0x708
jmp 0x1400085da
mov rcx, qword [rbx + 0x108]
xorps xmm0, xmm0
xor eax, eax
mov dword [rsp + 0x20], 0x40200100
mov r8d, 0x1000
mov qword [rbp - 0x7c], rax
mov rdx, rdi
mov dword [rbp - 0x74], eax
movups xmmword [rsp + 0x44], xmm0
mov dword [rsp + 0x24], 0x6a09e667
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x28], 0xbb67ae85
movups xmmword [rsp + 0x64], xmm0
mov dword [rsp + 0x2c], 0x3c6ef372
movups xmmword [rsp + 0x74], xmm0
mov dword [rsp + 0x30], 0xa54ff53a
mov dword [rsp + 0x34], 0x510e527f
mov dword [rsp + 0x38], 0x9b05688c
mov dword [rsp + 0x3c], 0x1f83d9ab
mov dword [rsp + 0x40], 0x5be0cd19
call fcn.140010c50
test rax, rax
je 0x1400085aa
lfence
nop dword [rax + rax]
mov r8, rax
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14000dca0
mov rcx, qword [rbx + 0x108]
mov r8d, 0x1000
mov rdx, rdi
call fcn.140010c50
test rax, rax
jne 0x140008580
lea rcx, [rsp + 0x20]
call fcn.14000d9d0
mov r8d, 0x20
lea rdx, [rbp - 4]
lea rcx, [rsp + 0x24]
call fcn.1400a73c0
test eax, eax
mov ecx, 0xbbd
cmovne esi, ecx
mov rcx, rdi
call fcn.1400b45d4
mov rdi, qword [rsp + 0x170]
mov rcx, qword [rbx + 0x108]
xor r8d, r8d
mov rdx, r14
call fcn.140010e10
mov r14, qword [rsp + 0x140]
mov eax, esi
mov rsi, qword [rsp + 0x168]
jmp 0x14000860d
mov eax, 0x8fc
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x148
pop rbx
pop rbp
ret
Function at 0x14000c790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000c7e8
bt eax, 0xa
jae 0x14000c7e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000c7d5
test al, 0x10
je 0x14000c7d5
mov rcx, rbx
call fcn.1400d246c
jmp 0x14000c7dd
mov rcx, rbx
call fcn.1400b5fcc
test eax, eax
je 0x14000c7e8
mov ecx, 0x1f
jmp 0x14000c7f7
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d1f24
mov ecx, eax
xor eax, eax
test ecx, ecx
sete al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x60
pop rbx
ret
Function at 0x1400107a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x1400107da
mov edx, dword [rcx]
sub edx, 1
je 0x1400107ee
cmp edx, 1
jne 0x1400107da
mov rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x68
ret
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x68
ret
mov qword [rsp + 0x60], rbx
mov rbx, qword [rcx + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140010833
bt eax, 0xa
jae 0x140010833
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140010827
test al, 0x10
je 0x140010827
mov rcx, rbx
call fcn.1400d246c
jmp 0x14001082f
mov rcx, rbx
call fcn.1400b5fcc
test eax, eax
jne 0x14001084b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d1f24
test eax, eax
jne 0x14001084b
movsxd rax, dword [rsp + 0x34]
jmp 0x14001084d
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x68
ret
Function at 0x140010a00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rsi, [0x140120b94]
mov rbx, rcx
test rcx, rcx
jne 0x140010a30
lea eax, [rcx + 0x16]
jmp 0x140010b98
mov qword [rsp + 0x70], rdi
call fcn.140010500
mov ecx, dword [rbx]
sub ecx, 1
je 0x140010a64
cmp ecx, 1
jne 0x140010a5a
cmp qword [rbx + 8], 0
je 0x140010a5a
xor edi, edi
mov qword [rbx + 0x20], rdi
mov eax, edi
jmp 0x140010b93
mov eax, 1
jmp 0x140010b93
mov rax, qword [rbx + 0x18]
test rax, rax
cmovne rsi, rax
cmp dword [rbx + 4], 2
je 0x140010a93
lea rdx, [0x140121198]
mov rcx, rsi
call fcn.1400d3810
test rax, rax
je 0x140010a93
mov eax, 0xd
jmp 0x140010b93
mov qword [rsp + 0x68], rbp
xor edi, edi
mov rbp, qword [rbx + 8]
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140010aec
bt eax, 0xa
jae 0x140010aec
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140010ad3
test al, 0x10
je 0x140010ad3
mov rcx, rbp
call fcn.1400d246c
jmp 0x140010adb
mov rcx, rbp
call fcn.1400b5fcc
test eax, eax
je 0x140010aec
mov rcx, rdi
mov eax, 0x1f
jmp 0x140010b8a
xorps xmm0, xmm0
lea rcx, [rsp + 0x28]
mov r9, 0xffffffffffffffff
mov r8, rsi
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
lea edx, [r9 + 0x21]
call fcn.1400b46b8
lea rdx, [0x140121198]
mov rcx, rsi
call fcn.1400d3810
test rax, rax
je 0x140010b6d
mov edx, 0x63
mov rcx, rsi
call fcn.1400a7330
test rax, rax
jne 0x140010b6d
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400cec38
cmp rax, 0x20
jne 0x140010b51
mov byte [rsp + 0x47], dil
jmp 0x140010b6d
mov r9, 0xffffffffffffffff
lea r8, [0x14012119c]
lea rcx, [rsp + 0x28]
lea edx, [r9 + 0x21]
call fcn.1400e59b8
lea r8, [rsp + 0x28]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.1400e5d88
mov rcx, qword [rsp + 0x20]
test rcx, rcx
cmovne eax, edi
mov rbp, qword [rsp + 0x68]
mov qword [rbx + 0x10], rcx
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a56b0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
Function at 0x140011010
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov r14, r8
mov r12, rdx
mov rdi, rcx
test rcx, rcx
je 0x14001110f
test rdx, rdx
je 0x14001110f
cmp dword [rcx + 4], 2
jne 0x14001110f
mov ecx, dword [rcx]
sub ecx, 1
je 0x1400110f6
cmp ecx, 1
jne 0x14001110f
mov rax, qword [rdi + 0x20]
mov rsi, qword [rdi + 8]
lea rbp, [rax + r8]
test rsi, rsi
je 0x14001107c
cmp qword [rdi + 0x10], rbp
jae 0x1400110cd
and rbp, 0xfffffffffffffe00
mov qword [rsp + 0x40], rbx
add rbp, 0x200
mov rcx, rsi
mov rdx, rbp
mov rbx, rsi
call fcn.1400ce204
test rbx, rbx
mov rsi, rax
mov rbx, qword [rsp + 0x40]
jne 0x1400110bc
test rax, rax
je 0x14001110f
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1400a7190
test rsi, rsi
je 0x14001110f
mov rax, qword [rdi + 0x20]
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rbp
lea rcx, [rsi + rax]
mov r8, r14
mov rdx, r12
call fcn.1400111f0
add qword [rdi + 0x20], r14
mov r15, r14
mov rcx, qword [rdi + 0x20]
cmp rcx, qword [rdi + 0x18]
cmovbe rcx, qword [rdi + 0x18]
mov qword [rdi + 0x18], rcx
jmp 0x14001110f
mov r9, qword [rdi + 0x10]
test r9, r9
je 0x14001110f
mov edx, 1
mov rcx, r12
call fcn.1400e76a0
mov r15, rax
mov rbp, qword [rsp + 0x48]
mov rax, r15
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140013800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor edi, edi
movsxd rbx, ecx
mov r14, r9
mov r15, r8
mov rsi, rdx
test rdx, rdx
je 0x14001383b
mov edx, 0x104
mov rcx, rsi
call fcn.1400cec38
mov rbp, rax
jmp 0x14001383d
mov ebp, edi
imul rbx, rbx, 0x38
lea r12, [0x1402127a0]
mov qword [rsp + 0x78], rbx
lea rax, [rbx + r12]
mov rcx, rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
cmp qword [rbx + r12 + 0x28], rdi
je 0x1400139ae
mov qword [rsp + 0x70], r13
call fcn.140005e30
mov qword [rsp + 0x28], r14
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rcx, qword [rax]
or rcx, 2
call fcn.1400ce0d4
test eax, eax
mov rcx, 0xffffffffffffffff
cmovs eax, ecx
movsxd r12, eax
add r12, 2
mov rcx, r12
lea r13d, [rax + 2]
call fcn.1400b45e8
mov rbx, rax
test rax, rax
je 0x1400139a9
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.1400a7190
mov r9, r15
mov qword [rsp + 0x20], r14
mov r8, 0xffffffffffffffff
mov rdx, r12
mov rcx, rbx
call fcn.140016bb0
mov r9d, eax
test r12, r12
je 0x1400138f5
cmp eax, 0xffffffff
jne 0x1400138f5
lea r9d, [r13 - 1]
mov rax, rbx
cmp byte [rbx], dil
je 0x14001391a
nop dword [rax]
cmp byte [rax + 1], dil
lea rcx, [rax + 1]
je 0x14001391a
cmp byte [rax], 0xa
jne 0x140013912
mov byte [rax], 9
mov rax, rcx
cmp byte [rcx], dil
jne 0x140013900
test rsi, rsi
je 0x14001396d
cmp r9d, ebp
jle 0x14001396d
lea edi, [r9 + rbp]
cmp edi, r13d
jge 0x14001396d
lfence
movsxd rax, ebp
mov r8, rsi
movsxd rcx, r9d
sub rcx, rax
add rcx, rbx
sub r8, rcx
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x140013955
inc rcx
test eax, eax
jne 0x140013942
test edx, edx
je 0x14001396d
lfence
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.140014e10
mov r9d, edi
mov rsi, qword [rsp + 0x78]
lea rbp, [0x1402127a0]
movsxd r8, r9d
mov edx, 1
mov rcx, rbx
mov r9, qword [rsi + rbp + 0x28]
call fcn.1400e76a0
cmp byte [rsi + rbp + 0x30], 0
mov edi, eax
je 0x1400139a1
mov rcx, qword [rsi + rbp + 0x28]
call fcn.1400e6904
mov rcx, rbx
call fcn.1400b45d4
mov r13, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140014b70
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rdi
sub rsp, 0x170
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rsp + 0x160], rax
xorps xmm0, xmm0
mov rdi, rcx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140014be3
bt eax, 0xa
jae 0x140014be3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140014bcd
test al, 0x10
je 0x140014bcd
mov rcx, rdi
call fcn.1400d246c
jmp 0x140014bd5
mov rcx, rdi
call fcn.1400b5fcc
test eax, eax
je 0x140014be3
mov eax, 0x1f
jmp 0x140014d57
mov rcx, rdi
mov qword [rsp + 0x188], rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140014c27
bt eax, 0xa
jae 0x140014c27
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140014c1b
test al, 0x10
je 0x140014c1b
mov rcx, rdi
call fcn.1400d246c
jmp 0x140014c23
mov rcx, rdi
call fcn.1400b5fcc
test eax, eax
jne 0x140014c3e
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400d1f24
mov ebx, eax
test eax, eax
je 0x140014d4d
test rdi, rdi
jne 0x140014c47
xor ebx, ebx
jmp 0x140014c57
mov edx, 0x104
mov rcx, rdi
call fcn.1400cec38
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.1400a7190
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.1400b46b8
lea rcx, [rbx - 2]
cmp rcx, 0x102
ja 0x140014cab
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x140014cab
dec rbx
cmp rbx, 0x104
jae 0x140014d70
mov byte [rsp + rbx + 0x50], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140014cef
bt eax, 0xa
jae 0x140014cef
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140014ce1
test al, 0x10
je 0x140014ce1
lea rcx, [rsp + 0x50]
call fcn.1400d246c
jmp 0x140014ceb
lea rcx, [rsp + 0x50]
call fcn.1400b5fcc
test eax, eax
jne 0x140014d04
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400d1f24
mov ebx, eax
test eax, eax
je 0x140014d4d
lea rcx, [rsp + 0x50]
call fcn.1400d21e8
mov ebx, eax
test eax, eax
je 0x140014d4d
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.1400a7898
mov rdi, rax
test rax, rax
je 0x140014d4d
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.140014b70
mov ebx, eax
test eax, eax
jne 0x140014d4d
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400d21e8
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x170
pop rdi
ret
call fcn.1400a5814
int3
Function at 0x14001e130
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x428
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rsp + 0x410], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.1400a7190
call fcn.140002160
mov qword [0x140212968], rax
test rax, rax
jne 0x14001e189
mov eax, 0x708
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x428
ret
xor r9d, r9d
mov qword [rsp + 0x420], rdi
mov edx, 0x80
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x390]
lea r8d, [r9 + 7]
call fcn.140014740
lea r8, [rsp + 0x30]
lea rdx, str.upe_.dll
lea rcx, [rsp + 0x390]
call fcn.14001fa80
mov rdi, rax
test rax, rax
je 0x14001e3a8
mov qword [rsp + 0x430], rbx
mov qword [rsp + 0x438], rsi
lea rsi, [0x140120918]
nop
mov ecx, 0x30
call fcn.1400b45e8
mov rbx, rax
test rax, rax
je 0x14001e37a
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
movups xmmword [rax], xmm0
mov edx, 0x2e
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
call fcn.1400a7330
test rax, rax
je 0x14001e24a
lea rcx, [rsp + 0x30]
mov byte [rax], 0
call fcn.1400d2580
mov qword [rbx + 0x18], rax
mov rdx, rbx
mov rcx, qword [0x140212968]
call fcn.140001f90
jmp 0x14001e252
mov rcx, rbx
call fcn.1400b45d4
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x140
call fcn.1400a7190
xor edx, edx
lea rcx, [rsp + 0x280]
mov r8d, 0x104
call fcn.1400a7190
nop dword [rax]
mov rcx, qword [rdi]
lea rdx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
jne 0x14001e353
lea rax, [rsp + 0x16c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rdi + 8]
lea r8, [0x14012091c]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x280]
call fcn.14001ff80
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e343
bt eax, 0xa
jae 0x14001e343
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e32e
bt eax, 0xa
jae 0x14001e32e
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e321
test al, 0x10
je 0x14001e321
lea rcx, [rsp + 0x280]
call fcn.1400d246c
jmp 0x14001e32e
lea rcx, [rsp + 0x280]
call fcn.1400b5fcc
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x140
call fcn.1400a7190
cmp byte [rsp + 0x16c], 0
je 0x14001e280
jmp 0x14001e357
test eax, eax
je 0x14001e37a
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x16c]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400b46b8
jmp 0x14001e1f0
mov rcx, qword [rdi]
mov rsi, qword [rsp + 0x438]
mov rbx, qword [rsp + 0x430]
cmp rcx, 0xffffffffffffffff
je 0x14001e3a0
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi], 0xffffffffffffffff
mov rcx, rdi
call fcn.1400b45d4
mov rdi, qword [rsp + 0x420]
xor eax, eax
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x428
ret
Function at 0x14001fa80
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x140
lea rcx, [rsp + 0x30]
call fcn.1400a7190
lea rbp, [0x140120918]
mov qword [rsp + 0x28], rbx
mov r9, rdi
mov qword [rsp + 0x20], rbp
lea r8, [0x14012091c]
mov ecx, 0x104
lea rdx, [rsp + 0x170]
call fcn.14001ff80
mov ecx, 0x110
call fcn.1400b45e8
mov rbx, rax
test rax, rax
je 0x14001fb0b
xor edx, edx
mov r8d, 0x110
mov rcx, rax
call fcn.1400a7190
test rbx, rbx
je 0x14001fc60
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14001fc37
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x5c]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x14012091c]
lea rdx, [rsp + 0x170]
mov qword [rsp + 0x20], rbp
mov ecx, 0x104
call fcn.14001ff80
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001fbe2
bt eax, 0xa
jae 0x14001fbe2
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001fbd0
bt eax, 0xa
jae 0x14001fbd0
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001fbc3
test al, 0x10
je 0x14001fbc3
lea rcx, [rsp + 0x170]
call fcn.1400d246c
jmp 0x14001fbd0
lea rcx, [rsp + 0x170]
call fcn.1400b5fcc
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x140
call fcn.1400a7190
cmp byte [rsp + 0x5c], 0
jne 0x14001fc06
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14001fb40
cmp byte [rsp + 0x5c], 0
je 0x14001fc3e
lea rcx, [rbx + 8]
mov r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
call fcn.1400b46b8
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov rcx, rsi
call fcn.1400b46b8
cmp byte [rsp + 0x5c], 0
jne 0x14001fc60
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x14001fc54
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.1400b45d4
xor eax, eax
jmp 0x14001fc63
mov rax, rbx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400a56b0
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002eeb0
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x140
lea rcx, [rsp + 0x30]
call fcn.1400a7190
lea rbp, [0x140120918]
mov qword [rsp + 0x28], rbx
mov r9, rdi
mov qword [rsp + 0x20], rbp
lea r8, [0x14012091c]
mov ecx, 0x104
lea rdx, [rsp + 0x170]
call fcn.14002f100
mov ecx, 0x110
call fcn.1400b45e8
mov rbx, rax
test rax, rax
je 0x14002ef3b
xor edx, edx
mov r8d, 0x110
mov rcx, rax
call fcn.1400a7190
test rbx, rbx
je 0x14002f090
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14002f067
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x5c]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x14012091c]
lea rdx, [rsp + 0x170]
mov qword [rsp + 0x20], rbp
mov ecx, 0x104
call fcn.14002f100
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002f012
bt eax, 0xa
jae 0x14002f012
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002f000
bt eax, 0xa
jae 0x14002f000
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002eff3
test al, 0x10
je 0x14002eff3
lea rcx, [rsp + 0x170]
call fcn.1400d246c
jmp 0x14002f000
lea rcx, [rsp + 0x170]
call fcn.1400b5fcc
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x140
call fcn.1400a7190
cmp byte [rsp + 0x5c], 0
jne 0x14002f036
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14002ef70
cmp byte [rsp + 0x5c], 0
je 0x14002f06e
lea rcx, [rbx + 8]
mov r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
call fcn.1400b46b8
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov rcx, rsi
call fcn.1400b46b8
cmp byte [rsp + 0x5c], 0
jne 0x14002f090
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x14002f084
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.1400b45d4
xor eax, eax
jmp 0x14002f093
mov rax, rbx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400a56b0
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret