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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov ecx, 0x24
call fcn.140096ad4
xor ebp, ebp
mov rdi, rax
test rax, rax
je 0x1400015e1
xor eax, eax
lea edx, [rbp + 1]
mov qword [rdi], rax
xor r9d, r9d
mov qword [rdi + 8], rax
xor r8d, r8d
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x20], eax
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 8], rdi
mov qword [rdi + 0x10], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rdi], rax
test rax, rax
jne 0x140001542
mov ebx, 0x3f0
jmp 0x1400015e6
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rdx, qword [rdi]
mov r9, rsi
mov dword [rsp + 0x30], ebp
mov r8, rax
mov rcx, rax
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 2
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_DuplicateHandle]
test eax, eax
jne 0x140001575
mov ebx, 0x3f0
jmp 0x1400015e6
mov ecx, 0x10
mov qword [rsp + 0x50], r14
mov ebx, ebp
call fcn.140096ad4
mov r14, rax
test rax, rax
je 0x1400015d1
lea rax, [0x1400017b0]
mov qword [rsp + 0x28], rbp
mov r9, r14
mov qword [r14], rax
lea r8, [0x140001df0]
mov qword [r14 + 8], rdi
xor edx, edx
mov dword [rsp + 0x20], ebp
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 8], rax
test rax, rax
jne 0x1400015d6
mov rcx, r14
call fcn.140096ac0
mov ebx, 0x3eb
jmp 0x1400015d6
mov ebx, 0x708
mov r14, qword [rsp + 0x50]
test ebx, ebx
jne 0x1400015e6
jmp 0x14000162e
mov ebx, 0x708
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400015f6
mov dword [rax + 0x20], 1
mov rcx, qword [rsi]
test rcx, rcx
je 0x140001610
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rsi], rbp
test rdi, rdi
je 0x14000162e
mov rcx, qword [rdi]
test rcx, rcx
je 0x140001626
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rdi], rbp
mov rcx, rdi
call fcn.140096ac0
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140003780
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
test r8d, r8d
je 0x1400037c6
mov r9, rdx
mov r10d, edi
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
xor eax, ebx
imul ebx, eax, 0x1000193
sub r10, 1
jne 0x1400037b0
mov r8d, dword [0x1401b83f0]
cmp r8d, 4
jl 0x140003816
test byte [0x1401b846c], 1
je 0x140003816
mov edx, 4
mov dword [rsp + 0x30], ebx
lea rax, str.Hash__08x_n
mov qword [rsp + 0x28], rax
lea r9, str.........ESIF_CMSourcesesif_hash_table.c
lea r8, str.esif_compute_hash
mov dword [rsp + 0x20], 0xa1
lea ecx, [rdx - 3]
call fcn.140067120
mov r8d, dword [0x1401b83f0]
xor edx, edx
mov eax, ebx
div dword [rbp]
mov rax, qword [rbp + 8]
mov rbx, qword [rax + rdx*8]
cmp r8d, 4
jl 0x14000387a
test byte [0x1401b846c], 1
je 0x14000387a
mov qword [rsp + 0x50], rbx
lea rax, str.Key__p__key_size__d__table__p_index__d_ll__p_n
mov dword [rsp + 0x48], edx
lea r9, str.........ESIF_CMSourcesesif_hash_table.c
mov qword [rsp + 0x40], rbp
lea r8, str.esif_ht_get_ll
mov dword [rsp + 0x38], edi
mov edx, 4
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xf3
lea ecx, [rdx - 3]
call fcn.140067120
mov rbp, qword [rsp + 0x78]
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140005360
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1401b89e8]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor eax, eax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rdi, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call fcn.1400b2ef8
mov ebx, eax
test eax, eax
je 0x14000546c
test rdi, rdi
jne 0x1400053bf
xor ebx, ebx
jmp 0x1400053cf
mov edx, 0x104
mov rcx, rdi
call fcn.1400b0240
mov rbx, rax
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.140096ba0
lea rcx, [rbx - 1]
cmp rcx, 0x103
ja 0x14000540e
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x14000540e
dec rbx
cmp rbx, 0x104
jae 0x14000548f
mov byte [rsp + rbx + 0x50], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400b2ef8
mov ebx, eax
test eax, eax
je 0x14000546c
lea rcx, [rsp + 0x50]
call fcn.1400b2f70
mov ebx, eax
test eax, eax
je 0x14000546c
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.14008b708
mov rdi, rax
test rax, rax
je 0x14000546c
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.140005360
mov ebx, eax
test eax, eax
jne 0x14000546c
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400b2f70
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400897c0
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
call fcn.140089484
int3
Function at 0x14000b400
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x190
mov rax, qword [0x1401b89e8]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rdx
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x140
call fcn.14008b040
movups xmm0, xmmword [rbp + 4]
mov esi, dword [rbp + 0x14]
lea r9, [rsp + 0x40]
xor edi, edi
lea rdx, [rbx + 2]
movups xmmword [rsp + 0x20], xmm0
sub r9, rbx
lea r8d, [rdi + 0x10]
nop dword [rax]
movzx ecx, byte [rdx - 2]
movzx eax, byte [rdx - 1]
lea rdx, [rdx + 4]
shl eax, 0x10
shl ecx, 0x18
add ecx, eax
movzx eax, byte [rdx - 4]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx - 3]
add ecx, eax
mov dword [r9 + rdx - 6], ecx
sub r8, 1
jne 0x14000b460
lea rcx, [rsp + 0x48]
lea edx, [r8 + 0x40]
nop word [rax + rax]
mov eax, dword [rcx + 0x2c]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
lea rcx, [rcx + 4]
rol eax, 1
mov dword [rcx + 0x34], eax
sub rdx, 1
jne 0x14000b4a0
mov r10d, dword [rsp + 0x2c]
mov r9, rdi
mov r8d, dword [rsp + 0x28]
movabs r14, 0xcccccccccccccccd
mov r11d, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
nop word [rax + rax]
mov rax, r14
mul r9
shr rdx, 4
test rdx, rdx
je 0x14000b56a
sub rdx, 1
je 0x14000b54b
sub rdx, 1
je 0x14000b524
cmp rdx, 1
jne 0x14000b58e
mov edi, ebx
mov eax, r11d
rol edi, 5
xor eax, r8d
xor eax, r10d
add edi, 0xca62c1d6
add eax, dword [rsp + r9*4 + 0x40]
add edi, esi
add edi, eax
jmp 0x14000b58e
mov ecx, r8d
mov edi, ebx
xor ecx, r10d
rol edi, 5
and ecx, r11d
add edi, 0x8f1bbcdc
mov eax, r8d
add edi, esi
and eax, r10d
xor ecx, eax
add ecx, dword [rsp + r9*4 + 0x40]
add edi, ecx
jmp 0x14000b58e
mov eax, r11d
lea edi, [rsi + 0x6ed9eba1]
xor eax, r8d
mov ecx, ebx
rol ecx, 5
xor eax, r10d
add ecx, eax
add ecx, dword [rsp + r9*4 + 0x40]
add edi, ecx
jmp 0x14000b58e
mov ecx, r11d
lea edi, [rsi + 0x5a827999]
not ecx
mov eax, r11d
and ecx, r10d
and eax, r8d
xor ecx, eax
mov edx, ebx
rol edx, 5
add edx, ecx
add edx, dword [rsp + r9*4 + 0x40]
add edi, edx
mov esi, r10d
inc r9
mov r10d, r8d
mov r8d, r11d
ror r8d, 2
mov r11d, ebx
mov ebx, edi
cmp r9, 0x50
jb 0x14000b4e0
add dword [rbp + 4], edi
add dword [rbp + 8], r11d
add dword [rbp + 0xc], r8d
add dword [rbp + 0x10], r10d
add dword [rbp + 0x14], esi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400897c0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14000b5f0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x1401b89e8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x100
call fcn.14008b040
movups xmm0, xmmword [rdi + 4]
lea r9, [rsp + 0x40]
mov r8d, 0x10
movups xmm1, xmmword [rdi + 0x14]
lea rax, [rbx + 2]
sub r9, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
nop dword [rax]
movzx ecx, byte [rax - 1]
movzx edx, byte [rax - 2]
lea rax, [rax + 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [rax - 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [rax - 3]
shl edx, 8
or edx, ecx
mov dword [r9 + rax - 6], edx
sub r8, 1
jne 0x14000b660
lea r9, [rsp + 0x78]
lea r10d, [r8 + 0x30]
nop word [rax + rax]
mov ecx, dword [r9]
mov r8d, ecx
mov edx, dword [r9 - 0x34]
lea r9, [r9 + 4]
mov eax, ecx
rol r8d, 0xf
shr ecx, 0xa
rol eax, 0xd
xor r8d, eax
mov eax, edx
xor r8d, ecx
ror eax, 7
mov ecx, edx
shr edx, 3
rol ecx, 0xe
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r9 - 0x3c]
add r8d, dword [r9 - 0x18]
mov dword [r9 + 4], r8d
sub r10, 1
jne 0x14000b6a0
mov r15d, dword [rsp + 0x3c]
lea r13, [0x1400f89c0]
mov ebp, dword [rsp + 0x38]
xor r11d, r11d
mov r14d, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
mov r12d, dword [rsp + 0x2c]
mov ebx, dword [rsp + 0x28]
mov esi, dword [rsp + 0x24]
mov r9d, dword [rsp + 0x20]
nop word [rax + rax]
mov r8d, r10d
mov eax, r10d
rol eax, 7
mov ecx, r10d
ror r8d, 0xb
not ecx
xor r8d, eax
and ecx, ebp
mov eax, r10d
mov edx, esi
ror eax, 6
xor edx, ebx
xor r8d, eax
and edx, r9d
mov eax, r14d
and eax, r10d
xor ecx, eax
mov eax, esi
add r8d, ecx
and eax, ebx
add r8d, dword [r11 + r13]
xor edx, eax
add r8d, dword [rsp + r11 + 0x40]
mov ecx, r9d
mov eax, r9d
ror ecx, 0xd
add r8d, r15d
rol eax, 0xa
xor ecx, eax
mov r15d, ebp
mov eax, r9d
mov ebp, r14d
ror eax, 2
mov r14d, r10d
lea r10d, [r12 + r8]
add r11, 4
mov r12d, ebx
mov ebx, esi
mov esi, r9d
mov r9d, ecx
xor r9d, eax
add r9d, edx
add r9d, r8d
cmp r11, 0x100
jb 0x14000b720
add dword [rdi + 4], r9d
add dword [rdi + 8], esi
add dword [rdi + 0xc], ebx
add dword [rdi + 0x10], r12d
add dword [rdi + 0x14], r10d
add dword [rdi + 0x18], r14d
add dword [rdi + 0x1c], ebp
add dword [rdi + 0x20], r15d
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400897c0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000b9d0
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
test rcx, rcx
je 0x14000ba85
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx edi, dx
mov rbx, rcx
xor edx, edx
lea r8d, [rdx + 0x70]
call fcn.14008b040
movzx ecx, di
sub ecx, 1
je 0x14000ba52
sub ecx, 1
je 0x14000ba09
cmp ecx, 0xfe
jne 0x14000ba7b
mov dword [rbx], 0x40200100
mov dword [rbx + 4], 0x6a09e667
mov dword [rbx + 8], 0xbb67ae85
mov dword [rbx + 0xc], 0x3c6ef372
mov dword [rbx + 0x10], 0xa54ff53a
mov dword [rbx + 0x14], 0x510e527f
mov dword [rbx + 0x18], 0x9b05688c
mov dword [rbx + 0x1c], 0x1f83d9ab
mov dword [rbx + 0x20], 0x5be0cd19
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rbx], 0x40140001
mov dword [rbx + 4], 0x67452301
mov dword [rbx + 8], 0xefcdab89
mov dword [rbx + 0xc], 0x98badcfe
mov dword [rbx + 0x10], 0x10325476
mov dword [rbx + 0x14], 0xc3d2e1f0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e9a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
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 ebp, ebp
mov r14, r8
mov r15, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000ea98
test rdx, rdx
je 0x14000ea98
cmp dword [rcx + 4], 2
jne 0x14000ea98
mov ecx, dword [rcx]
sub ecx, 1
je 0x14000ea7f
cmp ecx, 1
jne 0x14000ea98
mov rdi, qword [rbx + 0x20]
mov r12, qword [rbx + 8]
add rdi, r8
test r12, r12
je 0x14000ea0f
cmp qword [rbx + 0x10], rdi
jae 0x14000ea4f
and rdi, 0xfffffffffffffe00
mov rcx, r12
add rdi, 0x200
mov rdx, rdi
call fcn.1400b0678
mov rsi, rax
test r12, r12
jne 0x14000ea42
test rax, rax
je 0x14000ea98
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14008b040
test rsi, rsi
je 0x14000ea98
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x20]
mov r9, r14
add rcx, qword [rbx + 8]
mov r8, r15
mov rdx, r14
call fcn.14000ec50
mov rcx, qword [rbx + 0x18]
mov rbp, r14
add qword [rbx + 0x20], r14
cmp qword [rbx + 0x20], rcx
cmova rcx, qword [rbx + 0x20]
mov qword [rbx + 0x18], rcx
jmp 0x14000ea98
mov r9, qword [rbx + 0x10]
test r9, r9
je 0x14000ea98
mov edx, 1
mov rcx, r15
call fcn.1400c8d04
mov rbp, rax
mov rbx, qword [rsp + 0x40]
mov rax, rbp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140010f30
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 ebx, ebx
movsxd rdi, ecx
mov r14, r9
mov r15, r8
mov rbp, rdx
test rdx, rdx
je 0x140010f6b
mov edx, 0x104
mov rcx, rbp
call fcn.1400b0240
mov rsi, rax
jmp 0x140010f6d
mov esi, ebx
imul rdi, rdi, 0x38
lea r12, [0x1401bb0c0]
mov qword [rsp + 0x78], rdi
lea rax, [rdi + r12]
mov rcx, rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
cmp qword [rdi + r12 + 0x28], rbx
je 0x1400110d5
mov qword [rsp + 0x70], r13
call fcn.140005350
mov qword [rsp + 0x28], r14
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rcx, qword [rax]
or rcx, 2
call fcn.1400af704
mov r13d, eax
or rax, 0xffffffffffffffff
test r13d, r13d
cmovs r13d, eax
add r13d, 2
movsxd r12, r13d
mov rcx, r12
call fcn.140096ad4
mov rdi, rax
test rax, rax
je 0x1400110d0
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.14008b040
mov r9, r15
mov qword [rsp + 0x20], r14
or r8, 0xffffffffffffffff
mov rdx, r12
mov rcx, rdi
call fcn.1400140a0
movsxd r11, eax
mov rax, rdi
cmp byte [rdi], bl
je 0x140011038
nop dword [rax]
cmp byte [rax + 1], bl
lea rcx, [rax + 1]
je 0x140011038
cmp byte [rax], 0xa
jne 0x140011031
mov byte [rax], 9
mov rax, rcx
cmp byte [rcx], bl
jne 0x140011020
test rbp, rbp
je 0x140011094
cmp r11d, esi
jle 0x140011094
lea ebx, [rsi + r11]
cmp ebx, r13d
jge 0x140011094
movsxd rax, esi
mov rcx, r11
sub rcx, rax
mov r10, rbp
add rcx, rdi
sub r10, rcx
nop dword [rax]
movzx r8d, byte [rcx]
movzx eax, byte [rcx + r10]
sub r8d, eax
jne 0x140011075
inc rcx
test eax, eax
jne 0x140011060
test r8d, r8d
je 0x140011094
test r13d, r13d
je 0x140011091
or r9, 0xffffffffffffffff
mov r8, rbp
mov rdx, r12
mov rcx, rdi
call fcn.1400c700c
mov r11d, ebx
mov rsi, qword [rsp + 0x78]
lea rbp, [0x1401bb0c0]
movsxd r8, r11d
mov edx, 1
mov rcx, rdi
mov r9, qword [rsi + rbp + 0x28]
call fcn.1400c8d04
cmp byte [rsi + rbp + 0x30], 0
mov ebx, eax
je 0x1400110c8
mov rcx, qword [rsi + rbp + 0x28]
call fcn.1400c7f5c
mov rcx, rdi
call fcn.140096ac0
mov r13, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
lea r11, [rsp + 0x40]
mov eax, ebx
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 0x140012130
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1401b89e8]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor eax, eax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rdi, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call fcn.1400b2ef8
mov ebx, eax
test eax, eax
je 0x14001223c
test rdi, rdi
jne 0x14001218f
xor ebx, ebx
jmp 0x14001219f
mov edx, 0x104
mov rcx, rdi
call fcn.1400b0240
mov rbx, rax
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.140096ba0
lea rcx, [rbx - 1]
cmp rcx, 0x103
ja 0x1400121de
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x1400121de
dec rbx
cmp rbx, 0x104
jae 0x14001225f
mov byte [rsp + rbx + 0x50], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400b2ef8
mov ebx, eax
test eax, eax
je 0x14001223c
lea rcx, [rsp + 0x50]
call fcn.1400b2f70
mov ebx, eax
test eax, eax
je 0x14001223c
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.14008b708
mov rdi, rax
test rax, rax
je 0x14001223c
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.140012130
mov ebx, eax
test eax, eax
jne 0x14001223c
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400b2f70
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400897c0
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
call fcn.140089484
int3
Function at 0x14001b8f0
Capabilities:
Enumerate files on windows

