Function at 0x14003a1f0
Capabilities:
Create thread
Get disk information
Resume thread

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, 0x338
mov al, r9b
mov dil, r9b
mov rbx, rdx
and al, 0xf
mov rbp, rcx
mov byte [rsp + 0x40], 1
mov byte [rsp + 0x41], al
call fcn.1400fb3f0
xor esi, esi
lea r10d, [rax + 0x20d]
mov qword [rsp + 0x88], rax
movsxd rcx, r10d
mov qword [rsp + 0xd0], rcx
test dil, 0xf0
jne 0x14003a271
cmp eax, 4
jle 0x14003a271
movsxd rcx, eax
lea rdx, [0x140119d28]
lea rcx, [rbp + rcx*2 - 8]
call fcn.1400fb614
mov dword [rsp + 0x68], 1
cmp eax, esi
je 0x14003a275
mov dword [rsp + 0x68], esi
mov al, byte [rbx + 0x1b0]
mov rbx, qword [rsp + 0xd0]
lea rcx, [rsp + 0xc8]
and al, 2
mov byte [rsp + 0x42], al
lea eax, [rbx + 0x325]
movsxd rdx, eax
call fcn.14006170c
mov rdi, qword [rsp + 0xc8]
lea rbx, [rdi + rbx*2]
mov qword [rsp + 0x80], rdi
cmp byte [rsp + 0x42], sil
je 0x14003a311
lea rcx, [rsp + 0x60]
mov edx, 0x1000
call fcn.14006170c
mov rcx, qword [rsp + 0x60]
lea rdx, str.DeviDir....Begin:_s
mov r8, rbp
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsp + 0x368]
mov rdx, qword [rsp + 0x60]
add rcx, 8
mov r9d, 0x1100
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140025c70
lea rcx, [rsp + 0x60]
call fcn.1400591f8
mov eax, 0x5c
cmp word [rbp], ax
jne 0x14003a37f
mov rdx, rbx
mov ecx, 0x324
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
jmp 0x14003a375
lea r9, [rbp + 2]
lea rdx, str._s_s
mov r8, rbx
mov rcx, rdi
call fcn.140016e08
mov r9b, byte [rsp + 0x378]
mov r8, qword [rsp + 0x370]
mov rdx, qword [rsp + 0x368]
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.14003a1f0
mov rcx, rbx
call fcn.1400fb3f0
inc eax
lea rbx, [rbx + rax*2]
cmp word [rbx], si
jne 0x14003a32c
jmp 0x14003acf1
mov r10, qword [rsp + 0x88]
mov rdx, rbp
mov rcx, rdi
lea eax, [r10 + 1]
cdqe
mov qword [rsp + 0x98], rax
lea r11, [rax + rax]
mov r8, r11
call fcn.14001d614
movsxd rcx, r10d
lea rax, [rdi + rcx*2]
mov qword [rsp + 0xc0], rcx
mov qword [rax], rsi
mov qword [rsp + 0x78], rax
cmp dword [rsp + 0x68], esi
jne 0x14003a90b
cmp byte [rsp + 0x41], sil
jne 0x14003a3f0
lea rdx, str.INF.INF
mov r8d, 0x16
mov rcx, rax
call fcn.14001d614
lea ecx, [r10 + 5]
movsxd rdi, ecx
jmp 0x14003a931
mov r8d, 0x5c
mov word [rdi + rcx*2 + 4], si
mov word [rdi + rcx*2 + 2], r8w
mov word [rax], r8w
cmp qword [rsp + 0x380], rsi
jne 0x14003a427
lea rcx, [r11 + rdi]
lea rdx, str._________allinf_file_
mov r8d, 0x2c
call fcn.14001d614
jmp 0x14003a42f
mov rdi, qword [rsp + 0x380]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x90]
mov r9d, 7
mov r8d, 0x80000000
mov rdx, rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x20], rsi
call fcn.1400037fc
mov rbx, qword [rsp + 0x90]
cmp rbx, rsi
je 0x14003a8e2
lea rcx, [rsp + 0x58]
mov edx, 0x2800
call fcn.14006170c
mov rcx, qword [rsp + 0x58]
lea r8, str.Found_Index__s_
mov r9, rdi
mov edx, 0x27ff
call fcn.1400fc0f8
mov rcx, qword [rsp + 0x368]
mov rdx, qword [rsp + 0x58]
add rcx, 8
mov r9d, 0x11
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140025c70
lea rcx, [rsp + 0x58]
call fcn.1400591f8
mov rcx, rbx
mov dword [rsp + 0x360], esi
call fcn.1400df900
xor r9d, r9d
mov rcx, rbx
lea r8d, [r9 + 8]
mov rdx, rax
mov rdi, rax
mov qword [rsp + 0x98], rax
call fcn.1400dd2a0
mov r8, rax
mov qword [rsp + 0xa8], rax
cmp rax, rsi
jne 0x14003a52a
cmp rbx, 0xffffffffffffffff
je 0x14003a520
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x14003acf1
mov ecx, dword [r8]
lea rax, [rdi + 3]
add rdi, r8
cqo
and ecx, 0xffffff
mov rbp, r8
and edx, 3
add rax, rdx
sar rax, 2
add rax, 0xffff
and rax, 0xffffffffffff0000
mov qword [rsp + 0xb0], rax
cmp ecx, 0xbfbbef
jne 0x14003a5a2
lea rbp, [r8 + 3]
jmp 0x14003a5a2
cmp rbp, rdi
jae 0x14003a5a8
movsx eax, byte [rbp]
cmp ax, 0xa
je 0x14003a59d
cmp ax, 0xd
je 0x14003a59d
inc rbp
cmp rbp, rdi
jae 0x14003a5a2
jmp 0x14003a570
movsx eax, byte [rbp]
cmp ax, 0xa
je 0x14003a59a
cmp ax, 0xd
jne 0x14003a5a2
inc rbp
cmp rbp, rdi
jb 0x14003a58a
cmp byte [rbp], 0x23
je 0x14003a56b
lea rcx, [rsp + 0xa0]
mov edx, 0x30
mov qword [rsp + 0xb8], rsi
call fcn.140061420
mov rcx, qword [rsp + 0xa0]
call fcn.14005915c
mov rax, qword [rsp + 0xa0]
dec rdi
movsx ecx, byte [rdi]
mov edx, 9
mov qword [rsp + 0x70], rax
mov rax, rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x58], rax
cmp dx, cx
ja 0x14003a5ff
cmp cx, 0xd
jbe 0x14003a675
mov edx, 0x20
cmp dx, cx
je 0x14003a675
cmp byte [rdi], 0x23
je 0x14003a675
cmp rdi, rbp
jbe 0x14003a642
movsx eax, byte [rdi]
cmp ax, 0xa
je 0x14003a627
cmp ax, 0xd
je 0x14003a627
dec rdi
jmp 0x14003a60e
lea rax, [rdi + 1]
cmp byte [rax], 0x23
jne 0x14003a642
mov byte [rdi], sil
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x58], rax
cmp rax, rsi
jne 0x14003a678
mov rdi, qword [rsp + 0x98]
lea rcx, [rsp + 0xb8]
lea rdx, [rdi + 0x10]
call fcn.14006149c
mov rbp, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x58]
add rdi, rbp
mov qword [rsp + 0x78], rdi
mov qword [rdi], rsi
jmp 0x14003a678
mov byte [rdi], sil
mov rbx, qword [rsp + 0x80]
mov dword [rsp + 0x378], esi
mov qword [rsp + 0x60], rsi
cmp rbp, rdi
jae 0x14003a6c8
mov rax, qword [rsp + 0xb0]
add rax, rbp
mov qword [rsp + 0x50], rax
cmp rax, rdi
jae 0x14003a6e7
lea rdx, str._n_INFFILE_
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrStrA]
cmp rax, rsi
je 0x14003a6e2
mov byte [rax], sil
inc rax
mov qword [rsp + 0x50], rax
jmp 0x14003a6e7
cmp rax, rsi
je 0x14003a7e8
cmp byte [rax], 0x23
je 0x14003a7e8
mov rbp, rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x68]
mov edx, 0x30
call fcn.140061420
mov rcx, qword [rsp + 0x68]
call fcn.14005915c
mov rdi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x368]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rdi + 0x28]
mov qword [rdi], rax
add rdx, 0x63
call fcn.140061798
mov r11, qword [rsp + 0x88]
mov rcx, qword [rdi + 0x28]
add r11d, 0x17
mov rdx, rbx
movsxd r8, r11d
add r8, r8
call fcn.14001d614
mov rax, qword [rsp + 0xc0]
lea r8, [0x140039cd4]
mov qword [rdi + 0x20], rax
lea rax, [0x14013496c]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov edx, 0x20000
xor ecx, ecx
mov dword [rsp + 0x20], 0x10004
mov qword [rdi + 8], rbp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov qword [rdi + 0x10], rax
cmp rax, rsi
je 0x14003a7c1
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
inc dword [rsp + 0x378]
mov qword [rax + rdx*8], rcx
inc rdx
mov rcx, r11
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x40], sil
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x14003a7ca
lea rcx, [rdi + 0x28]
call fcn.140059178
mov rbp, qword [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400591f8
mov rdi, qword [rsp + 0x78]
mov rax, qword [rsp + 0x58]
jmp 0x14003a68c
cmp qword [rsp + 0x60], rsi
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x70]
mov rdi, rsi
jle 0x14003a83d
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rbp + rdi*8]
or edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r11, qword [rbp + rdi*8]
cmp qword [r11 + 0x20], rsi
je 0x14003a82d
mov r11d, dword [r11 + 0x20]
mov dword [rsp + 0x360], r11d
inc rdi
cmp rdi, rbx
jl 0x14003a804
mov rbx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x378]
dec eax
movsxd rdi, eax
cmp rdi, rsi
jl 0x14003a881
mov rcx, qword [rbp + rdi*8]
add rcx, 0x28
call fcn.140059178
mov r11, qword [rbp + rdi*8]
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xc0], r11
mov qword [rbp + rdi*8], rsi
call fcn.1400591f8
sub rdi, 1
jns 0x14003a84e
movsx ecx, byte [rsp + 0x40]
mov r11, qword [rsp + 0x368]
mov edi, dword [rsp + 0x360]
cmp cl, sil
cmovne edi, ecx
lea rcx, [rsp + 0xa0]
mov eax, edi
mov qword [r11 + 0x1a8], rax
call fcn.1400591f8
lea rcx, [rsp + 0xb8]
call fcn.1400591f8
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp rbx, 0xffffffffffffffff
je 0x14003a8db
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, edi
jmp 0x14003acf1
mov rcx, qword [rsp + 0x78]
lea rdx, str..INF
mov r8d, 0x16
call fcn.14001d614
mov rdi, qword [rsp + 0x98]
mov qword [rsp + 0x90], rsi
jmp 0x14003a931
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
mov rdi, rax
cmp rax, rsi
je 0x14003a92e
sub rdi, rbp
add rdi, 2
sar rdi, 1
jmp 0x14003a931
mov rdi, rsi
lea rcx, [rsp + 0xe4]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0xe0], esi
call fcn.1400fae60
mov rbx, qword [rsp + 0x80]
lea r8, [rsp + 0xe0]
lea rcx, [rsp + 0x48]
mov rdx, rbx
mov qword [rsp + 0x48], rsi
call fcn.1400fa184
movsxd rax, edi
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0x48], rsi
je 0x14003ab4c
mov rbp, rbx
mov rax, qword [rsp + 0x368]
mov eax, dword [rax + 0x1a0]
cmp eax, esi
jl 0x14003ab26
lea rcx, [rsp + 0x10c]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x50]
movsxd rbx, eax
lea rdx, [rbx + rdi]
lea rdx, [rdx + rdx + 0xf6]
call fcn.140061420
mov rcx, qword [rsp + 0x50]
call fcn.14005915c
mov r10, qword [rsp + 0x50]
mov rax, qword [rsp + 0x368]
mov qword [r10], rax
mov rcx, qword [rsp + 0x50]
lea eax, [rdi + 0x17]
movsxd r8, eax
add rcx, 0x30
mov rdx, rbp
add r8, r8
mov qword [rsp + 0x88], r10
mov qword [r10 + 0x28], rcx
call fcn.14001d614
mov rax, qword [r10 + 0x28]
mov rcx, qword [rsp + 0xa8]
mov qword [r10 + 0x20], rcx
mov word [rax + rcx*2 + 2], bx
lea eax, [rbx + 1]
movsxd r8, eax
mov rax, qword [r10 + 0x28]
lea rdx, [rsp + 0x10c]
lea rcx, [rax + rdi*2 + 0x4e]
add r8, r8
call fcn.14001d614
lea rax, [0x14013496c]
lea r8, [0x140039794]
mov qword [rsp + 0x28], rax
mov r9, r10
mov edx, 0x20000
xor ecx, ecx
mov byte [rsp + 0x40], sil
mov dword [rsp + 0x20], 0x10004
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0xb0], rax
cmp rax, rsi
je 0x14003ab01
mov rcx, rax
mov qword [rsp + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x140136118]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x88]
mov r11, qword [rax]
mov edx, dword [r11 + 0x1a4]
mov rcx, qword [rax]
inc edx
mov dword [rcx + 0x1a4], edx
lea rcx, [0x140136118]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0xb0]
mov rbx, rax
mov rax, qword [rsp + 0x88]
mov qword [rax + 0x18], rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x50]
call fcn.1400591f8
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, esi
jne 0x14003a988
mov rcx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x360]
cmp rcx, rsi
je 0x14003ab44
cmp rcx, 0xffffffffffffffff
je 0x14003ab44
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x80]
cmp byte [rsp + 0x41], 1
mov qword [rsp + 0x48], rsi
je 0x14003ab62
mov qword [rsp + 0x48], rsi
jmp 0x14003acf1
mov rcx, qword [rsp + 0x78]
lea rdx, [0x14011ad38]
mov r8d, 0xc
call fcn.14001d614
lea r8, [rsp + 0xe0]
lea rcx, [rsp + 0x48]
mov rdx, rbx
mov word [rsp + 0x110], si
call fcn.1400fa184
cmp qword [rsp + 0x48], rsi
je 0x14003ab58
mov rdi, qword [rsp + 0x368]
mov bpl, byte [rsp + 0x378]
mov ecx, 0x2e
mov eax, dword [rdi + 0x1a0]
cmp eax, esi
jl 0x14003ac69
test byte [rsp + 0xe0], 0x10
je 0x14003ac49
cmp cx, word [rsp + 0x10c]
jne 0x14003abf2
cmp word [rsp + 0x10e], si
je 0x14003ac49
cmp cx, word [rsp + 0x10e]
jne 0x14003abf2
cmp word [rsp + 0x110], si
je 0x14003ac49
lea rcx, [rsp + 0x10c]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [rsp + 0x10c]
inc eax
movsxd r8, eax
mov rax, qword [rsp + 0x98]
lea rcx, [rbx + rax*2]
add r8, r8
call fcn.14001d614
mov r8, qword [rsp + 0x370]
mov r9b, bpl
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call fcn.14003a1f0
mov byte [rsp + 0x40], sil
mov word [rsp + 0x110], si
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 0x2e
cmp eax, esi
jne 0x14003abb2
mov rbp, qword [rsp + 0x360]
cmp byte [rsp + 0x42], sil
je 0x14003acc7
lea rcx, [rsp + 0x70]
mov edx, 0x1000
call fcn.14006170c
mov rcx, qword [rsp + 0x70]
lea rdx, str.DeviDir....End:_s
mov r8, rbp
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [rsp + 0x70]
lea rcx, [rdi + 8]
mov r9d, 0x1100
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140025c70
lea rcx, [rsp + 0x70]
call fcn.1400591f8
movsx ecx, byte [rsp + 0x40]
mov eax, ecx
neg cl
mov rcx, qword [rsp + 0x48]
sbb ebx, ebx
and ebx, eax
cmp rcx, rsi
je 0x14003acea
cmp rcx, 0xffffffffffffffff
je 0x14003acea
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x48], rsi
mov esi, ebx
lea rcx, [rsp + 0xc8]
call fcn.1400591f8
mov eax, esi
add rsp, 0x338
pop rdi
pop rsi
pop rbp
pop rbx
ret