Function at 0x140037b68
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 + 0x41], al
call fcn.1400e0470
xor edi, edi
lea r10d, [rax + 0x20d]
mov qword [rsp + 0xc0], rax
movsxd rcx, r10d
mov qword [rsp + 0x70], rcx
test sil, 0xf0
jne 0x140037be6
cmp eax, 4
jle 0x140037be6
movsxd rcx, eax
lea rdx, [0x140100848]
lea rcx, [rbp + rcx*2 - 8]
call fcn.1400e0694
mov dword [rsp + 0x48], 1
cmp eax, edi
je 0x140037bea
mov dword [rsp + 0x48], edi
mov al, byte [rbx + 0x1b0]
mov rbx, qword [rsp + 0x70]
lea rcx, [rsp + 0xc8]
and al, 2
mov byte [rsp + 0x42], al
lea eax, [rbx + 0x325]
movsxd rdx, eax
call fcn.14005bf78
mov rsi, qword [rsp + 0xc8]
lea rbx, [rsi + rbx*2]
mov qword [rsp + 0x68], rsi
cmp byte [rsp + 0x42], dil
je 0x140037c80
lea rcx, [rsp + 0x58]
mov edx, 0x1000
call fcn.14005bf78
mov rcx, qword [rsp + 0x58]
lea rdx, str.DeviDir....Begin:_s
mov r8, rbp
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsp + 0x358]
mov rdx, qword [rsp + 0x58]
add rcx, 8
mov r9d, 0x1100
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.140026310
lea rcx, [rsp + 0x58]
call fcn.140054110
mov eax, 0x5c
cmp word [rbp], ax
jne 0x140037cee
mov rdx, rbx
mov ecx, 0x324
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
jmp 0x140037ce4
lea r9, [rbp + 2]
lea rdx, str._s_s
mov r8, rbx
mov rcx, rsi
call fcn.140015824
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.140037b68
mov rcx, rbx
call fcn.1400e0470
inc eax
lea rbx, [rbx + rax*2]
cmp word [rbx], di
jne 0x140037c9b
jmp 0x1400385c6
mov r10, qword [rsp + 0xc0]
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.14001b870
movsxd rcx, r10d
lea rax, [rsi + rcx*2]
mov qword [rsp + 0xa0], rcx
mov qword [rax], rdi
mov qword [rsp + 0x78], rax
cmp dword [rsp + 0x48], edi
jne 0x14003824d
cmp byte [rsp + 0x41], dil
jne 0x140037d5f
lea rdx, str.INF.INF
mov r8d, 0x16
mov rcx, rax
call fcn.14001b870
lea ecx, [r10 + 5]
movsxd rsi, ecx
jmp 0x140038273
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 0x140037d96
lea rcx, [r11 + rsi]
lea rdx, str._________allinf_file_
mov r8d, 0x2c
call fcn.14001b870
jmp 0x140037d9e
mov rsi, qword [rsp + 0x370]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x98]
mov r9d, 7
mov r8d, 0xc0000000
mov rdx, rsi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x20], rdi
call fcn.1400037a8
mov rbx, rax
mov qword [rsp + 0xb0], rax
cmp rax, rdi
je 0x14003822c
lea rcx, [rsp + 0x60]
mov edx, 0x2800
call fcn.14005bf78
mov rcx, qword [rsp + 0x60]
lea r8, str.Found_Index__s_
mov r9, rsi
mov edx, 0x27ff
call fcn.1400e1208
mov rcx, qword [rsp + 0x358]
mov rdx, qword [rsp + 0x60]
add rcx, 8
mov r9d, 0x11
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.140026310
lea rcx, [rsp + 0x60]
call fcn.140054110
mov rcx, rbx
mov dword [rsp + 0x350], edi
call fcn.1400cb054
xor r9d, r9d
mov rcx, rbx
lea r8d, [r9 + 8]
mov rdx, rax
mov rbp, rax
call fcn.1400c909c
mov r8, rax
mov qword [rsp + 0xb8], rax
cmp rax, rdi
jne 0x140037e94
cmp rbx, 0xffffffffffffffff
je 0x140037e8a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
jmp 0x1400385c6
mov ecx, dword [r8]
mov rax, rbp
lea rsi, [r8 + rbp]
cqo
and ecx, 0xffffff
mov rbx, r8
and edx, 3
add rax, rdx
sar rax, 2
add rax, 0xffff
and rax, 0xffffffffffff0000
mov qword [rsp + 0x98], rax
cmp ecx, 0xbfbbef
jne 0x140037f0a
lea rbx, [r8 + 3]
jmp 0x140037f0a
cmp rbx, rsi
jae 0x140037f0f
movsx eax, byte [rbx]
cmp ax, 0xa
je 0x140037f05
cmp ax, 0xd
je 0x140037f05
inc rbx
cmp rbx, rsi
jae 0x140037f0a
jmp 0x140037eda
movsx eax, byte [rbx]
cmp ax, 0xa
je 0x140037f02
cmp ax, 0xd
jne 0x140037f0a
inc rbx
cmp rbx, rsi
jb 0x140037ef3
cmp byte [rbx], 0x23
je 0x140037ed5
lea rcx, [rsp + 0xa8]
mov edx, 0x28
mov qword [rsp + 0x90], rdi
call fcn.14005bc8c
mov rcx, qword [rsp + 0xa8]
call fcn.1400540f4
mov rdx, qword [rsp + 0xa8]
dec rsi
movsx ecx, byte [rsi]
mov qword [rsp + 0x48], rdx
mov edx, 9
mov rax, rdi
mov qword [rsp + 0x58], rax
cmp dx, cx
ja 0x140037f61
cmp cx, 0xd
jbe 0x140037fc6
mov edx, 0x20
cmp dx, cx
je 0x140037fc6
cmp byte [rsi], 0x23
je 0x140037fc6
cmp rsi, rbx
jbe 0x140037f9f
movsx eax, byte [rsi]
cmp ax, 0xa
je 0x140037f89
cmp ax, 0xd
je 0x140037f89
dec rsi
jmp 0x140037f70
lea rax, [rsi + 1]
cmp byte [rax], 0x23
jne 0x140037f9f
mov byte [rsi], dil
mov qword [rsp + 0x58], rax
cmp rax, rdi
jne 0x140037fc9
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x90]
call fcn.14005bd08
mov rbx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x58]
lea rsi, [rbx + rbp]
mov qword [rsi], rdi
jmp 0x140037fc9
mov byte [rsi], dil
mov dword [rsp + 0x368], edi
mov qword [rsp + 0x60], rdi
cmp rbx, rsi
jae 0x14003800b
mov rax, qword [rsp + 0x98]
lea rbp, [rbx + rax]
cmp rbp, rsi
jae 0x140038028
lea rdx, str._n_INFFILE_
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrStrA]
mov rbp, rax
cmp rax, rdi
je 0x140038025
mov byte [rax], dil
inc rbp
jmp 0x140038028
cmp rax, rdi
je 0x140038140
cmp byte [rax], 0x23
je 0x140038140
mov rbx, rax
mov qword [rsp + 0x58], rdi
mov rbp, rsi
lea rcx, [rsp + 0x88]
mov edx, 0x28
call fcn.14005bc8c
mov rcx, qword [rsp + 0x88]
call fcn.1400540f4
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x358]
mov rdx, qword [rsp + 0x70]
mov qword [rcx], rax
lea rax, [rcx + 0x20]
mov qword [rsp + 0x78], rcx
mov rcx, rax
add rdx, 0x63
mov qword [rsp + 0x80], rax
call fcn.14005c004
mov r11, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x68]
add r11d, 0x17
mov rcx, qword [rcx]
movsxd r8, r11d
add r8, r8
call fcn.14001b870
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 0x18], rcx
lea rcx, [0x14011a8e4]
lea r8, [0x140037668]
mov qword [rsp + 0x28], rcx
mov r9, rax
mov edx, 0x20000
xor ecx, ecx
mov qword [rax + 8], rbx
mov dword [rsp + 0x20], 0x10000
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x10], rax
cmp rax, rdi
je 0x14003811d
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
inc dword [rsp + 0x368]
mov qword [rdx + rax*8], rcx
inc rax
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x40], dil
jmp 0x140038126
add rcx, 0x20
call fcn.140054110
lea rcx, [rsp + 0x88]
mov rbx, rbp
call fcn.140054110
mov rax, qword [rsp + 0x58]
jmp 0x140037fd5
mov rbp, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rbx, rdi
cmp rbp, rdi
jle 0x140038186
mov rcx, qword [rdx + rbx*8]
or edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0x48]
mov r11, qword [rdx + rbx*8]
cmp qword [r11 + 0x18], rdi
je 0x14003817e
mov r11d, dword [r11 + 0x18]
mov dword [rsp + 0x350], r11d
inc rbx
cmp rbx, rbp
jl 0x140038152
mov ebp, dword [rsp + 0x368]
dec ebp
movsxd rbx, ebp
cmp rbx, rdi
jl 0x1400381c4
mov rcx, qword [rdx + rbx*8]
mov qword [rsp + 0xa0], rcx
add rcx, 0x20
call fcn.140054110
lea rcx, [rsp + 0xa0]
call fcn.140054110
sub rbx, 1
mov rdx, qword [rsp + 0x48]
jns 0x140038197
movsx ecx, byte [rsp + 0x40]
mov r11, qword [rsp + 0x358]
mov ebx, dword [rsp + 0x350]
cmp cl, dil
cmovne ebx, ecx
lea rcx, [rsp + 0xa8]
mov eax, ebx
mov qword [r11 + 0x1a8], rax
call fcn.140054110
lea rcx, [rsp + 0x90]
call fcn.140054110
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0xb0]
cmp rcx, 0xffffffffffffffff
je 0x1400385c4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400385c4
mov rcx, qword [rsp + 0x78]
lea rdx, str..INF
mov r8d, 0x16
call fcn.14001b870
mov rsi, qword [rsp + 0x80]
jmp 0x140038273
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
mov rsi, rax
cmp rax, rdi
je 0x140038270
sub rsi, rbp
add rsi, 2
sar rsi, 1
jmp 0x140038273
mov rsi, rdi
lea rcx, [rsp + 0xd4]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0xd0], edi
call fcn.1400dfee0
mov rbx, qword [rsp + 0x68]
lea r8, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
mov rdx, rbx
mov qword [rsp + 0x50], rdi
call fcn.1400df3ac
movsxd rax, esi
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0x50], rdi
je 0x140038421
mov rbp, rbx
mov rax, qword [rsp + 0x358]
mov eax, dword [rax + 0x1a0]
cmp eax, edi
jl 0x1400383fe
lea rcx, [rsp + 0xfc]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x48]
movsxd rbx, eax
lea rdx, [rbx + rsi]
lea rdx, [rdx + rdx + 0xee]
call fcn.14005bc8c
mov rcx, qword [rsp + 0x48]
call fcn.1400540f4
mov r10, qword [rsp + 0x48]
mov rax, qword [rsp + 0x358]
mov qword [r10], rax
mov rcx, qword [rsp + 0x48]
lea eax, [rsi + 0x17]
movsxd r8, eax
add rcx, 0x28
mov rdx, rbp
add r8, r8
mov qword [rsp + 0xb8], r10
mov qword [r10 + 0x20], rcx
call fcn.14001b870
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.14001b870
lea rax, [0x14011a8e4]
lea r8, [0x140037130]
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 0x1400383d9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0xb8]
jmp 0x1400383cb
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11, qword [rbx + 0x18]
cmp r11, rdi
jg 0x1400383c0
mov qword [rsp + 0x48], rdi
lea rcx, [rsp + 0x48]
call fcn.140054110
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, edi
jne 0x1400382c7
mov rcx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x350]
cmp rcx, rdi
je 0x14003841c
cmp rcx, 0xffffffffffffffff
je 0x14003841c
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x68]
cmp byte [rsp + 0x41], 1
mov qword [rsp + 0x50], rdi
je 0x140038437
mov qword [rsp + 0x50], rdi
jmp 0x1400385c6
mov rcx, qword [rsp + 0x78]
lea rdx, str..
mov r8d, 0xc
call fcn.14001b870
lea r8, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
mov rdx, rbx
mov word [rsp + 0x100], di
call fcn.1400df3ac
cmp qword [rsp + 0x50], rdi
je 0x14003842d
mov rsi, qword [rsp + 0x358]
mov bpl, byte [rsp + 0x368]
mov ecx, 0x2e
mov eax, dword [rsi + 0x1a0]
cmp eax, edi
jl 0x14003853e
test byte [rsp + 0xd0], 0x10
je 0x14003851e
cmp cx, word [rsp + 0xfc]
jne 0x1400384c7
cmp word [rsp + 0xfe], di
je 0x14003851e
cmp cx, word [rsp + 0xfe]
jne 0x1400384c7
cmp word [rsp + 0x100], di
je 0x14003851e
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.14001b870
mov r8, qword [rsp + 0x360]
mov r9b, bpl
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140037b68
mov byte [rsp + 0x40], dil
mov word [rsp + 0x100], di
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 0x2e
cmp eax, edi
jne 0x140038487
mov rbp, qword [rsp + 0x350]
cmp byte [rsp + 0x42], dil
je 0x14003859c
lea rcx, [rsp + 0x70]
mov edx, 0x1000
call fcn.14005bf78
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, [rsi + 8]
mov r9d, 0x1100
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.140026310
lea rcx, [rsp + 0x70]
call fcn.140054110
movsx ecx, byte [rsp + 0x40]
mov eax, ecx
neg cl
mov rcx, qword [rsp + 0x50]
sbb ebx, ebx
and ebx, eax
cmp rcx, rdi
je 0x1400385bf
cmp rcx, 0xffffffffffffffff
je 0x1400385bf
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x50], rdi
mov edi, ebx
lea rcx, [rsp + 0xc8]
call fcn.140054110
mov eax, edi
add rsp, 0x328
pop rdi
pop rsi
pop rbp
pop rbx
ret