Function at 0x140037260
Capabilities:
Create thread
Get disk information

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x308
mov al, r9b
mov ebx, 1
mov rbp, rdx
and al, 0xf
mov rsi, rcx
mov dword [rsp + 0x50], ebx
mov byte [rsp + 0x330], al
call fcn.1400d43f0
xor ecx, ecx
test byte [rsp + 0x348], 0xf0
lea edi, [rax + 0x20d]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x58], edi
jne 0x1400372d7
cmp eax, 4
jle 0x1400372d7
cdqe
lea rdx, [0x1400f4b88]
lea rcx, [rsi + rax*2 - 8]
call fcn.1400d4614
xor ecx, ecx
mov dword [rsp + 0x60], ebx
cmp eax, ecx
je 0x1400372db
mov dword [rsp + 0x60], ecx
lea eax, [rdi + 0x325]
lea rcx, [rsp + 0x88]
movsxd rdx, eax
call fcn.1400580ac
mov rdi, qword [rsp + 0x88]
movsxd rax, dword [rsp + 0x58]
lea rcx, [rdi + rax*2]
mov r11d, 0x5c
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x48], rcx
cmp word [rsi], r11w
jne 0x140037394
mov rdx, rcx
mov ecx, 0x324
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov rcx, qword [rsp + 0x48]
jmp 0x140037388
mov r8, rcx
lea r9, [rsi + 2]
lea rdx, str._s_s
mov rcx, rdi
call fcn.140014d04
mov r9b, byte [rsp + 0x348]
mov r8, qword [rsp + 0x340]
xor eax, eax
mov rdx, rbp
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140037260
neg eax
sbb ecx, ecx
and ebx, ecx
mov rcx, qword [rsp + 0x48]
call fcn.1400d43f0
mov rcx, qword [rsp + 0x48]
inc eax
lea rcx, [rcx + rax*2]
mov qword [rsp + 0x48], rcx
xor eax, eax
cmp word [rcx], ax
jne 0x140037330
jmp 0x140037bbf
mov r10, qword [rsp + 0x70]
mov rdx, rsi
mov rcx, rdi
lea ebp, [r10 + 1]
movsxd r8, ebp
add r8, r8
call fcn.14001aa74
mov rcx, qword [rsp + 0x338]
movzx eax, word [rcx + 0x54]
shl eax, 0x10
mov dword [rsp + 0x48], eax
xor eax, eax
lea r8d, [rax + 0x2e]
cmp dword [rsp + 0x60], eax
jne 0x140037859
cmp byte [rsp + 0x330], al
jne 0x1400373fc
movsxd rax, r10d
lea rdx, str.INF.INF
mov r8d, 0x16
lea rcx, [rdi + rax*2]
call fcn.14001aa74
lea ebp, [r10 + 5]
jmp 0x140037855
mov rdx, qword [rsp + 0x350]
cmp rdx, rax
jne 0x140037421
movsxd rax, r10d
lea rdx, str._________allinf_file_
lea rcx, [rdi + rax*2]
call fcn.14001aa74
mov rdx, rdi
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x68]
mov r9d, 7
mov r8d, 0xc0000000
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], rax
call fcn.140003588
mov rsi, rax
mov qword [rsp + 0xa0], rax
xor eax, eax
cmp rsi, rax
je 0x14003783a
lea rcx, [rsp + 0x330]
mov edx, 0x2800
call fcn.1400580ac
mov rcx, qword [rsp + 0x330]
lea r8, str.Found___s_
mov r9, rdi
mov edx, 0x27ff
call fcn.1400d5188
mov rbx, qword [rsp + 0x338]
mov rdx, qword [rsp + 0x330]
mov rcx, qword [rbx + 8]
xor ebp, ebp
xor r8d, r8d
lea r9d, [rbp + 0x11]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call fcn.140026bb4
lea rcx, [rsp + 0x330]
call fcn.140050424
mov rcx, rsi
call fcn.1400c34b0
lea r8d, [rbp + 8]
xor r9d, r9d
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.1400c1b80
mov rcx, rax
mov qword [rsp + 0x98], rax
cmp rax, rbp
jne 0x140037515
cmp rsi, 0xffffffffffffffff
je 0x14003750b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
jmp 0x140037bbf
mov rax, rdi
lea rbp, [rcx + rdi]
mov rsi, rcx
cqo
and edx, 3
add rax, rdx
sar rax, 2
add rax, 0xffff
and rax, 0xffffffffffff0000
mov qword [rsp + 0xa8], rax
mov eax, dword [rcx]
and eax, 0xffffff
cmp eax, 0xbfbbef
jne 0x140037588
lea rsi, [rcx + 3]
jmp 0x140037588
cmp rsi, rbp
jae 0x14003758d
movsx eax, byte [rsi]
cmp ax, 0xa
je 0x140037583
cmp ax, 0xd
je 0x140037583
inc rsi
cmp rsi, rbp
jae 0x140037588
jmp 0x140037558
movsx eax, byte [rsi]
cmp ax, 0xa
je 0x140037580
cmp ax, 0xd
jne 0x140037588
inc rsi
cmp rsi, rbp
jb 0x140037571
cmp byte [rsi], 0x23
je 0x140037553
xor eax, eax
lea rcx, [rsp + 0x78]
lea edx, [rax + 0x28]
mov qword [rsp + 0x68], rax
call fcn.140057dc0
mov rcx, qword [rsp + 0x78]
call fcn.1400503d8
mov rax, qword [rsp + 0x78]
xor r8d, r8d
dec rbp
lea edx, [r8 + 9]
mov qword [rsp + 0x80], rax
movsx ecx, byte [rbp]
mov rax, r8
mov qword [rsp + 0x48], rax
cmp dx, cx
ja 0x1400375d9
cmp cx, 0xd
jbe 0x14003763f
mov edx, 0x20
cmp dx, cx
je 0x14003763f
cmp byte [rbp], 0x23
je 0x14003763f
cmp rbp, rsi
jbe 0x14003761a
movsx eax, byte [rbp]
cmp ax, 0xa
je 0x140037603
cmp ax, 0xd
je 0x140037603
dec rbp
jmp 0x1400375e9
lea rax, [rbp + 1]
cmp byte [rax], 0x23
jne 0x14003761a
mov byte [rbp], r8b
mov qword [rsp + 0x48], rax
cmp rax, r8
jne 0x140037643
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x68]
call fcn.140057e3c
mov rsi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
lea rbp, [rsi + rdi]
xor r8d, r8d
mov qword [rbp], r8
jmp 0x140037643
mov byte [rbp], r8b
mov edi, r8d
mov dword [rsp + 0x348], r8d
mov qword [rsp + 0x60], r8
cmp rsi, rbp
jae 0x140037696
mov rax, qword [rsp + 0xa8]
add rax, rsi
mov qword [rsp + 0x330], rax
cmp rax, rbp
jae 0x1400376b8
lea rdx, str._n_INFFILE_
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrStrA]
xor ecx, ecx
cmp rax, rcx
je 0x1400376b0
mov byte [rax], cl
inc rax
mov qword [rsp + 0x330], rax
jmp 0x1400376b8
cmp rax, r8
je 0x140037798
cmp byte [rax], 0x23
je 0x140037798
mov rsi, rax
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x330], rbp
lea rcx, [rsp + 0x50]
mov edx, 0x28
call fcn.140057dc0
mov rcx, qword [rsp + 0x50]
call fcn.1400503d8
mov rdi, qword [rsp + 0x50]
movsxd rdx, dword [rsp + 0x58]
lea rcx, [rdi + 8]
mov qword [rdi], rbx
call fcn.140058138
mov r10, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rdi + 8]
lea r11d, [r10 + 0x17]
movsxd r8, r11d
add r8, r8
call fcn.14001aa74
movsxd rcx, r10d
lea rax, [0x14010d940]
mov qword [rdi + 0x20], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x140036e84]
xor ecx, ecx
mov r9, rdi
mov edx, 0x20000
mov dword [rsp + 0x20], 0x10000
mov qword [rdi + 0x10], rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x330]
mov qword [rdi + 0x18], rax
mov rax, qword [rsp + 0x60]
mov qword [rcx + rax*8], rdi
mov edi, dword [rsp + 0x348]
inc rax
mov qword [rsp + 0x60], rax
xor eax, eax
lea rcx, [rsp + 0x50]
inc edi
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x348], edi
call fcn.140050424
mov rbx, qword [rsp + 0x338]
mov rax, qword [rsp + 0x48]
xor r8d, r8d
jmp 0x140037653
mov rsi, qword [rsp + 0x60]
mov rbx, r8
cmp rsi, r8
jle 0x1400377d0
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rdi + rbx*8]
or edx, 0xffffffff
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc rbx
cmp rbx, rsi
jl 0x1400377ad
mov edi, dword [rsp + 0x348]
xor r8d, r8d
dec edi
movsxd rbx, edi
cmp rbx, r8
jl 0x140037801
mov rax, qword [rsp + 0x80]
lea rcx, [rsp + 0x338]
mov rax, qword [rax + rbx*8]
mov qword [rsp + 0x338], rax
call fcn.140050424
sub rbx, 1
jns 0x1400377da
lea rcx, [rsp + 0x78]
call fcn.140050424
lea rcx, [rsp + 0x68]
call fcn.140050424
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0xa0]
cmp rcx, 0xffffffffffffffff
je 0x14003750b
jmp 0x140037505
movsxd rax, dword [rsp + 0x70]
lea rdx, str..INF
mov r8d, 0x16
lea rcx, [rdi + rax*2]
call fcn.14001aa74
xor eax, eax
jmp 0x14003787f
mov r8d, r11d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
mov rbp, rax
xor eax, eax
cmp rbp, rax
je 0x14003787d
sub rbp, rsi
add rbp, 2
sar rbp, 1
jmp 0x14003787f
mov ebp, eax
lea rcx, [rsp + 0xb4]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0xb0], eax
call fcn.1400d3e60
xor eax, eax
lea r8, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
mov rdx, rdi
mov qword [rsp + 0x40], rax
call fcn.1400d342c
mov rsi, qword [rsp + 0x338]
xor r11d, r11d
cmp qword [rsp + 0x40], r11
je 0x1400379b1
lea rcx, [rsp + 0xdc]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [rsp + 0xdc]
inc eax
movsxd r8, eax
movsxd rax, ebp
lea rcx, [rdi + rax*2]
add r8, r8
call fcn.14001aa74
mov rax, qword [rsp + 0x340]
test rax, rax
je 0x140037916
mov r8, rdi
mov rdx, rax
mov rcx, rsi
call fcn.1400171d0
test al, al
je 0x140037979
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.14002d79c
xor r8d, r8d
mov rcx, rax
mov qword [rsp + 0x58], rax
cmp byte [rsi + 0x5f], r8b
jne 0x140037961
cmp rax, r8
je 0x14003796f
mov eax, r8d
mov dword [rsp + 0x338], eax
cmp byte [rsi + 0x60], r8b
je 0x1400379d1
mov r8d, dword [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.14002dc4c
xor r8d, r8d
mov rax, qword [rsp + 0x58]
cmp rax, r8
je 0x14003796f
mov word [rax], r8w
mov eax, dword [rsp + 0x50]
neg eax
sbb ecx, ecx
and ebx, ecx
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
xor r11d, r11d
cmp eax, r11d
jne 0x1400378cd
mov rcx, qword [rsp + 0x40]
cmp rcx, r11
je 0x1400379b1
cmp rcx, 0xffffffffffffffff
je 0x1400379b1
call qword [sym.imp.KERNEL32.dll_FindClose]
xor r11d, r11d
cmp byte [rsp + 0x330], 1
mov qword [rsp + 0x40], r11
je 0x140037aa0
mov qword [rsp + 0x40], r11
mov ebx, r11d
jmp 0x140037bbf
cmp byte [rsi + 0x5c], 3
je 0x1400379dd
cmp byte [rsi + 0x5e], r8b
je 0x140037a4d
mov rdx, qword [rsp + 0x50]
cmp byte [rsi + 0x5e], r8b
je 0x140037a04
mov r8, rcx
or r9d, 0xffffffff
mov rdx, rdi
mov rcx, rsi
call fcn.14002e5f8
mov rdx, rax
mov qword [rsp + 0x50], rax
jmp 0x140037a23
cmp byte [rsi + 0x5c], 3
jne 0x140037a32
mov r8, rcx
or r9d, 0xffffffff
mov rdx, rdi
mov rcx, rsi
call fcn.14002e774
mov edx, eax
mov qword [rsp + 0x50], rdx
mov rcx, qword [rsp + 0x58]
mov eax, dword [rsp + 0x338]
xor r8d, r8d
inc eax
cmp eax, 2
mov dword [rsp + 0x338], eax
jge 0x140037961
cmp edx, r8d
je 0x140037961
mov r9d, dword [rsp + 0x48]
mov qword [rsp + 0x28], r8
or dword [rsp + 0x20], 0xffffffff
mov rdx, rcx
mov r8, rdi
mov rcx, rsi
call fcn.14002da98
mov edx, eax
mov eax, dword [rsp + 0x338]
inc eax
mov qword [rsp + 0x50], rdx
cmp eax, 2
mov dword [rsp + 0x338], eax
jge 0x14003795e
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
cmp edx, r8d
jne 0x1400379e2
jmp 0x140037961
mov r10, qword [rsp + 0x70]
lea rdx, [0x1400f5918]
mov r8d, 0xc
movsxd rax, r10d
lea rcx, [rdi + rax*2]
call fcn.14001aa74
lea r8, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
mov rdx, rdi
lea ebp, [r10 + 1]
mov word [rsp + 0xe0], r11w
call fcn.1400d342c
xor edx, edx
cmp qword [rsp + 0x40], rdx
jne 0x140037af0
mov ebx, edx
jmp 0x140037bba
test byte [rsp + 0xb0], 0x10
je 0x140037b85
mov ecx, 0x2e
cmp cx, word [rsp + 0xdc]
jne 0x140037b29
movzx eax, word [rsp + 0xde]
cmp ax, dx
je 0x140037b85
cmp cx, ax
jne 0x140037b29
cmp word [rsp + 0xe0], dx
je 0x140037b85
lea rcx, [rsp + 0xdc]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [rsp + 0xdc]
inc eax
movsxd r8, eax
movsxd rax, ebp
lea rcx, [rdi + rax*2]
add r8, r8
call fcn.14001aa74
mov r9b, byte [rsp + 0x348]
mov r8, qword [rsp + 0x340]
xor eax, eax
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140037260
neg eax
sbb ecx, ecx
and ebx, ecx
xor eax, eax
mov word [rsp + 0xe0], ax
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
xor edx, edx
cmp eax, edx
jne 0x140037af0
mov rcx, qword [rsp + 0x40]
cmp rcx, rdx
je 0x140037bba
cmp rcx, 0xffffffffffffffff
je 0x140037bba
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
mov qword [rsp + 0x40], rdx
lea rcx, [rsp + 0x88]
call fcn.140050424
mov eax, ebx
add rsp, 0x308
pop rdi
pop rsi
pop rbp
pop rbx
ret