Function at 0x14003b540
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.140103020
xor esi, esi
lea r10d, [rax + 0x20d]
mov qword [rsp + 0x88], rax
movsxd rcx, r10d
mov qword [rsp + 0x98], rcx
test dil, 0xf0
jne 0x14003b5c1
cmp eax, 4
jle 0x14003b5c1
movsxd rcx, eax
lea rdx, [0x140120dc8]
lea rcx, [rbp + rcx*2 - 8]
call fcn.140103244
mov dword [rsp + 0x68], 1
cmp eax, esi
je 0x14003b5c5
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.140063694
mov rdi, qword [rsp + 0xc8]
lea rbx, [rdi + rbx*2]
mov qword [rsp + 0x80], rdi
cmp byte [rsp + 0x42], sil
je 0x14003b661
lea rcx, [rsp + 0x60]
mov edx, 0x1000
call fcn.140063694
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.140025f10
lea rcx, [rsp + 0x60]
call fcn.14005b104
mov eax, 0x5c
cmp word [rbp], ax
jne 0x14003b6cf
mov rdx, rbx
mov ecx, 0x324
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
jmp 0x14003b6c5
lea r9, [rbp + 2]
lea rdx, str._s_s
mov r8, rbx
mov rcx, rdi
call fcn.14001708c
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.14003b540
mov rcx, rbx
call fcn.140103020
inc eax
lea rbx, [rbx + rax*2]
cmp word [rbx], si
jne 0x14003b67c
jmp 0x14003c048
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.14001d78c
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 0x14003bc5b
cmp byte [rsp + 0x41], sil
jne 0x14003b740
lea rdx, str.INF.INF
mov r8d, 0x16
mov rcx, rax
call fcn.14001d78c
lea ecx, [r10 + 5]
movsxd rdi, ecx
jmp 0x14003bc81
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 0x14003b777
lea rcx, [r11 + rdi]
lea rdx, str._________allinf_file_
mov r8d, 0x2c
call fcn.14001d78c
jmp 0x14003b77f
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.140003864
mov rbx, qword [rsp + 0x90]
cmp rbx, rsi
je 0x14003bc32
lea rcx, [rsp + 0x58]
mov edx, 0x2800
call fcn.140063694
mov rcx, qword [rsp + 0x58]
lea r8, str.Found_Index__s_
mov r9, rdi
mov edx, 0x27ff
call fcn.140103d28
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.140025f10
lea rcx, [rsp + 0x58]
call fcn.14005b104
mov rcx, rbx
mov dword [rsp + 0x360], esi
call fcn.1400e693c
xor r9d, r9d
mov rcx, rbx
lea r8d, [r9 + 8]
mov rdx, rax
mov rdi, rax
mov qword [rsp + 0xa0], rax
call fcn.1400e3f80
mov r8, rax
mov qword [rsp + 0xb0], rax
cmp rax, rsi
jne 0x14003b87a
cmp rbx, 0xffffffffffffffff
je 0x14003b870
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x14003c048
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 0x14003b8f2
lea rbp, [r8 + 3]
jmp 0x14003b8f2
cmp rbp, rdi
jae 0x14003b8f8
movsx eax, byte [rbp]
cmp ax, 0xa
je 0x14003b8ed
cmp ax, 0xd
je 0x14003b8ed
inc rbp
cmp rbp, rdi
jae 0x14003b8f2
jmp 0x14003b8c0
movsx eax, byte [rbp]
cmp ax, 0xa
je 0x14003b8ea
cmp ax, 0xd
jne 0x14003b8f2
inc rbp
cmp rbp, rdi
jb 0x14003b8da
cmp byte [rbp], 0x23
je 0x14003b8bb
lea rcx, [rsp + 0xa8]
mov edx, 0x30
mov qword [rsp + 0xc0], rsi
call fcn.1400633a8
mov rcx, qword [rsp + 0xa8]
call fcn.14005b0b8
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 0x14003b94f
cmp cx, 0xd
jbe 0x14003b9c5
mov edx, 0x20
cmp dx, cx
je 0x14003b9c5
cmp byte [rdi], 0x23
je 0x14003b9c5
cmp rdi, rbp
jbe 0x14003b992
movsx eax, byte [rdi]
cmp ax, 0xa
je 0x14003b977
cmp ax, 0xd
je 0x14003b977
dec rdi
jmp 0x14003b95e
lea rax, [rdi + 1]
cmp byte [rax], 0x23
jne 0x14003b992
mov byte [rdi], sil
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x58], rax
cmp rax, rsi
jne 0x14003b9c8
mov rdi, qword [rsp + 0xa0]
lea rcx, [rsp + 0xc0]
lea rdx, [rdi + 0x10]
call fcn.140063424
mov rbp, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x58]
add rdi, rbp
mov qword [rsp + 0x78], rdi
mov qword [rdi], rsi
jmp 0x14003b9c8
mov byte [rdi], sil
mov rbx, qword [rsp + 0x80]
mov dword [rsp + 0x378], esi
mov qword [rsp + 0x60], rsi
cmp rbp, rdi
jae 0x14003ba18
mov rax, qword [rsp + 0xd0]
add rax, rbp
mov qword [rsp + 0x50], rax
cmp rax, rdi
jae 0x14003ba37
lea rdx, str._n_INFFILE_
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrStrA]
cmp rax, rsi
je 0x14003ba32
mov byte [rax], sil
inc rax
mov qword [rsp + 0x50], rax
jmp 0x14003ba37
cmp rax, rsi
je 0x14003bb38
cmp byte [rax], 0x23
je 0x14003bb38
mov rbp, rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x68]
mov edx, 0x30
call fcn.1400633a8
mov rcx, qword [rsp + 0x68]
call fcn.14005b0b8
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.140063720
mov r11, qword [rsp + 0x88]
mov rcx, qword [rdi + 0x28]
add r11d, 0x17
mov rdx, rbx
movsxd r8, r11d
add r8, r8
call fcn.14001d78c
mov rax, qword [rsp + 0xb8]
lea r8, [0x14003b010]
mov qword [rdi + 0x20], rax
lea rax, [0x14013c96c]
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 0x14003bb11
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 0x14003bb1a
lea rcx, [rdi + 0x28]
call fcn.14005b0d4
mov rbp, qword [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.14005b104
mov rdi, qword [rsp + 0x78]
mov rax, qword [rsp + 0x58]
jmp 0x14003b9dc
cmp qword [rsp + 0x60], rsi
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x70]
mov rdi, rsi
jle 0x14003bb8d
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 0x14003bb7d
mov r11d, dword [r11 + 0x20]
mov dword [rsp + 0x360], r11d
inc rdi
cmp rdi, rbx
jl 0x14003bb54
mov rbx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x378]
dec eax
movsxd rdi, eax
cmp rdi, rsi
jl 0x14003bbd1
mov rcx, qword [rbp + rdi*8]
add rcx, 0x28
call fcn.14005b0d4
mov r11, qword [rbp + rdi*8]
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0xb8], r11
mov qword [rbp + rdi*8], rsi
call fcn.14005b104
sub rdi, 1
jns 0x14003bb9e
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.14005b104
lea rcx, [rsp + 0xc0]
call fcn.14005b104
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp rbx, 0xffffffffffffffff
je 0x14003bc2b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, edi
jmp 0x14003c048
mov rcx, qword [rsp + 0x78]
lea rdx, str..INF
mov r8d, 0x16
call fcn.14001d78c
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x90], rsi
jmp 0x14003bc81
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
mov rdi, rax
cmp rax, rsi
je 0x14003bc7e
sub rdi, rbp
add rdi, 2
sar rdi, 1
jmp 0x14003bc81
mov rdi, rsi
lea rcx, [rsp + 0xe4]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0xe0], esi
call fcn.140102a90
mov rbx, qword [rsp + 0x80]
lea r8, [rsp + 0xe0]
lea rcx, [rsp + 0x48]
mov rdx, rbx
mov qword [rsp + 0x48], rsi
call fcn.140101db8
movsxd rax, edi
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0x48], rsi
je 0x14003bea3
mov rbp, rbx
mov rax, qword [rsp + 0x368]
mov eax, dword [rax + 0x1a0]
cmp eax, esi
jl 0x14003be7d
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.1400633a8
mov rcx, qword [rsp + 0x50]
call fcn.14005b0b8
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.14001d78c
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.14001d78c
lea rax, [0x14013c96c]
lea r8, [0x14003aad0]
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 0x14003be58
lea rcx, [0x14013e190]
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, [0x14013e190]
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.14005b104
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, esi
jne 0x14003bcd8
mov rcx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x360]
cmp rcx, rsi
je 0x14003be9b
cmp rcx, 0xffffffffffffffff
je 0x14003be9b
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x80]
cmp byte [rsp + 0x41], 1
mov qword [rsp + 0x48], rsi
je 0x14003beb9
mov qword [rsp + 0x48], rsi
jmp 0x14003c048
mov rcx, qword [rsp + 0x78]
lea rdx, [0x140121e40]
mov r8d, 0xc
call fcn.14001d78c
lea r8, [rsp + 0xe0]
lea rcx, [rsp + 0x48]
mov rdx, rbx
mov word [rsp + 0x110], si
call fcn.140101db8
cmp qword [rsp + 0x48], rsi
je 0x14003beaf
mov rdi, qword [rsp + 0x368]
mov bpl, byte [rsp + 0x378]
mov ecx, 0x2e
mov eax, dword [rdi + 0x1a0]
cmp eax, esi
jl 0x14003bfc0
test byte [rsp + 0xe0], 0x10
je 0x14003bfa0
cmp cx, word [rsp + 0x10c]
jne 0x14003bf49
cmp word [rsp + 0x10e], si
je 0x14003bfa0
cmp cx, word [rsp + 0x10e]
jne 0x14003bf49
cmp word [rsp + 0x110], si
je 0x14003bfa0
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.14001d78c
mov r8, qword [rsp + 0x370]
mov r9b, bpl
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call fcn.14003b540
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 0x14003bf09
mov rbp, qword [rsp + 0x360]
cmp byte [rsp + 0x42], sil
je 0x14003c01e
lea rcx, [rsp + 0x70]
mov edx, 0x1000
call fcn.140063694
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.140025f10
lea rcx, [rsp + 0x70]
call fcn.14005b104
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 0x14003c041
cmp rcx, 0xffffffffffffffff
je 0x14003c041
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x48], rsi
mov esi, ebx
lea rcx, [rsp + 0xc8]
call fcn.14005b104
mov eax, esi
add rsp, 0x338
pop rdi
pop rsi
pop rbp
pop rbx
ret