joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007b10
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x68]
sub rsp, 0x158
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, rcx
test rcx, rcx
je 0x140007ce8
mov rcx, qword [rcx + 0x108]
test rcx, rcx
je 0x140007ce8
mov qword [r11 + 0x10], rsi
mov qword [r11 - 0x18], r14
call fcn.14000fcc0
xorps xmm0, xmm0
lea rdx, [rbp - 0x60]
mov r14, rax
mov rcx, rbx
xor eax, eax
mov dword [rbp + 0x30], eax
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
movups xmmword [rbp + 0x20], xmm0
call fcn.140007730
mov esi, eax
test eax, eax
jne 0x140007cc2
mov eax, dword [rbp - 0x5c]
and eax, 0xff000000
cmp eax, 0x2000000
jne 0x140007cc2
mov ecx, 0x1000
mov qword [rsp + 0x180], rdi
call fcn.14000c080
mov rdi, rax
test rax, rax
jne 0x140007bd3
mov esi, 0x708
jmp 0x140007cba
mov rcx, qword [rbx + 0x108]
xorps xmm0, xmm0
xor eax, eax
mov dword [rsp + 0x20], 0x40200100
mov r8d, 0x1000
mov dword [rbp - 0x6c], eax
mov rdx, rdi
mov dword [rsp + 0x24], 0x6a09e667
movups xmmword [rsp + 0x44], xmm0
mov dword [rsp + 0x28], 0xbb67ae85
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x2c], 0x3c6ef372
movups xmmword [rsp + 0x64], xmm0
mov dword [rsp + 0x30], 0xa54ff53a
movups xmmword [rsp + 0x74], xmm0
mov dword [rsp + 0x34], 0x510e527f
movups xmmword [rbp - 0x7c], xmm0
mov dword [rsp + 0x38], 0x9b05688c
mov dword [rsp + 0x3c], 0x1f83d9ab
mov dword [rsp + 0x40], 0x5be0cd19
call fcn.1400101b0
test rax, rax
je 0x140007c8a
lfence
nop dword [rax + rax]
mov r8, rax
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14000d1d0
mov rcx, qword [rbx + 0x108]
mov r8d, 0x1000
mov rdx, rdi
call fcn.1400101b0
test rax, rax
jne 0x140007c60
lea rcx, [rsp + 0x20]
call fcn.14000cf00
mov r8d, 0x20
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x24]
call fcn.1400ad3b0
test eax, eax
mov ecx, 0xbbd
cmovne esi, ecx
mov rcx, rdi
call fcn.1400bae44
mov rdi, qword [rsp + 0x180]
mov rcx, qword [rbx + 0x108]
xor r8d, r8d
mov rdx, r14
call fcn.140010370
mov r14, qword [rsp + 0x150]
mov eax, esi
mov rsi, qword [rsp + 0x178]
jmp 0x140007ced
mov eax, 0x8fc
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400ab870
add rsp, 0x158
pop rbx
pop rbp
ret
Function at 0x14000bff0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000c048
bt eax, 0xa
jae 0x14000c048
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000c035
test al, 0x10
je 0x14000c035
mov rcx, rbx
call fcn.1400d89e4
jmp 0x14000c03d
mov rcx, rbx
call fcn.1400bd7ac
test eax, eax
je 0x14000c048
mov ecx, 0x1f
jmp 0x14000c057
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d849c
mov ecx, eax
xor eax, eax
test ecx, ecx
sete al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ab870
add rsp, 0x60
pop rbx
ret
Function at 0x14000d0f0
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
test rcx, rcx
je 0x14000d195
xorps xmm0, xmm0
movzx edx, dx
movups xmmword [rcx], xmm0
xor eax, eax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rax
sub edx, 1
je 0x14000d16c
cmp edx, 0xff
jne 0x14000d195
mov dword [rcx], 0x40200100
mov dword [rcx + 4], 0x6a09e667
mov dword [rcx + 8], 0xbb67ae85
mov dword [rcx + 0xc], 0x3c6ef372
mov dword [rcx + 0x10], 0xa54ff53a
mov dword [rcx + 0x14], 0x510e527f
mov dword [rcx + 0x18], 0x9b05688c
mov dword [rcx + 0x1c], 0x1f83d9ab
mov dword [rcx + 0x20], 0x5be0cd19
ret
mov dword [rcx], 0x40140001
mov dword [rcx + 4], 0x67452301
mov dword [rcx + 8], 0xefcdab89
mov dword [rcx + 0xc], 0x98badcfe
mov dword [rcx + 0x10], 0x10325476
mov dword [rcx + 0x14], 0xc3d2e1f0
ret
Function at 0x14000fd00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x14000fd3a
mov edx, dword [rcx]
sub edx, 1
je 0x14000fd4e
cmp edx, 1
jne 0x14000fd3a
mov rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ab870
add rsp, 0x68
ret
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ab870
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 0x14000fd93
bt eax, 0xa
jae 0x14000fd93
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000fd87
test al, 0x10
je 0x14000fd87
mov rcx, rbx
call fcn.1400d89e4
jmp 0x14000fd8f
mov rcx, rbx
call fcn.1400bd7ac
test eax, eax
jne 0x14000fdab
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d849c
test eax, eax
jne 0x14000fdab
movsxd rax, dword [rsp + 0x34]
jmp 0x14000fdad
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ab870
add rsp, 0x68
ret
Function at 0x14000ff60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rsi, [0x140127a14]
mov rbx, rcx
test rcx, rcx
jne 0x14000ff90
lea eax, [rcx + 0x16]
jmp 0x1400100f8
mov qword [rsp + 0x70], rdi
call fcn.14000fa30
mov ecx, dword [rbx]
sub ecx, 1
je 0x14000ffc4
cmp ecx, 1
jne 0x14000ffba
cmp qword [rbx + 8], 0
je 0x14000ffba
xor edi, edi
mov qword [rbx + 0x20], rdi
mov eax, edi
jmp 0x1400100f3
mov eax, 1
jmp 0x1400100f3
mov rax, qword [rbx + 0x18]
test rax, rax
cmovne rsi, rax
cmp dword [rbx + 4], 2
je 0x14000fff3
lea rdx, [0x140128018]
mov rcx, rsi
call fcn.1400d9d90
test rax, rax
je 0x14000fff3
mov eax, 0xd
jmp 0x1400100f3
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 0x14001004c
bt eax, 0xa
jae 0x14001004c
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140010033
test al, 0x10
je 0x140010033
mov rcx, rbp
call fcn.1400d89e4
jmp 0x14001003b
mov rcx, rbp
call fcn.1400bd7ac
test eax, eax
je 0x14001004c
mov rcx, rdi
mov eax, 0x1f
jmp 0x1400100ea
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.1400baf28
lea rdx, [0x140128018]
mov rcx, rsi
call fcn.1400d9d90
test rax, rax
je 0x1400100cd
mov edx, 0x63
mov rcx, rsi
call fcn.1400ad320
test rax, rax
jne 0x1400100cd
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400d5428
cmp rax, 0x20
jne 0x1400100b1
mov byte [rsp + 0x47], dil
jmp 0x1400100cd
mov r9, 0xffffffffffffffff
lea r8, [0x14012801c]
lea rcx, [rsp + 0x28]
lea edx, [r9 + 0x21]
call fcn.1400ebfb4
lea r8, [rsp + 0x28]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.1400ec384
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.1400ab870
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
Function at 0x140010570
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 0x14001066f
test rdx, rdx
je 0x14001066f
cmp dword [rcx + 4], 2
jne 0x14001066f
mov ecx, dword [rcx]
sub ecx, 1
je 0x140010656
cmp ecx, 1
jne 0x14001066f
mov rax, qword [rdi + 0x20]
mov rsi, qword [rdi + 8]
lea rbp, [rax + r8]
test rsi, rsi
je 0x1400105dc
cmp qword [rdi + 0x10], rbp
jae 0x14001062d
and rbp, 0xfffffffffffffe00
mov qword [rsp + 0x40], rbx
add rbp, 0x200
mov rcx, rsi
mov rdx, rbp
mov rbx, rsi
call fcn.1400d49f4
test rbx, rbx
mov rsi, rax
mov rbx, qword [rsp + 0x40]
jne 0x14001061c
test rax, rax
je 0x14001066f
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1400ad180
test rsi, rsi
je 0x14001066f
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.140010750
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 0x14001066f
mov r9, qword [rdi + 0x10]
test r9, r9
je 0x14001066f
mov edx, 1
mov rcx, r12
call fcn.1400edc6c
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 0x140012d70
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 0x140012dab
mov edx, 0x104
mov rcx, rsi
call fcn.1400d5428
mov rbp, rax
jmp 0x140012dad
mov ebp, edi
imul rbx, rbx, 0x38
lea r12, [0x140217950]
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 0x140012f1c
mov qword [rsp + 0x70], r13
call fcn.1400053a0
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.1400d48c4
test eax, eax
mov rcx, 0xffffffffffffffff
cmovs eax, ecx
movsxd r12, eax
add r12, 2
mov rcx, r12
lea r13d, [rax + 2]
call fcn.1400bae58
mov rbx, rax
test rax, rax
je 0x140012f17
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.1400ad180
mov r9, r15
mov qword [rsp + 0x20], r14
mov r8, 0xffffffffffffffff
mov rdx, r12
mov rcx, rbx
call fcn.140016120
mov r9d, eax
test r12, r12
je 0x140012e65
cmp eax, 0xffffffff
jne 0x140012e65
lea r9d, [r13 - 1]
mov rax, rbx
cmp byte [rbx], dil
je 0x140012e83
nop dword [rax]
cmp byte [rax + 1], dil
je 0x140012e83
cmp byte [rax], 0xa
jne 0x140012e7e
mov byte [rax], 9
inc rax
jmp 0x140012e70
test rsi, rsi
je 0x140012edb
cmp r9d, ebp
jle 0x140012edb
lea edi, [r9 + rbp]
cmp edi, r13d
jge 0x140012edb
lfence
movsxd rcx, ebp
mov r8, rsi
movsxd rax, r9d
sub rax, rcx
add rax, rbx
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140012ec3
inc rax
test ecx, ecx
jne 0x140012eb0
test edx, edx
je 0x140012edb
lfence
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.140014380
mov r9d, edi
mov rsi, qword [rsp + 0x78]
lea rbp, [0x140217950]
movsxd r8, r9d
mov edx, 1
mov rcx, rbx
mov r9, qword [rsi + rbp + 0x28]
call fcn.1400edc6c
cmp byte [rsi + rbp + 0x30], 0
mov edi, eax
je 0x140012f0f
mov rcx, qword [rsi + rbp + 0x28]
call fcn.1400eced0
mov rcx, rbx
call fcn.1400bae44
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 0x1400140e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rdi
sub rsp, 0x170
mov rax, qword [0x140214ec8]
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 0x140014153
bt eax, 0xa
jae 0x140014153
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001413d
test al, 0x10
je 0x14001413d
mov rcx, rdi
call fcn.1400d89e4
jmp 0x140014145
mov rcx, rdi
call fcn.1400bd7ac
test eax, eax
je 0x140014153
mov eax, 0x1f
jmp 0x1400142c7
mov rcx, rdi
mov qword [rsp + 0x188], rbx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140014197
bt eax, 0xa
jae 0x140014197
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001418b
test al, 0x10
je 0x14001418b
mov rcx, rdi
call fcn.1400d89e4
jmp 0x140014193
mov rcx, rdi
call fcn.1400bd7ac
test eax, eax
jne 0x1400141ae
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400d849c
mov ebx, eax
test eax, eax
je 0x1400142bd
test rdi, rdi
jne 0x1400141b7
xor ebx, ebx
jmp 0x1400141c7
mov edx, 0x104
mov rcx, rdi
call fcn.1400d5428
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.1400ad180
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.1400baf28
lea rcx, [rbx - 2]
cmp rcx, 0x102
ja 0x14001421b
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x14001421b
dec rbx
cmp rbx, 0x104
jae 0x1400142e0
mov byte [rsp + rbx + 0x50], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001425f
bt eax, 0xa
jae 0x14001425f
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140014251
test al, 0x10
je 0x140014251
lea rcx, [rsp + 0x50]
call fcn.1400d89e4
jmp 0x14001425b
lea rcx, [rsp + 0x50]
call fcn.1400bd7ac
test eax, eax
jne 0x140014274
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400d849c
mov ebx, eax
test eax, eax
je 0x1400142bd
lea rcx, [rsp + 0x50]
call fcn.1400d8760
mov ebx, eax
test eax, eax
je 0x1400142bd
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.1400ad888
mov rdi, rax
test rax, rax
je 0x1400142bd
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.1400140e0
mov ebx, eax
test eax, eax
jne 0x1400142bd
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400d8760
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400ab870
add rsp, 0x170
pop rdi
ret
call fcn.1400ab9d4
int3
Function at 0x14001d9a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x428
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rsp + 0x410], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.1400ad180
call fcn.140002150
mov qword [0x140217b10], rax
test rax, rax
jne 0x14001d9f9
mov eax, 0x708
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.1400ab870
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.140013cb0
lea r8, [rsp + 0x30]
lea rdx, str.upe_.dll
lea rcx, [rsp + 0x390]
call fcn.14001f300
mov rdi, rax
test rax, rax
je 0x14001dc18
mov qword [rsp + 0x430], rbx
mov qword [rsp + 0x438], rsi
lea rsi, [0x14012779c]
nop
mov ecx, 0x30
call fcn.1400bae58
mov rbx, rax
test rax, rax
je 0x14001dbea
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.1400ad320
test rax, rax
je 0x14001daba
lea rcx, [rsp + 0x30]
mov byte [rax], 0
call fcn.1400d8af8
mov qword [rbx + 0x18], rax
mov rdx, rbx
mov rcx, qword [0x140217b10]
call fcn.140001fa0
jmp 0x14001dac2
mov rcx, rbx
call fcn.1400bae44
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x140
call fcn.1400ad180
xor edx, edx
lea rcx, [rsp + 0x280]
mov r8d, 0x104
call fcn.1400ad180
nop dword [rax]
mov rcx, qword [rdi]
lea rdx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
cmp eax, 1
jne 0x14001dbc3
lea rax, [rsp + 0x16c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rdi + 8]
lea r8, [0x1401277a0]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x280]
call fcn.14001f800
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001dbb3
bt eax, 0xa
jae 0x14001dbb3
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001db9e
bt eax, 0xa
jae 0x14001db9e
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001db91
test al, 0x10
je 0x14001db91
lea rcx, [rsp + 0x280]
call fcn.1400d89e4
jmp 0x14001db9e
lea rcx, [rsp + 0x280]
call fcn.1400bd7ac
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x140
call fcn.1400ad180
cmp byte [rsp + 0x16c], 0
je 0x14001daf0
jmp 0x14001dbc7
test eax, eax
je 0x14001dbea
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x16c]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400baf28
jmp 0x14001da60
mov rcx, qword [rdi]
mov rsi, qword [rsp + 0x438]
mov rbx, qword [rsp + 0x430]
cmp rcx, 0xffffffffffffffff
je 0x14001dc10
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rdi], 0xffffffffffffffff
mov rcx, rdi
call fcn.1400bae44
mov rdi, qword [rsp + 0x420]
xor eax, eax
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.1400ab870
add rsp, 0x428
ret
Function at 0x14001f300
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 [0x140214ec8]
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.1400ad180
lea rbp, [0x14012779c]
mov qword [rsp + 0x28], rbx
mov r9, rdi
mov qword [rsp + 0x20], rbp
lea r8, [0x1401277a0]
mov ecx, 0x104
lea rdx, [rsp + 0x170]
call fcn.14001f800
mov ecx, 0x110
call fcn.1400bae58
mov rbx, rax
test rax, rax
je 0x14001f38b
xor edx, edx
mov r8d, 0x110
mov rcx, rax
call fcn.1400ad180
test rbx, rbx
je 0x14001f4e0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14001f4b7
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x5c]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x1401277a0]
lea rdx, [rsp + 0x170]
mov qword [rsp + 0x20], rbp
mov ecx, 0x104
call fcn.14001f800
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001f462
bt eax, 0xa
jae 0x14001f462
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001f450
bt eax, 0xa
jae 0x14001f450
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001f443
test al, 0x10
je 0x14001f443
lea rcx, [rsp + 0x170]
call fcn.1400d89e4
jmp 0x14001f450
lea rcx, [rsp + 0x170]
call fcn.1400bd7ac
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x140
call fcn.1400ad180
cmp byte [rsp + 0x5c], 0
jne 0x14001f486
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
je 0x14001f3c0
cmp byte [rsp + 0x5c], 0
je 0x14001f4be
lea rcx, [rbx + 8]
mov r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
call fcn.1400baf28
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov rcx, rsi
call fcn.1400baf28
cmp byte [rsp + 0x5c], 0
jne 0x14001f4e0
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x14001f4d4
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.1400bae44
xor eax, eax
jmp 0x14001f4e3
mov rax, rbx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400ab870
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002e7b0
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 [0x140214ec8]
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.1400ad180
lea rbp, [0x14012779c]
mov qword [rsp + 0x28], rbx
mov r9, rdi
mov qword [rsp + 0x20], rbp
lea r8, [0x1401277a0]
mov ecx, 0x104
lea rdx, [rsp + 0x170]
call fcn.14002ea00
mov ecx, 0x110
call fcn.1400bae58
mov rbx, rax
test rax, rax
je 0x14002e83b
xor edx, edx
mov r8d, 0x110
mov rcx, rax
call fcn.1400ad180
test rbx, rbx
je 0x14002e990
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14002e967
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x5c]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x1401277a0]
lea rdx, [rsp + 0x170]
mov qword [rsp + 0x20], rbp
mov ecx, 0x104
call fcn.14002ea00
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002e912
bt eax, 0xa
jae 0x14002e912
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002e900
bt eax, 0xa
jae 0x14002e900
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002e8f3
test al, 0x10
je 0x14002e8f3
lea rcx, [rsp + 0x170]
call fcn.1400d89e4
jmp 0x14002e900
lea rcx, [rsp + 0x170]
call fcn.1400bd7ac
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x140
call fcn.1400ad180
cmp byte [rsp + 0x5c], 0
jne 0x14002e936
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
je 0x14002e870
cmp byte [rsp + 0x5c], 0
je 0x14002e96e
lea rcx, [rbx + 8]
mov r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
call fcn.1400baf28
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov rcx, rsi
call fcn.1400baf28
cmp byte [rsp + 0x5c], 0
jne 0x14002e990
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x14002e984
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.1400bae44
xor eax, eax
jmp 0x14002e993
mov rax, rbx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400ab870
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x140037d00
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x60
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r8, rdx
mov rbx, rcx
test rdx, rdx
jne 0x140037d8f
cmp dword [0x14020e430], 1
jl 0x140037f11
test dword [0x14020e464], 0x200000
je 0x140037f11
lea rax, str.logstring_is_NULL
mov edx, 1
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_loggingmgr.c
lea r8, str.EsifLogMgr_DataLogWrite
mov dword [rsp + 0x20], 0xade
mov ecx, 0x200000
call fcn.140078130
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ab870
add rsp, 0x60
pop rbx
ret
mov eax, dword [rcx + 0x17c]
test eax, eax
je 0x140037f11
mov qword [rsp + 0x58], rbp
xor ebp, ebp
test al, 8
jbe 0x140037dd2
cmp byte [rcx + 0x70], bpl
je 0x140037db7
test byte [rcx + 0x180], 8
jne 0x140037dd2
lea rdx, [rsp + 0x80]
mov rcx, r8
call fcn.140012760
mov eax, dword [rbx + 0x17c]
mov r8, qword [rsp + 0x78]
test al, 4
jbe 0x140037e09
cmp byte [rbx + 0x70], bpl
je 0x140037de5
test byte [rbx + 0x180], 4
jne 0x140037e09
lea r9, [rsp + 0x80]
mov ecx, 5
lea rdx, [0x140130b38]
call fcn.140012d70
mov eax, dword [rbx + 0x17c]
mov r8, qword [rsp + 0x78]
mov qword [rsp + 0x48], rdi
test al, 2
jbe 0x140037e8a
cmp byte [rbx + 0x70], bpl
je 0x140037e21
test byte [rbx + 0x180], 2
jne 0x140037e8a
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x50], rsi
mov rcx, r8
call fcn.14003cf90
inc eax
movsxd rsi, eax
mov rcx, rsi
call fcn.14003cfe0
mov rdi, rax
test rax, rax
je 0x140037e80
mov r9, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call fcn.140016120
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov rcx, rdi
call fcn.1400bae44
mov r8, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x50]
test byte [rbx + 0x17c], 1
jbe 0x140037f07
cmp byte [rbx + 0x70], bpl
je 0x140037ea2
test byte [rbx + 0x180], 1
jne 0x140037f07
lea rdx, [rsp + 0x80]
mov rcx, r8
call fcn.14003cf90
inc eax
movsxd rdi, eax
mov rcx, rdi
call fcn.14003cfe0
mov rbx, rax
test rax, rax
je 0x140037f07
mov r9, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call fcn.140016120
mov r8, rbx
lea rdx, [0x14012ed4c]
mov ecx, 3
call fcn.1400a27c0
mov rcx, rbx
call fcn.1400bae44
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ab870
add rsp, 0x60
pop rbx
ret