joyce8/EMBER2024-capa huggingface dataset:
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.1400cf7a8
mov rbp, rax
jmp 0x14001383d
mov ebp, edi
imul rbx, rbx, 0x38
lea r12, [0x140213860]
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.1400cec44
test eax, eax
mov rcx, 0xffffffffffffffff
cmovs eax, ecx
movsxd r12, eax
add r12, 2
mov rcx, r12
lea r13d, [rax + 2]
call fcn.1400b5158
mov rbx, rax
test rax, rax
je 0x1400139a9
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.1400a7d00
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, [0x140213860]
movsxd r8, r9d
mov edx, 1
mov rcx, rbx
mov r9, qword [rsi + rbp + 0x28]
call fcn.1400e8210
cmp byte [rsi + rbp + 0x30], 0
mov edi, eax
je 0x1400139a1
mov rcx, qword [rsi + rbp + 0x28]
call fcn.1400e7474
mov rcx, rbx
call fcn.1400b5144
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 [0x140210ef8]
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.1400d2fdc
jmp 0x140014bd5
mov rcx, rdi
call fcn.1400b6b3c
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.1400d2fdc
jmp 0x140014c23
mov rcx, rdi
call fcn.1400b6b3c
test eax, eax
jne 0x140014c3e
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400d2a94
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.1400cf7a8
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.1400a7d00
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.1400b5228
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.1400d2fdc
jmp 0x140014ceb
lea rcx, [rsp + 0x50]
call fcn.1400b6b3c
test eax, eax
jne 0x140014d04
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400d2a94
mov ebx, eax
test eax, eax
je 0x140014d4d
lea rcx, [rsp + 0x50]
call fcn.1400d2d58
mov ebx, eax
test eax, eax
je 0x140014d4d
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.1400a8408
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.1400d2d58
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x170
pop rdi
ret
call fcn.1400a6384
int3
Function at 0x14001e130
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x428
mov rax, qword [0x140210ef8]
xor rax, rsp
mov qword [rsp + 0x410], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.1400a7d00
call fcn.140002160
mov qword [0x140213a28], rax
test rax, rax
jne 0x14001e189
mov eax, 0x708
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.1400a6220
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, [0x140120948]
nop
mov ecx, 0x30
call fcn.1400b5158
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.1400a7ea0
test rax, rax
je 0x14001e24a
lea rcx, [rsp + 0x30]
mov byte [rax], 0
call fcn.1400d30f0
mov qword [rbx + 0x18], rax
mov rdx, rbx
mov rcx, qword [0x140213a28]
call fcn.140001f90
jmp 0x14001e252
mov rcx, rbx
call fcn.1400b5144
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x140
call fcn.1400a7d00
xor edx, edx
lea rcx, [rsp + 0x280]
mov r8d, 0x104
call fcn.1400a7d00
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, [0x14012094c]
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.1400d2fdc
jmp 0x14001e32e
lea rcx, [rsp + 0x280]
call fcn.1400b6b3c
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x140
call fcn.1400a7d00
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.1400b5228
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.1400b5144
mov rdi, qword [rsp + 0x420]
xor eax, eax
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.1400a6220
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 [0x140210ef8]
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.1400a7d00
lea rbp, [0x140120948]
mov qword [rsp + 0x28], rbx
mov r9, rdi
mov qword [rsp + 0x20], rbp
lea r8, [0x14012094c]
mov ecx, 0x104
lea rdx, [rsp + 0x170]
call fcn.14001ff80
mov ecx, pe_nt_image_headers64
call fcn.1400b5158
mov rbx, rax
test rax, rax
je 0x14001fb0b
xor edx, edx
mov r8d, pe_nt_image_headers64
mov rcx, rax
call fcn.1400a7d00
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, [0x14012094c]
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.1400d2fdc
jmp 0x14001fbd0
lea rcx, [rsp + 0x170]
call fcn.1400b6b3c
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x140
call fcn.1400a7d00
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.1400b5228
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov rcx, rsi
call fcn.1400b5228
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.1400b5144
xor eax, eax
jmp 0x14001fc63
mov rax, rbx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400a6220
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 [0x140210ef8]
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.1400a7d00
lea rbp, [0x140120948]
mov qword [rsp + 0x28], rbx
mov r9, rdi
mov qword [rsp + 0x20], rbp
lea r8, [0x14012094c]
mov ecx, 0x104
lea rdx, [rsp + 0x170]
call fcn.14002f100
mov ecx, pe_nt_image_headers64
call fcn.1400b5158
mov rbx, rax
test rax, rax
je 0x14002ef3b
xor edx, edx
mov r8d, pe_nt_image_headers64
mov rcx, rax
call fcn.1400a7d00
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, [0x14012094c]
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.1400d2fdc
jmp 0x14002f000
lea rcx, [rsp + 0x170]
call fcn.1400b6b3c
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x140
call fcn.1400a7d00
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.1400b5228
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov rcx, rsi
call fcn.1400b5228
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.1400b5144
xor eax, eax
jmp 0x14002f093
mov rax, rbx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400a6220
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x140038280
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 [0x140210ef8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r8, rdx
mov rbx, rcx
test rdx, rdx
jne 0x14003830f
cmp dword [0x14020a150], 1
jl 0x140038491
test dword [0x14020a184], 0x200000
je 0x140038491
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], 0xac6
mov ecx, 0x200000
call fcn.140077c20
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x60
pop rbx
ret
mov eax, dword [rcx + 0x17c]
test eax, eax
je 0x140038491
mov qword [rsp + 0x58], rbp
xor ebp, ebp
test al, 8
jbe 0x140038352
cmp byte [rcx + 0x70], bpl
je 0x140038337
test byte [rcx + 0x180], 8
jne 0x140038352
lea rdx, [rsp + 0x80]
mov rcx, r8
call fcn.1400131f0
mov eax, dword [rbx + 0x17c]
mov r8, qword [rsp + 0x78]
test al, 4
jbe 0x140038389
cmp byte [rbx + 0x70], bpl
je 0x140038365
test byte [rbx + 0x180], 4
jne 0x140038389
lea r9, [rsp + 0x80]
mov ecx, 5
lea rdx, [0x1401298f8]
call fcn.140013800
mov eax, dword [rbx + 0x17c]
mov r8, qword [rsp + 0x78]
mov qword [rsp + 0x48], rdi
test al, 2
jbe 0x14003840a
cmp byte [rbx + 0x70], bpl
je 0x1400383a1
test byte [rbx + 0x180], 2
jne 0x14003840a
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x50], rsi
mov rcx, r8
call fcn.14003d4c0
inc eax
movsxd rsi, eax
mov rcx, rsi
call fcn.14003d510
mov rdi, rax
test rax, rax
je 0x140038400
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.140016bb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rdi
call fcn.1400b5144
mov r8, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x50]
test byte [rbx + 0x17c], 1
jbe 0x140038487
cmp byte [rbx + 0x70], bpl
je 0x140038422
test byte [rbx + 0x180], 1
jne 0x140038487
lea rdx, [rsp + 0x80]
mov rcx, r8
call fcn.14003d4c0
inc eax
movsxd rdi, eax
mov rcx, rdi
call fcn.14003d510
mov rbx, rax
test rax, rax
je 0x140038487
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.140016bb0
mov r8, rbx
lea rdx, [0x140127afc]
mov ecx, 3
call fcn.14009d1b0
mov rcx, rbx
call fcn.1400b5144
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x60
pop rbx
ret
Function at 0x14003bc70
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 rsi, rcx
xor ebp, ebp
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rcx, qword [rsi + 8]
call fcn.140002400
test eax, eax
lea rcx, [rsi + 0x10]
setne bl
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bl, bl
je 0x14003bd9a
cmp byte [rsi + 0x71], bpl
jne 0x14003bd50
mov word [rsi + 0x71], 1
cmp byte [rsi + 0x73], bpl
jne 0x14003bcd3
mov dword [rsi + 0x180], ebp
mov byte [rsi + 0x70], 1
lea rcx, [rsi + 0x38]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
xor r9d, r9d
mov qword [rsi + 0x40], rbp
xor edx, edx
mov dword [rsi + 0x48], ebp
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov ecx, 0x10
mov dword [rsi + 0x50], ebp
mov qword [rsi + 0x58], rax
mov byte [rsi + 0x4c], bpl
call fcn.1400b5158
mov rbx, rax
test rax, rax
je 0x14003bd50
lea rax, [0x14003af10]
mov qword [rsp + 0x28], rbp
mov r9, rbx
mov qword [rbx], rax
lea r8, [0x14003e240]
mov qword [rbx + 8], rsi
xor edx, edx
mov dword [rsp + 0x20], ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x30], rax
test rax, rax
jne 0x14003bd50
mov rcx, rbx
call fcn.1400b5144
cmp dword [0x14020a150], 3
jl 0x14003bd96
test dword [0x14020a1b4], 0x200000
je 0x14003bd96
lea rcx, str.Participant_logging_started
mov edx, 3
mov qword [rsp + 0x28], rcx
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_loggingmgr.c
mov ecx, 0x200000
mov dword [rsp + 0x20], 0x47e
lea r8, str.EsifLogMgr_StartLoggingIfRequired
call fcn.140077c20
mov eax, ebp
jmp 0x14003bde5
cmp dword [0x14020a150], 1
jl 0x14003bde0
test dword [0x14020a184], 0x200000
je 0x14003bde0
lea rax, str.Error_:_No_Data_to_Log
mov edx, 1
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_loggingmgr.c
lea r8, str.EsifLogMgr_StartLoggingIfRequired
mov dword [rsp + 0x20], 0x479
mov ecx, 0x200000
call fcn.140077c20
mov eax, 0x3ea
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14003e270
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov eax, dword [0x140200a70]
xor edi, edi
cmp ecx, 0x1f4
cmovge eax, ecx
xor bl, bl
mov dword [0x140200a70], eax
nop dword [rax + rax]
lea rcx, [0x1402150d8]
call fcn.140041430
movzx ecx, bl
call fcn.14003f750
mov rsi, rax
nop word [rax + rax]
mov eax, 1
xchg qword [0x1402150e0], rax
cmp rax, 1
je 0x14003e2c0
add dword [0x1402150e8], 0xffffffff
mov rax, rdi
xchg qword [0x1402150e0], rax
jne 0x14003e2f2
lea rcx, [0x1402150d8]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
test rsi, rsi
je 0x14003e307
mov rcx, rsi
call fcn.140071d20
mov rcx, rsi
call fcn.1400716a0
inc bl
cmp bl, 0x20
jb 0x14003e2a0
mov rax, rdi
lock xadd qword [0x140200a68], rax
test al, al
je 0x14003e38b
mov ecx, 0x10
call fcn.1400b5158
mov rbx, rax
test rax, rax
jne 0x14003e347
mov edi, 0x708
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rax, [0x14003e4c0]
mov qword [rsp + 0x28], rdi
mov r9, rbx
mov qword [rbx], rax
lea r8, [0x140041f60]
mov qword [rbx + 8], rdi
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1402150f0], rax
test rax, rax
jne 0x14003e38b
mov rcx, rbx
call fcn.1400b5144
mov edi, 0x3eb
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400635c0
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 [0x140210ef8]
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.1400a7d00
lea rbp, [0x140120948]
mov qword [rsp + 0x28], rbx
mov r9, rdi
mov qword [rsp + 0x20], rbp
lea r8, [0x14012094c]
mov ecx, 0x104
lea rdx, [rsp + 0x170]
call fcn.140063cf0
mov ecx, pe_nt_image_headers64
call fcn.1400b5158
mov rbx, rax
test rax, rax
je 0x14006364b
xor edx, edx
mov r8d, pe_nt_image_headers64
mov rcx, rax
call fcn.1400a7d00
test rbx, rbx
je 0x1400637a0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x140063777
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x5c]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x14012094c]
lea rdx, [rsp + 0x170]
mov qword [rsp + 0x20], rbp
mov ecx, 0x104
call fcn.140063cf0
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140063722
bt eax, 0xa
jae 0x140063722
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140063710
bt eax, 0xa
jae 0x140063710
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140063703
test al, 0x10
je 0x140063703
lea rcx, [rsp + 0x170]
call fcn.1400d2fdc
jmp 0x140063710
lea rcx, [rsp + 0x170]
call fcn.1400b6b3c
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x140
call fcn.1400a7d00
cmp byte [rsp + 0x5c], 0
jne 0x140063746
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x140063680
cmp byte [rsp + 0x5c], 0
je 0x14006377e
lea rcx, [rbx + 8]
mov r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
call fcn.1400b5228
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov rcx, rsi
call fcn.1400b5228
cmp byte [rsp + 0x5c], 0
jne 0x1400637a0
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x140063794
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.1400b5144
xor eax, eax
jmp 0x1400637a3
mov rax, rbx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400a6220
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400637d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x140210ef8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, r8
mov rbx, rcx
mov r8d, 0x140
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.1400a7d00
test rbx, rbx
je 0x14006390f
xor edx, edx
lea rcx, [rsp + 0x170]
mov r8d, 0x104
call fcn.1400a7d00
lea rsi, [0x140120948]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
jne 0x140063937
lea rax, [rsp + 0x5c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbx + 8]
lea r8, [0x14012094c]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x170]
call fcn.140063cf0
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400638eb
bt eax, 0xa
jae 0x1400638eb
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400638d9
bt eax, 0xa
jae 0x1400638d9
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400638cc
test al, 0x10
je 0x1400638cc
lea rcx, [rsp + 0x170]
call fcn.1400d2fdc
jmp 0x1400638d9
lea rcx, [rsp + 0x170]
call fcn.1400b6b3c
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x140
call fcn.1400a7d00
cmp byte [rsp + 0x5c], 0
je 0x140063831
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov rcx, rdi
call fcn.1400b5228
mov rax, rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400a6220
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test eax, eax
jne 0x1400638f6
xor eax, eax
jmp 0x140063912

Function at 0x140063940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140210ef8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140063998
bt eax, 0xa
jae 0x140063998
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140063985
test al, 0x10
je 0x140063985
mov rcx, rbx
call fcn.1400d2fdc
jmp 0x14006398d
mov rcx, rbx
call fcn.1400b6b3c
test eax, eax
je 0x140063998
mov ecx, 0x1f
jmp 0x1400639a7
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d2a94
mov ecx, eax
xor eax, eax
test ecx, ecx
sete al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x60
pop rbx
ret