Function at 0x14003a694
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.1400fe190
xor esi, esi
lea r10d, [rax + 0x20d]
mov qword [rsp + 0x88], rax
movsxd rcx, r10d
mov qword [rsp + 0x98], rcx
test dil, 0xf0
jne 0x14003a715
cmp eax, 4
jle 0x14003a715
movsxd rcx, eax
lea rdx, [0x14011bd38]
lea rcx, [rbp + rcx*2 - 8]
call fcn.1400fe3b4
mov dword [rsp + 0x68], 1
cmp eax, esi
je 0x14003a719
mov dword [rsp + 0x68], esi
mov al, byte [rbx + 0x1b0]
mov rbx, qword [rsp + 0x98]
lea rcx, [rsp + 0xc8]
and al, 2
mov byte [rsp + 0x42], al
lea eax, [rbx + 0x325]
movsxd rdx, eax
call fcn.140062268
mov rdi, qword [rsp + 0xc8]
lea rbx, [rdi + rbx*2]
mov qword [rsp + 0x80], rdi
cmp byte [rsp + 0x42], sil
je 0x14003a7b5
lea rcx, [rsp + 0x60]
mov edx, 0x1000
call fcn.140062268
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.140025f94
lea rcx, [rsp + 0x60]
call fcn.140059920
mov eax, 0x5c
cmp word [rbp], ax
jne 0x14003a823
mov rdx, rbx
mov ecx, 0x324
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
jmp 0x14003a819
lea r9, [rbp + 2]
lea rdx, str._s_s
mov r8, rbx
mov rcx, rdi
call fcn.1400170b8
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.14003a694
mov rcx, rbx
call fcn.1400fe190
inc eax
lea rbx, [rbx + rax*2]
cmp word [rbx], si
jne 0x14003a7d0
jmp 0x14003b19c
mov r10, qword [rsp + 0x88]
mov rdx, rbp
mov rcx, rdi
lea eax, [r10 + 1]
cdqe
mov qword [rsp + 0xa0], rax
lea r11, [rax + rax]
mov r8, r11
call fcn.14001d8e0
movsxd rcx, r10d
lea rax, [rdi + rcx*2]
mov qword [rsp + 0xb8], rcx
mov qword [rax], rsi
mov qword [rsp + 0x78], rax
cmp dword [rsp + 0x68], esi
jne 0x14003adaf
cmp byte [rsp + 0x41], sil
jne 0x14003a894
lea rdx, str.INF.INF
mov r8d, 0x16
mov rcx, rax
call fcn.14001d8e0
lea ecx, [r10 + 5]
movsxd rdi, ecx
jmp 0x14003add5
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 0x14003a8cb
lea rcx, [r11 + rdi]
lea rdx, str._________allinf_file_
mov r8d, 0x2c
call fcn.14001d8e0
jmp 0x14003a8d3
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.14000384c
mov rbx, qword [rsp + 0x90]
cmp rbx, rsi
je 0x14003ad86
lea rcx, [rsp + 0x58]
mov edx, 0x2800
call fcn.140062268
mov rcx, qword [rsp + 0x58]
lea r8, str.Found_Index__s_
mov r9, rdi
mov edx, 0x27ff
call fcn.1400fee98
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.140025f94
lea rcx, [rsp + 0x58]
call fcn.140059920
mov rcx, rbx
mov dword [rsp + 0x360], esi
call fcn.1400e1fa4
xor r9d, r9d
mov rcx, rbx
lea r8d, [r9 + 8]
mov rdx, rax
mov rdi, rax
mov qword [rsp + 0xa0], rax
call fcn.1400df93c
mov r8, rax
mov qword [rsp + 0xb0], rax
cmp rax, rsi
jne 0x14003a9ce
cmp rbx, 0xffffffffffffffff
je 0x14003a9c4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x14003b19c
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 + 0xd0], rax
cmp ecx, 0xbfbbef
jne 0x14003aa46
lea rbp, [r8 + 3]
jmp 0x14003aa46
cmp rbp, rdi
jae 0x14003aa4c
movsx eax, byte [rbp]
cmp ax, 0xa
je 0x14003aa41
cmp ax, 0xd
je 0x14003aa41
inc rbp
cmp rbp, rdi
jae 0x14003aa46
jmp 0x14003aa14
movsx eax, byte [rbp]
cmp ax, 0xa
je 0x14003aa3e
cmp ax, 0xd
jne 0x14003aa46
inc rbp
cmp rbp, rdi
jb 0x14003aa2e
cmp byte [rbp], 0x23
je 0x14003aa0f
lea rcx, [rsp + 0xa8]
mov edx, 0x30
mov qword [rsp + 0xc0], rsi
call fcn.140061f7c
mov rcx, qword [rsp + 0xa8]
call fcn.140059884
mov rax, qword [rsp + 0xa8]
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 0x14003aaa3
cmp cx, 0xd
jbe 0x14003ab19
mov edx, 0x20
cmp dx, cx
je 0x14003ab19
cmp byte [rdi], 0x23
je 0x14003ab19
cmp rdi, rbp
jbe 0x14003aae6
movsx eax, byte [rdi]
cmp ax, 0xa
je 0x14003aacb
cmp ax, 0xd
je 0x14003aacb
dec rdi
jmp 0x14003aab2
lea rax, [rdi + 1]
cmp byte [rax], 0x23
jne 0x14003aae6
mov byte [rdi], sil
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x58], rax
cmp rax, rsi
jne 0x14003ab1c
mov rdi, qword [rsp + 0xa0]
lea rcx, [rsp + 0xc0]
lea rdx, [rdi + 0x10]
call fcn.140061ff8
mov rbp, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x58]
add rdi, rbp
mov qword [rsp + 0x78], rdi
mov qword [rdi], rsi
jmp 0x14003ab1c
mov byte [rdi], sil
mov rbx, qword [rsp + 0x80]
mov dword [rsp + 0x378], esi
mov qword [rsp + 0x60], rsi
cmp rbp, rdi
jae 0x14003ab6c
mov rax, qword [rsp + 0xd0]
add rax, rbp
mov qword [rsp + 0x50], rax
cmp rax, rdi
jae 0x14003ab8b
lea rdx, str._n_INFFILE_
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrStrA]
cmp rax, rsi
je 0x14003ab86
mov byte [rax], sil
inc rax
mov qword [rsp + 0x50], rax
jmp 0x14003ab8b
cmp rax, rsi
je 0x14003ac8c
cmp byte [rax], 0x23
je 0x14003ac8c
mov rbp, rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x68]
mov edx, 0x30
call fcn.140061f7c
mov rcx, qword [rsp + 0x68]
call fcn.140059884
mov rdi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x368]
mov rdx, qword [rsp + 0x98]
lea rcx, [rdi + 0x28]
mov qword [rdi], rax
add rdx, 0x63
call fcn.1400622f4
mov r11, qword [rsp + 0x88]
mov rcx, qword [rdi + 0x28]
add r11d, 0x17
mov rdx, rbx
movsxd r8, r11d
add r8, r8
call fcn.14001d8e0
mov rax, qword [rsp + 0xb8]
lea r8, [0x14003a164]
mov qword [rdi + 0x20], rax
lea rax, [0x14013696c]
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 0x14003ac65
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 0x14003ac6e
lea rcx, [rdi + 0x28]
call fcn.1400598a0
mov rbp, qword [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.140059920
mov rdi, qword [rsp + 0x78]
mov rax, qword [rsp + 0x58]
jmp 0x14003ab30
cmp qword [rsp + 0x60], rsi
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x70]
mov rdi, rsi
jle 0x14003ace1
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 0x14003acd1
mov r11d, dword [r11 + 0x20]
mov dword [rsp + 0x360], r11d
inc rdi
cmp rdi, rbx
jl 0x14003aca8
mov rbx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x378]
dec eax
movsxd rdi, eax
cmp rdi, rsi
jl 0x14003ad25
mov rcx, qword [rbp + rdi*8]
add rcx, 0x28
call fcn.1400598a0
mov r11, qword [rbp + rdi*8]
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0xb8], r11
mov qword [rbp + rdi*8], rsi
call fcn.140059920
sub rdi, 1
jns 0x14003acf2
movsx ecx, byte [rsp + 0x40]
mov r11, qword [rsp + 0x368]
mov edi, dword [rsp + 0x360]
cmp cl, sil
cmovne edi, ecx
lea rcx, [rsp + 0xa8]
mov eax, edi
mov qword [r11 + 0x1a8], rax
call fcn.140059920
lea rcx, [rsp + 0xc0]
call fcn.140059920
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp rbx, 0xffffffffffffffff
je 0x14003ad7f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, edi
jmp 0x14003b19c
mov rcx, qword [rsp + 0x78]
lea rdx, str..INF
mov r8d, 0x16
call fcn.14001d8e0
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x90], rsi
jmp 0x14003add5
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
mov rdi, rax
cmp rax, rsi
je 0x14003add2
sub rdi, rbp
add rdi, 2
sar rdi, 1
jmp 0x14003add5
mov rdi, rsi
lea rcx, [rsp + 0xe4]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0xe0], esi
call fcn.1400fdc00
mov rbx, qword [rsp + 0x80]
lea r8, [rsp + 0xe0]
lea rcx, [rsp + 0x48]
mov rdx, rbx
mov qword [rsp + 0x48], rsi
call fcn.1400fcf20
movsxd rax, edi
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0x48], rsi
je 0x14003aff7
mov rbp, rbx
mov rax, qword [rsp + 0x368]
mov eax, dword [rax + 0x1a0]
cmp eax, esi
jl 0x14003afd1
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.140061f7c
mov rcx, qword [rsp + 0x50]
call fcn.140059884
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.14001d8e0
mov rax, qword [r10 + 0x28]
mov rcx, qword [rsp + 0xb0]
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.14001d8e0
lea rax, [0x14013696c]
lea r8, [0x140039c24]
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 + 0x98], rax
cmp rax, rsi
je 0x14003afac
lea rcx, [0x140138118]
mov qword [rsp + 0x50], rsi
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, [0x140138118]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x98]
mov rbx, rax
mov rax, qword [rsp + 0x88]
mov qword [rax + 0x18], rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
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.140059920
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, esi
jne 0x14003ae2c
mov rcx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x360]
cmp rcx, rsi
je 0x14003afef
cmp rcx, 0xffffffffffffffff
je 0x14003afef
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x80]
cmp byte [rsp + 0x41], 1
mov qword [rsp + 0x48], rsi
je 0x14003b00d
mov qword [rsp + 0x48], rsi
jmp 0x14003b19c
mov rcx, qword [rsp + 0x78]
lea rdx, [0x14011cd38]
mov r8d, 0xc
call fcn.14001d8e0
lea r8, [rsp + 0xe0]
lea rcx, [rsp + 0x48]
mov rdx, rbx
mov word [rsp + 0x110], si
call fcn.1400fcf20
cmp qword [rsp + 0x48], rsi
je 0x14003b003
mov rdi, qword [rsp + 0x368]
mov bpl, byte [rsp + 0x378]
mov ecx, 0x2e
mov eax, dword [rdi + 0x1a0]
cmp eax, esi
jl 0x14003b114
test byte [rsp + 0xe0], 0x10
je 0x14003b0f4
cmp cx, word [rsp + 0x10c]
jne 0x14003b09d
cmp word [rsp + 0x10e], si
je 0x14003b0f4
cmp cx, word [rsp + 0x10e]
jne 0x14003b09d
cmp word [rsp + 0x110], si
je 0x14003b0f4
lea rcx, [rsp + 0x10c]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [rsp + 0x10c]
inc eax
movsxd r8, eax
mov rax, qword [rsp + 0xa0]
lea rcx, [rbx + rax*2]
add r8, r8
call fcn.14001d8e0
mov r8, qword [rsp + 0x370]
mov r9b, bpl
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call fcn.14003a694
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 0x14003b05d
mov rbp, qword [rsp + 0x360]
cmp byte [rsp + 0x42], sil
je 0x14003b172
lea rcx, [rsp + 0x70]
mov edx, 0x1000
call fcn.140062268
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.140025f94
lea rcx, [rsp + 0x70]
call fcn.140059920
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 0x14003b195
cmp rcx, 0xffffffffffffffff
je 0x14003b195
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x48], rsi
mov esi, ebx
lea rcx, [rsp + 0xc8]
call fcn.140059920
mov eax, esi
add rsp, 0x338
pop rdi
pop rsi
pop rbp
pop rbx
ret