Function at 0x1400388c4
Capabilities:
Create thread
Get disk information

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x308
mov al, r9b
mov ebx, 1
mov rbp, rdx
and al, 0xf
mov rsi, rcx
mov dword [rsp + 0x50], ebx
mov byte [rsp + 0x330], al
call fcn.1400ddf70
xor ecx, ecx
test byte [rsp + 0x348], 0xf0
lea edi, [rax + 0x20d]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x58], edi
jne 0x14003893b
cmp eax, 4
jle 0x14003893b
cdqe
lea rdx, [0x1400fdeb8]
lea rcx, [rsi + rax*2 - 8]
call fcn.1400de194
xor ecx, ecx
mov dword [rsp + 0x60], ebx
cmp eax, ecx
je 0x14003893f
mov dword [rsp + 0x60], ecx
lea eax, [rdi + 0x325]
lea rcx, [rsp + 0x88]
movsxd rdx, eax
call fcn.14005a1c4
mov rdi, qword [rsp + 0x88]
movsxd rax, dword [rsp + 0x58]
lea rcx, [rdi + rax*2]
mov r11d, 0x5c
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x48], rcx
cmp word [rsi], r11w
jne 0x1400389f8
mov rdx, rcx
mov ecx, 0x324
call qword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov rcx, qword [rsp + 0x48]
jmp 0x1400389ec
mov r8, rcx
lea r9, [rsi + 2]
lea rdx, [0x1400fecd8]
mov rcx, rdi
call fcn.1400157b8
mov r9b, byte [rsp + 0x348]
mov r8, qword [rsp + 0x340]
xor eax, eax
mov rdx, rbp
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400388c4
neg eax
sbb ecx, ecx
and ebx, ecx
mov rcx, qword [rsp + 0x48]
call fcn.1400ddf70
mov rcx, qword [rsp + 0x48]
inc eax
lea rcx, [rcx + rax*2]
mov qword [rsp + 0x48], rcx
xor eax, eax
cmp word [rcx], ax
jne 0x140038994
jmp 0x140039223
mov r10, qword [rsp + 0x70]
mov rdx, rsi
mov rcx, rdi
lea ebp, [r10 + 1]
movsxd r8, ebp
add r8, r8
call fcn.14001b7a8
mov rcx, qword [rsp + 0x338]
movzx eax, word [rcx + 0x54]
shl eax, 0x10
mov dword [rsp + 0x48], eax
xor eax, eax
lea r8d, [rax + 0x2e]
cmp dword [rsp + 0x60], eax
jne 0x140038ebd
cmp byte [rsp + 0x330], al
jne 0x140038a60
movsxd rax, r10d
lea rdx, [0x1400fecb8]
mov r8d, 0x16
lea rcx, [rdi + rax*2]
call fcn.14001b7a8
lea ebp, [r10 + 5]
jmp 0x140038eb9
mov rdx, qword [rsp + 0x350]
cmp rdx, rax
jne 0x140038a85
movsxd rax, r10d
lea rdx, [0x1400fec88]
lea rcx, [rdi + rax*2]
call fcn.14001b7a8
mov rdx, rdi
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x68]
mov r9d, 7
mov r8d, 0xc0000000
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], rax
call fcn.1400037e4
mov rsi, rax
mov qword [rsp + 0xa0], rax
xor eax, eax
cmp rsi, rax
je 0x140038e9e
lea rcx, [rsp + 0x330]
mov edx, 0x2800
call fcn.14005a1c4
mov rcx, qword [rsp + 0x330]
lea r8, [0x1400fec70]
mov r9, rdi
mov edx, 0x27ff
call fcn.1400ded08
mov rbx, qword [rsp + 0x338]
mov rdx, qword [rsp + 0x330]
mov rcx, qword [rbx + 8]
xor ebp, ebp
xor r8d, r8d
lea r9d, [rbp + 0x11]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call fcn.1400281e8
lea rcx, [rsp + 0x330]
call fcn.140052160
mov rcx, rsi
call fcn.1400c8ca0
lea r8d, [rbp + 8]
xor r9d, r9d
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.1400c6ce8
mov rcx, rax
mov qword [rsp + 0x98], rax
cmp rax, rbp
jne 0x140038b79
cmp rsi, 0xffffffffffffffff
je 0x140038b6f
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, 1
jmp 0x140039223
mov rax, rdi
lea rbp, [rcx + rdi]
mov rsi, rcx
cqo
and edx, 3
add rax, rdx
sar rax, 2
add rax, 0xffff
and rax, 0xffffffffffff0000
mov qword [rsp + 0xa8], rax
mov eax, dword [rcx]
and eax, 0xffffff
cmp eax, 0xbfbbef
jne 0x140038bec
lea rsi, [rcx + 3]
jmp 0x140038bec
cmp rsi, rbp
jae 0x140038bf1
movsx eax, byte [rsi]
cmp ax, 0xa
je 0x140038be7
cmp ax, 0xd
je 0x140038be7
inc rsi
cmp rsi, rbp
jae 0x140038bec
jmp 0x140038bbc
movsx eax, byte [rsi]
cmp ax, 0xa
je 0x140038be4
cmp ax, 0xd
jne 0x140038bec
inc rsi
cmp rsi, rbp
jb 0x140038bd5
cmp byte [rsi], 0x23
je 0x140038bb7
xor eax, eax
lea rcx, [rsp + 0x78]
lea edx, [rax + 0x28]
mov qword [rsp + 0x68], rax
call fcn.140059ed8
mov rcx, qword [rsp + 0x78]
call fcn.140052114
mov rax, qword [rsp + 0x78]
xor r8d, r8d
dec rbp
lea edx, [r8 + 9]
mov qword [rsp + 0x80], rax
movsx ecx, byte [rbp]
mov rax, r8
mov qword [rsp + 0x48], rax
cmp dx, cx
ja 0x140038c3d
cmp cx, 0xd
jbe 0x140038ca3
mov edx, 0x20
cmp dx, cx
je 0x140038ca3
cmp byte [rbp], 0x23
je 0x140038ca3
cmp rbp, rsi
jbe 0x140038c7e
movsx eax, byte [rbp]
cmp ax, 0xa
je 0x140038c67
cmp ax, 0xd
je 0x140038c67
dec rbp
jmp 0x140038c4d
lea rax, [rbp + 1]
cmp byte [rax], 0x23
jne 0x140038c7e
mov byte [rbp], r8b
mov qword [rsp + 0x48], rax
cmp rax, r8
jne 0x140038ca7
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x68]
call fcn.140059f54
mov rsi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
lea rbp, [rsi + rdi]
xor r8d, r8d
mov qword [rbp], r8
jmp 0x140038ca7
mov byte [rbp], r8b
mov edi, r8d
mov dword [rsp + 0x348], r8d
mov qword [rsp + 0x60], r8
cmp rsi, rbp
jae 0x140038cfa
mov rax, qword [rsp + 0xa8]
add rax, rsi
mov qword [rsp + 0x330], rax
cmp rax, rbp
jae 0x140038d1c
lea rdx, [0x1400fec60]
mov rcx, rax
call qword [sym.imp.SHLWAPI.DLL_StrStrA]
xor ecx, ecx
cmp rax, rcx
je 0x140038d14
mov byte [rax], cl
inc rax
mov qword [rsp + 0x330], rax
jmp 0x140038d1c
cmp rax, r8
je 0x140038dfc
cmp byte [rax], 0x23
je 0x140038dfc
mov rsi, rax
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x330], rbp
lea rcx, [rsp + 0x50]
mov edx, 0x28
call fcn.140059ed8
mov rcx, qword [rsp + 0x50]
call fcn.140052114
mov rdi, qword [rsp + 0x50]
movsxd rdx, dword [rsp + 0x58]
lea rcx, [rdi + 8]
mov qword [rdi], rbx
call fcn.14005a250
mov r10, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rdi + 8]
lea r11d, [r10 + 0x17]
movsxd r8, r11d
add r8, r8
call fcn.14001b7a8
movsxd rcx, r10d
lea rax, [0x1401178e4]
mov qword [rdi + 0x20], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x1400384e8]
xor ecx, ecx
mov r9, rdi
mov edx, 0x20000
mov dword [rsp + 0x20], 0x10000
mov qword [rdi + 0x10], rsi
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov rcx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x330]
mov qword [rdi + 0x18], rax
mov rax, qword [rsp + 0x60]
mov qword [rcx + rax*8], rdi
mov edi, dword [rsp + 0x348]
inc rax
mov qword [rsp + 0x60], rax
xor eax, eax
lea rcx, [rsp + 0x50]
inc edi
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x348], edi
call fcn.140052160
mov rbx, qword [rsp + 0x338]
mov rax, qword [rsp + 0x48]
xor r8d, r8d
jmp 0x140038cb7
mov rsi, qword [rsp + 0x60]
mov rbx, r8
cmp rsi, r8
jle 0x140038e34
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rdi + rbx*8]
or edx, 0xffffffff
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
inc rbx
cmp rbx, rsi
jl 0x140038e11
mov edi, dword [rsp + 0x348]
xor r8d, r8d
dec edi
movsxd rbx, edi
cmp rbx, r8
jl 0x140038e65
mov rax, qword [rsp + 0x80]
lea rcx, [rsp + 0x338]
mov rax, qword [rax + rbx*8]
mov qword [rsp + 0x338], rax
call fcn.140052160
sub rbx, 1
jns 0x140038e3e
lea rcx, [rsp + 0x78]
call fcn.140052160
lea rcx, [rsp + 0x68]
call fcn.140052160
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
mov rcx, qword [rsp + 0xa0]
cmp rcx, 0xffffffffffffffff
je 0x140038b6f
jmp 0x140038b69
movsxd rax, dword [rsp + 0x70]
lea rdx, [0x1400fec48]
mov r8d, 0x16
lea rcx, [rdi + rax*2]
call fcn.14001b7a8
xor eax, eax
jmp 0x140038ee3
mov r8d, r11d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHLWAPI.DLL_StrRChrW]
mov rbp, rax
xor eax, eax
cmp rbp, rax
je 0x140038ee1
sub rbp, rsi
add rbp, 2
sar rbp, 1
jmp 0x140038ee3
mov ebp, eax
lea rcx, [rsp + 0xb4]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0xb0], eax
call fcn.1400dd9e0
xor eax, eax
lea r8, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
mov rdx, rdi
mov qword [rsp + 0x40], rax
call fcn.1400dceb0
mov rsi, qword [rsp + 0x338]
xor r11d, r11d
cmp qword [rsp + 0x40], r11
je 0x140039015
lea rcx, [rsp + 0xdc]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
lea rdx, [rsp + 0xdc]
inc eax
movsxd r8, eax
movsxd rax, ebp
lea rcx, [rdi + rax*2]
add r8, r8
call fcn.14001b7a8
mov rax, qword [rsp + 0x340]
test rax, rax
je 0x140038f7a
mov r8, rdi
mov rdx, rax
mov rcx, rsi
call fcn.140017e74
test al, al
je 0x140038fdd
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.14002ef00
xor r8d, r8d
mov rcx, rax
mov qword [rsp + 0x58], rax
cmp byte [rsi + 0x5f], r8b
jne 0x140038fc5
cmp rax, r8
je 0x140038fd3
mov eax, r8d
mov dword [rsp + 0x338], eax
cmp byte [rsi + 0x60], r8b
je 0x140039035
mov r8d, dword [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.14002f3b0
xor r8d, r8d
mov rax, qword [rsp + 0x58]
cmp rax, r8
je 0x140038fd3
mov word [rax], r8w
mov eax, dword [rsp + 0x50]
neg eax
sbb ecx, ecx
and ebx, ecx
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
xor r11d, r11d
cmp eax, r11d
jne 0x140038f31
mov rcx, qword [rsp + 0x40]
cmp rcx, r11
je 0x140039015
cmp rcx, 0xffffffffffffffff
je 0x140039015
call qword [sym.imp.KERNEL32.DLL_FindClose]
xor r11d, r11d
cmp byte [rsp + 0x330], 1
mov qword [rsp + 0x40], r11
je 0x140039104
mov qword [rsp + 0x40], r11
mov ebx, r11d
jmp 0x140039223
cmp byte [rsi + 0x5c], 3
je 0x140039041
cmp byte [rsi + 0x5e], r8b
je 0x1400390b1
mov rdx, qword [rsp + 0x50]
cmp byte [rsi + 0x5e], r8b
je 0x140039068
mov r8, rcx
or r9d, 0xffffffff
mov rdx, rdi
mov rcx, rsi
call fcn.14002fd5c
mov rdx, rax
mov qword [rsp + 0x50], rax
jmp 0x140039087
cmp byte [rsi + 0x5c], 3
jne 0x140039096
mov r8, rcx
or r9d, 0xffffffff
mov rdx, rdi
mov rcx, rsi
call fcn.14002fed8
mov edx, eax
mov qword [rsp + 0x50], rdx
mov rcx, qword [rsp + 0x58]
mov eax, dword [rsp + 0x338]
xor r8d, r8d
inc eax
cmp eax, 2
mov dword [rsp + 0x338], eax
jge 0x140038fc5
cmp edx, r8d
je 0x140038fc5
mov r9d, dword [rsp + 0x48]
mov qword [rsp + 0x28], r8
or dword [rsp + 0x20], 0xffffffff
mov rdx, rcx
mov r8, rdi
mov rcx, rsi
call fcn.14002f1fc
mov edx, eax
mov eax, dword [rsp + 0x338]
inc eax
mov qword [rsp + 0x50], rdx
cmp eax, 2
mov dword [rsp + 0x338], eax
jge 0x140038fc2
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
cmp edx, r8d
jne 0x140039046
jmp 0x140038fc5
mov r10, qword [rsp + 0x70]
lea rdx, [0x1400fec38]
mov r8d, 0xc
movsxd rax, r10d
lea rcx, [rdi + rax*2]
call fcn.14001b7a8
lea r8, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
mov rdx, rdi
lea ebp, [r10 + 1]
mov word [rsp + 0xe0], r11w
call fcn.1400dceb0
xor edx, edx
cmp qword [rsp + 0x40], rdx
jne 0x140039154
mov ebx, edx
jmp 0x14003921e
test byte [rsp + 0xb0], 0x10
je 0x1400391e9
mov ecx, 0x2e
cmp cx, word [rsp + 0xdc]
jne 0x14003918d
movzx eax, word [rsp + 0xde]
cmp ax, dx
je 0x1400391e9
cmp cx, ax
jne 0x14003918d
cmp word [rsp + 0xe0], dx
je 0x1400391e9
lea rcx, [rsp + 0xdc]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
lea rdx, [rsp + 0xdc]
inc eax
movsxd r8, eax
movsxd rax, ebp
lea rcx, [rdi + rax*2]
add r8, r8
call fcn.14001b7a8
mov r9b, byte [rsp + 0x348]
mov r8, qword [rsp + 0x340]
xor eax, eax
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400388c4
neg eax
sbb ecx, ecx
and ebx, ecx
xor eax, eax
mov word [rsp + 0xe0], ax
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
xor edx, edx
cmp eax, edx
jne 0x140039154
mov rcx, qword [rsp + 0x40]
cmp rcx, rdx
je 0x14003921e
cmp rcx, 0xffffffffffffffff
je 0x14003921e
call qword [sym.imp.KERNEL32.DLL_FindClose]
xor edx, edx
mov qword [rsp + 0x40], rdx
lea rcx, [rsp + 0x88]
call fcn.140052160
mov eax, ebx
add rsp, 0x308
pop rdi
pop rsi
pop rbp
pop rbx
ret