Function at 0x100101c8c
Capabilities:
Create thread
Enumerate files on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4c0
mov rax, qword [0x100151198]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov r15, qword [rsp + 0x520]
mov rbp, qword [0x1001579a0]
mov rdi, rdx
lea rcx, [r11 - 0x246]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x2a0], si
call sub.msvcrt.dll_memset
mov dword [r15], esi
cmp dword [rbp], esi
jne 0x100101cff
mov eax, 0x80004005
jmp 0x100102190
call fcn.1000f588c
cmp eax, esi
jne 0x100101d40
mov rcx, qword [0x100152eb8]
lea rsi, [0x100152eb8]
cmp rcx, rsi
je 0x100101d36
test byte [rcx + 0x1c], 4
je 0x100101d36
mov rcx, qword [rcx + 0x10]
lea r8, [0x10001dad0]
mov edx, 0x18
call fcn.100034764
mov eax, 0x1000010c
jmp 0x100102190
lea rax, [rsp + 0x2a0]
mov r8, rdi
mov edx, 0x104
lea rcx, [rsp + 0x2a0]
mov ebx, esi
mov r14d, 1
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rsi
je 0x100101d85
movzx eax, word [r8 + rcx]
cmp ax, si
je 0x100101d85
mov word [rcx], ax
add rcx, 2
sub rdx, r14
jne 0x100101d63
cmp rdx, rsi
jne 0x100101d93
sub rcx, 2
mov ebx, 0x8007007a
cmp ebx, esi
mov word [rcx], si
jge 0x100101dd5
mov rcx, qword [0x100152eb8]
lea rsi, [0x100152eb8]
cmp rcx, rsi
je 0x100101dcb
test byte [rcx + 0x1c], r14b
je 0x100101dcb
mov rcx, qword [rcx + 0x10]
lea r8, [0x10001dad0]
mov edx, 0x19
mov r9d, ebx
call fcn.100036328
mov eax, 0x80070057
jmp 0x100102190
lea rax, [rbp + 0x40]
mov rcx, rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov r13d, 0x103
mov r12, rax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x2a0]
mov rcx, r12
sub rcx, rax
sar rcx, 1
sub r13, rcx
mov qword [rsp + 0x30], r13
cmp r12, rsi
jne 0x100101e59
mov rcx, qword [0x100152eb8]
lea rsi, [0x100152eb8]
cmp rcx, rsi
je 0x100101e4f
test byte [rcx + 0x1c], r14b
je 0x100101e4f
mov rcx, qword [rcx + 0x10]
lea r8, [0x10001dad0]
mov edx, 0x1a
call fcn.100034764
mov ebx, 0x80070057
jmp 0x100102183
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x100101eb0
mov rcx, qword [0x100152eb8]
lea rsi, [0x100152eb8]
cmp rcx, rsi
je 0x100101ea6
lea edx, [rax + 2]
test byte [rcx + 0x1c], dl
je 0x100101ea6
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x1c]
lea r8, [0x10001dad0]
mov r9, rdi
call fcn.100034788
mov ebx, 0x90080108
jmp 0x100102183
lea rsi, [0x100152eb8]
cmp dword [rsp + 0x50], 0x10
je 0x10010206d
lea r8, [rsp + 0x7c]
mov rdx, r13
mov rcx, r12
call fcn.10006a9f0
mov ebx, eax
test eax, eax
jns 0x100101f11
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x10010206d
mov eax, 1
test byte [rcx + 0x1c], al
je 0x10010206d
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x1b]
lea r8, [0x10001dad0]
mov r9d, ebx
call fcn.100036328
jmp 0x10010206d
mov ecx, 0x28
call fcn.10011b824
xor r12d, r12d
mov rdi, rax
cmp rax, r12
je 0x100101f33
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
jmp 0x100101f36
mov rdi, r12
cmp rdi, r12
je 0x100102144
lea rax, [rsp + 0x2a0]
cmp rax, qword [rdi]
je 0x100101f6f
mov rcx, qword [rdi]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
cmp rax, r12
je 0x10010212e
mov rcx, qword [rdi + 8]
lea r13, [0x100026420]
cmp r13, rcx
je 0x100101f9b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi + 8], rax
cmp rax, r12
je 0x100102139
mov rcx, qword [rdi + 0x10]
cmp rcx, r12
je 0x100101fae
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov dword [rdi + 0x20], 6
movsxd r12, dword [rbp + 0x20]
lea r13d, [r12 + 1]
test r13d, r13d
jle 0x10010203e
cmp r12d, dword [rbp + 0x24]
jne 0x100102019
cmp r12d, 0x3fffffff
jg 0x10010203e
movabs rcx, 0xfffffffffffffff
cmp r12, rcx
ja 0x10010203e
cmp dword [rbp + 0x24], 0
mov rcx, qword [rbp + 0x18]
mov eax, 1
lea r14d, [r12 + r12]
cmove r14d, eax
movsxd rdx, r14d
shl rdx, 3
call qword [sym.imp.msvcrt.dll_realloc]
test rax, rax
je 0x100102039
mov dword [rbp + 0x24], r14d
mov r14, qword [rsp + 0x40]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
mov dword [rbp + 0x20], r13d
lea rdx, [rax + r12*8]
test rdx, rdx
je 0x10010202d
mov qword [rdx], rdi
mov eax, 1
add dword [r15], eax
xor ebx, ebx
jmp 0x100102063
mov r14, qword [rsp + 0x40]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call fcn.10011b7a0
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100101eb7
xor r12d, r12d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [r15], r12d
jbe 0x100102183
cmp dword [rbp + 4], r12d
jne 0x100102183
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbp + 0x78]
cmp rcx, r12
je 0x1001020bb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbp + 0x80]
lea r8, [0x10010139c]
mov r9, rbp
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x78], rax
cmp rax, r12
jne 0x10010217b
mov rax, qword [0x100152eb8]
cmp rax, rsi
je 0x100102127
mov edx, 1
test byte [rax + 0x1c], dl
je 0x100102127
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [0x100152eb8]
lea r8, [0x10001dad0]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x1e
call fcn.100036328
mov ebx, 0x80004005
jmp 0x100102183
mov ecx, 0x8007000e
call fcn.100036264
int3
mov ecx, 0x8007000e
call fcn.100036264
int3
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x100102171
mov eax, 1
test byte [rcx + 0x1c], al
je 0x100102171
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x1c]
lea r9d, [rax + 0x27]
lea r8, [0x10001dad0]
call fcn.100036328
mov ebx, 0x8007000e
jmp 0x100102086
mov eax, 1
mov dword [rbp + 4], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.10011b980
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret