Function at 0x14003a3e0
Capabilities:
Create thread
Get disk information

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x328
mov al, r9b
mov sil, r9b
mov rbx, rdx
and al, 0xf
mov rbp, rcx
mov byte [rsp + 0x40], 1
mov byte [rsp + 0x42], al
call fcn.1400fa8e0
xor edi, edi
lea r10d, [rax + 0x20d]
mov qword [rsp + 0xb8], rax
movsxd rcx, r10d
mov qword [rsp + 0xc8], rcx
test sil, 0xf0
jne 0x14003a461
cmp eax, 4
jle 0x14003a461
movsxd rcx, eax
lea rdx, [0x140118d28]
lea rcx, [rbp + rcx*2 - 8]
call fcn.1400fab04
mov dword [rsp + 0x60], 1
cmp eax, edi
je 0x14003a465
mov dword [rsp + 0x60], edi
mov al, byte [rbx + 0x1b0]
mov rbx, qword [rsp + 0xc8]
lea rcx, [rsp + 0xc0]
and al, 2
mov byte [rsp + 0x41], al
lea eax, [rbx + 0x325]
movsxd rdx, eax
call fcn.1400619b4
mov rsi, qword [rsp + 0xc0]
lea rbx, [rsi + rbx*2]
mov qword [rsp + 0x58], rsi
cmp byte [rsp + 0x41], dil
je 0x14003a4fe
lea rcx, [rsp + 0x68]
mov edx, 0x1000
call fcn.1400619b4
mov rcx, qword [rsp + 0x68]
lea rdx, [0x140119de0]
mov r8, rbp
call qword [sym.imp.USER32.DLL_wsprintfW]
mov rcx, qword [rsp + 0x358]
mov rdx, qword [rsp + 0x68]
add rcx, 8
mov r9d, 0x1100
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.140025f90
lea rcx, [rsp + 0x68]
call fcn.140059370
mov eax, 0x5c
cmp word [rbp], ax
jne 0x14003a56c
mov rdx, rbx
mov ecx, 0x324
call qword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
jmp 0x14003a562
lea r9, [rbp + 2]
lea rdx, [0x140119498]
mov r8, rbx
mov rcx, rsi
call fcn.140016e04
mov r9b, byte [rsp + 0x368]
mov r8, qword [rsp + 0x360]
mov rdx, qword [rsp + 0x358]
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call fcn.14003a3e0
mov rcx, rbx
call fcn.1400fa8e0
inc eax
lea rbx, [rbx + rax*2]
cmp word [rbx], di
jne 0x14003a519
jmp 0x14003ae7d
mov r10, qword [rsp + 0xb8]
mov rdx, rbp
mov rcx, rsi
lea eax, [r10 + 1]
cdqe
mov qword [rsp + 0x80], rax
lea r11, [rax + rax]
mov r8, r11
call fcn.14001d310
movsxd rcx, r10d
lea rax, [rsi + rcx*2]
mov qword [rsp + 0x88], rcx
mov qword [rax], rdi
mov qword [rsp + 0x90], rax
cmp dword [rsp + 0x60], edi
jne 0x14003ab01
cmp byte [rsp + 0x42], dil
jne 0x14003a5e0
lea rdx, [0x140119dc0]
mov r8d, 0x16
mov rcx, rax
call fcn.14001d310
lea ecx, [r10 + 5]
movsxd rsi, ecx
jmp 0x14003ab27
mov r8d, 0x5c
mov word [rsi + rcx*2 + 4], di
mov word [rsi + rcx*2 + 2], r8w
mov word [rax], r8w
cmp qword [rsp + 0x370], rdi
jne 0x14003a617
lea rcx, [r11 + rsi]
lea rdx, [0x140119d90]
mov r8d, 0x2c
call fcn.14001d310
jmp 0x14003a61f
mov rsi, qword [rsp + 0x370]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x60]
mov r9d, 7
mov r8d, 0xc0000000
mov rdx, rsi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], rdi
call fcn.1400037a0
mov rbx, qword [rsp + 0x60]
cmp rbx, rdi
je 0x14003aadd
lea rcx, [rsp + 0x78]
mov edx, 0x2800
call fcn.1400619b4
mov rcx, qword [rsp + 0x78]
lea r8, [0x140119d70]
mov r9, rsi
mov edx, 0x27ff
call fcn.1400fb5e8
mov rcx, qword [rsp + 0x358]
mov rdx, qword [rsp + 0x78]
add rcx, 8
mov r9d, 0x11
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.140025f90
lea rcx, [rsp + 0x78]
call fcn.140059370
mov rcx, rbx
mov dword [rsp + 0x350], edi
call fcn.1400df220
xor r9d, r9d
mov rcx, rbx
lea r8d, [r9 + 8]
mov rdx, rax
mov rsi, rax
mov qword [rsp + 0x80], rax
call fcn.1400dcbc0
mov r8, rax
mov qword [rsp + 0xb0], rax
cmp rax, rdi
jne 0x14003a71a
cmp rbx, 0xffffffffffffffff
je 0x14003a710
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, 1
jmp 0x14003ae7d
mov ecx, dword [r8]
mov rax, rsi
lea rbp, [r8 + rsi]
cqo
and ecx, 0xffffff
mov rsi, r8
and edx, 3
add rax, rdx
sar rax, 2
add rax, 0xffff
and rax, 0xffffffffffff0000
mov qword [rsp + 0x90], rax
cmp ecx, 0xbfbbef
jne 0x14003a790
lea rsi, [r8 + 3]
jmp 0x14003a790
cmp rsi, rbp
jae 0x14003a795
movsx eax, byte [rsi]
cmp ax, 0xa
je 0x14003a78b
cmp ax, 0xd
je 0x14003a78b
inc rsi
cmp rsi, rbp
jae 0x14003a790
jmp 0x14003a760
movsx eax, byte [rsi]
cmp ax, 0xa
je 0x14003a788
cmp ax, 0xd
jne 0x14003a790
inc rsi
cmp rsi, rbp
jb 0x14003a779
cmp byte [rsi], 0x23
je 0x14003a75b
lea rcx, [rsp + 0xa8]
mov edx, 0x28
mov qword [rsp + 0xa0], rdi
call fcn.1400616c8
mov rcx, qword [rsp + 0xa8]
call fcn.1400592d4
mov rax, qword [rsp + 0xa8]
dec rbp
movsx ecx, byte [rbp]
mov edx, 9
mov qword [rsp + 0x70], rax
mov rax, rdi
mov qword [rsp + 0x68], rax
cmp dx, cx
ja 0x14003a7e8
cmp cx, 0xd
jbe 0x14003a858
mov edx, 0x20
cmp dx, cx
je 0x14003a858
cmp byte [rbp], 0x23
je 0x14003a858
cmp rbp, rsi
jbe 0x14003a829
movsx eax, byte [rbp]
cmp ax, 0xa
je 0x14003a812
cmp ax, 0xd
je 0x14003a812
dec rbp
jmp 0x14003a7f8
lea rax, [rbp + 1]
cmp byte [rax], 0x23
jne 0x14003a829
mov byte [rbp], dil
mov qword [rsp + 0x68], rax
cmp rax, rdi
jne 0x14003a85c
mov rbp, qword [rsp + 0x80]
lea rcx, [rsp + 0xa0]
lea rdx, [rbp + 0x10]
call fcn.140061744
mov rsi, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x68]
add rbp, rsi
mov qword [rbp], rdi
jmp 0x14003a85c
mov byte [rbp], dil
mov rbx, qword [rsp + 0x58]
mov dword [rsp + 0x368], edi
mov qword [rsp + 0x78], rdi
cmp rsi, rbp
jae 0x14003a8a9
mov rax, qword [rsp + 0x90]
add rax, rsi
mov qword [rsp + 0x50], rax
cmp rax, rbp
jae 0x14003a8c8
lea rdx, [0x140119d60]
mov rcx, rax
call qword [sym.imp.SHLWAPI.DLL_StrStrA]
cmp rax, rdi
je 0x14003a8c3
mov byte [rax], dil
inc rax
mov qword [rsp + 0x50], rax
jmp 0x14003a8c8
cmp rax, rdi
je 0x14003a9e3
cmp byte [rax], 0x23
je 0x14003a9e3
mov rsi, rax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x98]
mov edx, 0x28
call fcn.1400616c8
mov rcx, qword [rsp + 0x98]
call fcn.1400592d4
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x358]
mov rdx, qword [rsp + 0xc8]
mov qword [rcx], rax
lea rax, [rcx + 0x20]
mov qword [rsp + 0x58], rcx
mov rcx, rax
add rdx, 0x63
mov qword [rsp + 0x80], rax
call fcn.140061a40
mov r11, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x80]
add r11d, 0x17
mov rdx, rbx
mov rcx, qword [rcx]
movsxd r8, r11d
add r8, r8
call fcn.14001d310
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x18], rcx
lea rcx, [0x14013396c]
lea r8, [0x140039ee0]
mov qword [rsp + 0x28], rcx
mov r9, rax
mov edx, 0x20000
xor ecx, ecx
mov qword [rax + 8], rsi
mov dword [rsp + 0x20], 0x10000
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x10], rax
cmp rax, rdi
je 0x14003a9be
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
inc dword [rsp + 0x368]
mov qword [rdx + rax*8], rcx
inc rax
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x40], dil
jmp 0x14003a9c7
add rcx, 0x20
call fcn.1400592f0
mov rsi, qword [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.140059370
mov rax, qword [rsp + 0x68]
jmp 0x14003a86d
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov rsi, rdi
cmp rbp, rdi
jle 0x14003aa2e
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbx + rsi*8]
or edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov r11, qword [rbx + rsi*8]
cmp qword [r11 + 0x18], rdi
je 0x14003aa21
mov r11d, dword [r11 + 0x18]
mov dword [rsp + 0x350], r11d
inc rsi
cmp rsi, rbp
jl 0x14003a9fa
mov rbx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x368]
dec eax
movsxd rsi, eax
cmp rsi, rdi
jl 0x14003aa71
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbx + rsi*8]
mov qword [rsp + 0x88], rcx
add rcx, 0x20
call fcn.1400592f0
lea rcx, [rsp + 0x88]
call fcn.140059370
sub rsi, 1
jns 0x14003aa44
mov rbx, qword [rsp + 0x60]
movsx ecx, byte [rsp + 0x40]
mov r11, qword [rsp + 0x358]
cmp cl, dil
mov edi, dword [rsp + 0x350]
cmovne edi, ecx
lea rcx, [rsp + 0xa8]
mov eax, edi
mov qword [r11 + 0x1a8], rax
call fcn.140059370
lea rcx, [rsp + 0xa0]
call fcn.140059370
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
cmp rbx, 0xffffffffffffffff
je 0x14003ae7d
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14003ae7d
mov rcx, qword [rsp + 0x90]
lea rdx, [0x140119d48]
mov r8d, 0x16
call fcn.14001d310
mov rsi, qword [rsp + 0x80]
jmp 0x14003ab27
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.DLL_StrRChrW]
mov rsi, rax
cmp rax, rdi
je 0x14003ab24
sub rsi, rbp
add rsi, 2
sar rsi, 1
jmp 0x14003ab27
mov rsi, rdi
lea rcx, [rsp + 0xd4]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0xd0], edi
call fcn.1400fa350
mov rbx, qword [rsp + 0x58]
lea r8, [rsp + 0xd0]
lea rcx, [rsp + 0x48]
mov rdx, rbx
mov qword [rsp + 0x48], rdi
call fcn.1400f96dc
movsxd rax, esi
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0x48], rdi
je 0x14003acd5
mov rbp, rbx
mov rax, qword [rsp + 0x358]
mov eax, dword [rax + 0x1a0]
cmp eax, edi
jl 0x14003acb2
lea rcx, [rsp + 0xfc]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
lea rcx, [rsp + 0x50]
movsxd rbx, eax
lea rdx, [rbx + rsi]
lea rdx, [rdx + rdx + 0xee]
call fcn.1400616c8
mov rcx, qword [rsp + 0x50]
call fcn.1400592d4
mov r10, qword [rsp + 0x50]
mov rax, qword [rsp + 0x358]
mov qword [r10], rax
mov rcx, qword [rsp + 0x50]
lea eax, [rsi + 0x17]
movsxd r8, eax
add rcx, 0x28
mov rdx, rbp
add r8, r8
mov qword [rsp + 0x88], r10
mov qword [r10 + 0x20], rcx
call fcn.14001d310
mov rax, qword [r10 + 0x20]
mov rcx, qword [rsp + 0xb0]
mov qword [r10 + 0x18], rcx
mov word [rax + rcx*2 + 2], bx
lea eax, [rbx + 1]
movsxd r8, eax
mov rax, qword [r10 + 0x20]
lea rdx, [rsp + 0xfc]
lea rcx, [rax + rsi*2 + 0x4e]
add r8, r8
call fcn.14001d310
lea rax, [0x14013396c]
lea r8, [0x14003997c]
mov qword [rsp + 0x28], rax
mov r9, r10
mov edx, 0x20000
xor ecx, ecx
mov byte [rsp + 0x40], dil
mov dword [rsp + 0x20], 0x10000
call qword [sym.imp.KERNEL32.DLL_CreateThread]
cmp rax, rdi
je 0x14003ac8d
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rbx, qword [rsp + 0x88]
jmp 0x14003ac7f
mov ecx, 1
call qword [sym.imp.KERNEL32.DLL_Sleep]
mov r11, qword [rbx + 0x18]
cmp r11, rdi
jg 0x14003ac74
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x50]
call fcn.140059370
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
cmp eax, edi
jne 0x14003ab7b
mov rcx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x350]
cmp rcx, rdi
je 0x14003acd0
cmp rcx, 0xffffffffffffffff
je 0x14003acd0
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov rbx, qword [rsp + 0x58]
cmp byte [rsp + 0x42], 1
mov qword [rsp + 0x48], rdi
je 0x14003aceb
mov qword [rsp + 0x48], rdi
jmp 0x14003ae7d
mov rcx, qword [rsp + 0x90]
lea rdx, [0x140119d38]
mov r8d, 0xc
call fcn.14001d310
lea r8, [rsp + 0xd0]
lea rcx, [rsp + 0x48]
mov rdx, rbx
mov word [rsp + 0x100], di
call fcn.1400f96dc
cmp qword [rsp + 0x48], rdi
je 0x14003ace1
mov rsi, qword [rsp + 0x358]
mov bpl, byte [rsp + 0x368]
mov ecx, 0x2e
mov eax, dword [rsi + 0x1a0]
cmp eax, edi
jl 0x14003adf5
test byte [rsp + 0xd0], 0x10
je 0x14003add5
cmp cx, word [rsp + 0xfc]
jne 0x14003ad7e
cmp word [rsp + 0xfe], di
je 0x14003add5
cmp cx, word [rsp + 0xfe]
jne 0x14003ad7e
cmp word [rsp + 0x100], di
je 0x14003add5
lea rcx, [rsp + 0xfc]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
lea rdx, [rsp + 0xfc]
inc eax
movsxd r8, eax
mov rax, qword [rsp + 0x80]
lea rcx, [rbx + rax*2]
add r8, r8
call fcn.14001d310
mov r8, qword [rsp + 0x360]
mov r9b, bpl
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call fcn.14003a3e0
mov byte [rsp + 0x40], dil
mov word [rsp + 0x100], di
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
mov ecx, 0x2e
cmp eax, edi
jne 0x14003ad3e
mov rbp, qword [rsp + 0x350]
cmp byte [rsp + 0x41], dil
je 0x14003ae53
lea rcx, [rsp + 0x70]
mov edx, 0x1000
call fcn.1400619b4
mov rcx, qword [rsp + 0x70]
lea rdx, [0x140119d10]
mov r8, rbp
call qword [sym.imp.USER32.DLL_wsprintfW]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsi + 8]
mov r9d, 0x1100
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.140025f90
lea rcx, [rsp + 0x70]
call fcn.140059370
movsx ecx, byte [rsp + 0x40]
mov eax, ecx
neg cl
mov rcx, qword [rsp + 0x48]
sbb ebx, ebx
and ebx, eax
cmp rcx, rdi
je 0x14003ae76
cmp rcx, 0xffffffffffffffff
je 0x14003ae76
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rsp + 0x48], rdi
mov edi, ebx
lea rcx, [rsp + 0xc0]
call fcn.140059370
mov eax, edi
add rsp, 0x328
pop rdi
pop rsi
pop rbp
pop rbx
ret