Disassembly:
sub rsp, 0x568
mov rax, qword [0x1401b89e8]
xor rax, rsp
mov qword [rsp + 0x550], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.14008b040
call fcn.1400020e0
mov qword [0x1401bb588], rax
test rax, rax
jne 0x14001b949
mov eax, 0x708
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.1400897c0
add rsp, 0x568
ret
xor r9d, r9d
mov qword [rsp + 0x560], rdi
mov edx, 0x80
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x3c0]
lea r8d, [r9 + 7]
call fcn.140011e00
lea rax, str.upe_.dll
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c0]
lea rax, [0x1400f8380]
lea r8, [0x1400f8384]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x440]
call fcn.14001d200
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x440]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001ba8c
mov qword [rsp + 0x570], rbx
lea r8, [rsp + 0x16c]
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140096ba0
mov ecx, 0x30
call fcn.140096ad4
mov rbx, rax
test rax, rax
je 0x14001ba7b
xor eax, eax
lea rcx, [rsp + 0x30]
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
lea edx, [rax + 0x2e]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
call fcn.14008b848
test rax, rax
je 0x14001ba51
lea rcx, [rsp + 0x30]
mov byte [rax], 0
call fcn.1400b2ff0
mov qword [rbx + 0x18], rax
mov rdx, rbx
mov rcx, qword [0x1401bb588]
call fcn.140001f00
jmp 0x14001ba59
mov rcx, rbx
call fcn.140096ac0
lea rdx, [rsp + 0x280]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileA]
test eax, eax
je 0x14001ba7b
lea r8, [rsp + 0x2ac]
jmp 0x14001b9df
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov rbx, qword [rsp + 0x570]
mov rdi, qword [rsp + 0x560]
xor eax, eax
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.1400897c0
add rsp, 0x568
ret
Function at 0x140033890
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, rdx
mov rbx, rcx
test rdx, rdx
jne 0x140033903
cmp dword [0x1401b83f0], 1
jl 0x140033a5d
test dword [0x1401b8424], 0x200000
je 0x140033a5d
lea rax, str.logstring_is_NULL
mov edx, 1
mov qword [rsp + 0x28], rax
lea r9, str.....esif_uf_loggingmgr.c
lea r8, str.EsifLogMgr_DataLogWrite
mov dword [rsp + 0x20], 0xaa0
mov ecx, 0x200000
call fcn.140067120
add rsp, 0x60
pop rbx
ret
mov ecx, dword [rcx + 0x17c]
test ecx, ecx
je 0x140033a5d
mov qword [rsp + 0x58], rbp
test cl, 8
jbe 0x140033930
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.140010990
mov rax, qword [rsp + 0x78]
test byte [rbx + 0x17c], 4
jbe 0x14003395a
lea r9, [rsp + 0x80]
mov r8, rax
lea rdx, [0x140103c40]
mov ecx, 5
call fcn.140010f30
mov rax, qword [rsp + 0x78]
test byte [rbx + 0x17c], 2
mov qword [rsp + 0x48], rdi
jbe 0x1400339db
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x50], rsi
mov rcx, rax
call fcn.140038350
inc eax
movsxd rsi, eax
mov rcx, rsi
call fcn.140096ad4
mov rdi, rax
test rax, rax
je 0x1400339d1
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.14008b040
mov r9, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call fcn.1400140a0
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, rdi
call fcn.140096ac0
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x50]
test byte [rbx + 0x17c], 1
jbe 0x140033a53
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.140038350
inc eax
movsxd rdi, eax
mov rcx, rdi
call fcn.140096ad4
mov rbx, rax
test rax, rax
je 0x140033a53
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14008b040
mov r9, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call fcn.1400140a0
mov r8, rbx
lea rdx, [0x140102074]
mov ecx, 3
call fcn.14007f8e0
mov rcx, rbx
call fcn.140096ac0
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
pop rbx
ret
Function at 0x140036750
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x71], 0
mov rdi, rcx
jne 0x140036804
cmp byte [rcx + 0x73], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov word [rcx + 0x71], 1
jne 0x14003677d
mov byte [rcx + 0x70], 1
add rcx, 0x38
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeSRWLock]
xor esi, esi
xor r9d, r9d
xor edx, edx
mov qword [rdi + 0x40], rsi
xor ecx, ecx
mov dword [rdi + 0x48], esi
mov r8d, 0x7fffffff
call qword [sym.imp.api_ms_win_core_synch_l1_2_1.dll_CreateSemaphoreW]
lea ecx, [rsi + 0x10]
mov dword [rdi + 0x50], esi
mov qword [rdi + 0x58], rax
mov byte [rdi + 0x4c], sil
call fcn.140096ad4
mov rbx, rax
test rax, rax
je 0x1400367fa
lea rax, [0x1400368f0]
mov qword [rsp + 0x28], rsi
mov r9, rbx
mov qword [rbx], rax
lea r8, [0x140038fa0]
mov qword [rbx + 8], rdi
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 0x30], rax
test rax, rax
jne 0x1400367fa
mov rcx, rbx
call fcn.140096ac0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140038fe0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov eax, dword [0x1401b19b8]
xor esi, esi
cmp ecx, 0x1f4
cmovge eax, ecx
xor bl, bl
mov dword [0x1401b19b8], eax
movzx ecx, bl
call fcn.14003a0e0
mov rdi, rax
test rax, rax
je 0x140039028
mov rcx, rax
call fcn.140063bd0
mov rcx, rdi
call fcn.140063960
inc bl
cmp bl, 0x20
jb 0x140039008
mov rax, rsi
lock xadd qword [0x1401b19b0], rax
test al, al
je 0x1400390ac
mov ecx, 0x10
call fcn.140096ad4
mov rbx, rax
test rax, rax
je 0x1400390a7
lea rax, [0x1400391a0]
mov qword [rsp + 0x28], rsi
mov r9, rbx
mov qword [rbx], rax
lea r8, [0x14003bce0]
mov qword [rbx + 8], rsi
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [0x1401bcc20], rax
test rax, rax
jne 0x1400390ac
mov rcx, rbx
call fcn.140096ac0
mov esi, 0x3eb
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov esi, 0x708
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret