Function at 0x14003b604
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.140102490
xor esi, esi
lea r10d, [rax + 0x20d]
mov qword [rsp + 0x88], rax
movsxd rcx, r10d
mov qword [rsp + 0x98], rcx
test dil, 0xf0
jne 0x14003b685
cmp eax, 4
jle 0x14003b685
movsxd rcx, eax
lea rdx, [0x140120da8]
lea rcx, [rbp + rcx*2 - 8]
call fcn.1401026b4
mov dword [rsp + 0x68], 1
cmp eax, esi
je 0x14003b689
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.140063314
mov rdi, qword [rsp + 0xc8]
lea rbx, [rdi + rbx*2]
mov qword [rsp + 0x80], rdi
cmp byte [rsp + 0x42], sil
je 0x14003b725
lea rcx, [rsp + 0x60]
mov edx, 0x1000
call fcn.140063314
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.140025f80
lea rcx, [rsp + 0x60]
call fcn.14005aef8
mov eax, 0x5c
cmp word [rbp], ax
jne 0x14003b793
mov rdx, rbx
mov ecx, 0x324
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
jmp 0x14003b789
lea r9, [rbp + 2]
lea rdx, [0x140121578]
mov r8, rbx
mov rcx, rdi
call fcn.1400170d8
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.14003b604
mov rcx, rbx
call fcn.140102490
inc eax
lea rbx, [rbx + rax*2]
cmp word [rbx], si
jne 0x14003b740
jmp 0x14003c10c
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.14001d7d8
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 0x14003bd1f
cmp byte [rsp + 0x41], sil
jne 0x14003b804
lea rdx, str.INF.INF
mov r8d, 0x16
mov rcx, rax
call fcn.14001d7d8
lea ecx, [r10 + 5]
movsxd rdi, ecx
jmp 0x14003bd45
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 0x14003b83b
lea rcx, [r11 + rdi]
lea rdx, str._________allinf_file_
mov r8d, 0x2c
call fcn.14001d7d8
jmp 0x14003b843
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.140003888
mov rbx, qword [rsp + 0x90]
cmp rbx, rsi
je 0x14003bcf6
lea rcx, [rsp + 0x58]
mov edx, 0x2800
call fcn.140063314
mov rcx, qword [rsp + 0x58]
lea r8, str.Found_Index__s_
mov r9, rdi
mov edx, 0x27ff
call fcn.140103198
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.140025f80
lea rcx, [rsp + 0x58]
call fcn.14005aef8
mov rcx, rbx
mov dword [rsp + 0x360], esi
call fcn.1400e5e74
xor r9d, r9d
mov rcx, rbx
lea r8d, [r9 + 8]
mov rdx, rax
mov rdi, rax
mov qword [rsp + 0xa0], rax
call fcn.1400e37b4
mov r8, rax
mov qword [rsp + 0xb0], rax
cmp rax, rsi
jne 0x14003b93e
cmp rbx, 0xffffffffffffffff
je 0x14003b934
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x14003c10c
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 0x14003b9b6
lea rbp, [r8 + 3]
jmp 0x14003b9b6
cmp rbp, rdi
jae 0x14003b9bc
movsx eax, byte [rbp]
cmp ax, 0xa
je 0x14003b9b1
cmp ax, 0xd
je 0x14003b9b1
inc rbp
cmp rbp, rdi
jae 0x14003b9b6
jmp 0x14003b984
movsx eax, byte [rbp]
cmp ax, 0xa
je 0x14003b9ae
cmp ax, 0xd
jne 0x14003b9b6
inc rbp
cmp rbp, rdi
jb 0x14003b99e
cmp byte [rbp], 0x23
je 0x14003b97f
lea rcx, [rsp + 0xa8]
mov edx, 0x30
mov qword [rsp + 0xc0], rsi
call fcn.140063028
mov rcx, qword [rsp + 0xa8]
call fcn.14005ae5c
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 0x14003ba13
cmp cx, 0xd
jbe 0x14003ba89
mov edx, 0x20
cmp dx, cx
je 0x14003ba89
cmp byte [rdi], 0x23
je 0x14003ba89
cmp rdi, rbp
jbe 0x14003ba56
movsx eax, byte [rdi]
cmp ax, 0xa
je 0x14003ba3b
cmp ax, 0xd
je 0x14003ba3b
dec rdi
jmp 0x14003ba22
lea rax, [rdi + 1]
cmp byte [rax], 0x23
jne 0x14003ba56
mov byte [rdi], sil
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x58], rax
cmp rax, rsi
jne 0x14003ba8c
mov rdi, qword [rsp + 0xa0]
lea rcx, [rsp + 0xc0]
lea rdx, [rdi + 0x10]
call fcn.1400630a4
mov rbp, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x58]
add rdi, rbp
mov qword [rsp + 0x78], rdi
mov qword [rdi], rsi
jmp 0x14003ba8c
mov byte [rdi], sil
mov rbx, qword [rsp + 0x80]
mov dword [rsp + 0x378], esi
mov qword [rsp + 0x60], rsi
cmp rbp, rdi
jae 0x14003badc
mov rax, qword [rsp + 0xd0]
add rax, rbp
mov qword [rsp + 0x50], rax
cmp rax, rdi
jae 0x14003bafb
lea rdx, str._n_INFFILE_
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrStrA]
cmp rax, rsi
je 0x14003baf6
mov byte [rax], sil
inc rax
mov qword [rsp + 0x50], rax
jmp 0x14003bafb
cmp rax, rsi
je 0x14003bbfc
cmp byte [rax], 0x23
je 0x14003bbfc
mov rbp, rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x68]
mov edx, 0x30
call fcn.140063028
mov rcx, qword [rsp + 0x68]
call fcn.14005ae5c
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.1400633a0
mov r11, qword [rsp + 0x88]
mov rcx, qword [rdi + 0x28]
add r11d, 0x17
mov rdx, rbx
movsxd r8, r11d
add r8, r8
call fcn.14001d7d8
mov rax, qword [rsp + 0xb8]
lea r8, [0x14003b0d4]
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 0x14003bbd5
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 0x14003bbde
lea rcx, [rdi + 0x28]
call fcn.14005ae78
mov rbp, qword [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.14005aef8
mov rdi, qword [rsp + 0x78]
mov rax, qword [rsp + 0x58]
jmp 0x14003baa0
cmp qword [rsp + 0x60], rsi
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x70]
mov rdi, rsi
jle 0x14003bc51
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 0x14003bc41
mov r11d, dword [r11 + 0x20]
mov dword [rsp + 0x360], r11d
inc rdi
cmp rdi, rbx
jl 0x14003bc18
mov rbx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x378]
dec eax
movsxd rdi, eax
cmp rdi, rsi
jl 0x14003bc95
mov rcx, qword [rbp + rdi*8]
add rcx, 0x28
call fcn.14005ae78
mov r11, qword [rbp + rdi*8]
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0xb8], r11
mov qword [rbp + rdi*8], rsi
call fcn.14005aef8
sub rdi, 1
jns 0x14003bc62
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.14005aef8
lea rcx, [rsp + 0xc0]
call fcn.14005aef8
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp rbx, 0xffffffffffffffff
je 0x14003bcef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, edi
jmp 0x14003c10c
mov rcx, qword [rsp + 0x78]
lea rdx, str..INF
mov r8d, 0x16
call fcn.14001d7d8
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x90], rsi
jmp 0x14003bd45
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
mov rdi, rax
cmp rax, rsi
je 0x14003bd42
sub rdi, rbp
add rdi, 2
sar rdi, 1
jmp 0x14003bd45
mov rdi, rsi
lea rcx, [rsp + 0xe4]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0xe0], esi
call fcn.140101f00
mov rbx, qword [rsp + 0x80]
lea r8, [rsp + 0xe0]
lea rcx, [rsp + 0x48]
mov rdx, rbx
mov qword [rsp + 0x48], rsi
call fcn.140101224
movsxd rax, edi
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0x48], rsi
je 0x14003bf67
mov rbp, rbx
mov rax, qword [rsp + 0x368]
mov eax, dword [rax + 0x1a0]
cmp eax, esi
jl 0x14003bf41
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.140063028
mov rcx, qword [rsp + 0x50]
call fcn.14005ae5c
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.14001d7d8
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.14001d7d8
lea rax, [0x14013c96c]
lea r8, [0x14003ab94]
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 0x14003bf1c
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.14005aef8
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, esi
jne 0x14003bd9c
mov rcx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x360]
cmp rcx, rsi
je 0x14003bf5f
cmp rcx, 0xffffffffffffffff
je 0x14003bf5f
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x80]
cmp byte [rsp + 0x41], 1
mov qword [rsp + 0x48], rsi
je 0x14003bf7d
mov qword [rsp + 0x48], rsi
jmp 0x14003c10c
mov rcx, qword [rsp + 0x78]
lea rdx, [0x140121e20]
mov r8d, 0xc
call fcn.14001d7d8
lea r8, [rsp + 0xe0]
lea rcx, [rsp + 0x48]
mov rdx, rbx
mov word [rsp + 0x110], si
call fcn.140101224
cmp qword [rsp + 0x48], rsi
je 0x14003bf73
mov rdi, qword [rsp + 0x368]
mov bpl, byte [rsp + 0x378]
mov ecx, 0x2e
mov eax, dword [rdi + 0x1a0]
cmp eax, esi
jl 0x14003c084
test byte [rsp + 0xe0], 0x10
je 0x14003c064
cmp cx, word [rsp + 0x10c]
jne 0x14003c00d
cmp word [rsp + 0x10e], si
je 0x14003c064
cmp cx, word [rsp + 0x10e]
jne 0x14003c00d
cmp word [rsp + 0x110], si
je 0x14003c064
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.14001d7d8
mov r8, qword [rsp + 0x370]
mov r9b, bpl
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call fcn.14003b604
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 0x14003bfcd
mov rbp, qword [rsp + 0x360]
cmp byte [rsp + 0x42], sil
je 0x14003c0e2
lea rcx, [rsp + 0x70]
mov edx, 0x1000
call fcn.140063314
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.140025f80
lea rcx, [rsp + 0x70]
call fcn.14005aef8
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 0x14003c105
cmp rcx, 0xffffffffffffffff
je 0x14003c105
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x48], rsi
mov esi, ebx
lea rcx, [rsp + 0xc8]
call fcn.14005aef8
mov eax, esi
add rsp, 0x338
pop rdi
pop rsi
pop rbp
pop rbx
ret