Function at 0x100437ee
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10043846
lea eax, [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x1004381f
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x10043841
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x10043841
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
jmp 0x10043b46
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xbc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x100438d5
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x10043b46
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x10043abb
push 1
mov ecx, dword [ebp - 4]
call fcn.1000ba29
mov eax, dword [eax]
sub eax, 0x1e8cb7da
mov ecx, dword [ebp - 0xc]
imul eax, dword [ecx]
test eax, eax
jne 0x100439c8
push 0
mov ecx, dword [ebp - 4]
call fcn.1000ba29
cmp dword [eax], 0
jne 0x100439c8
and dword [ebp - 0x10], 0
jmp 0x100439cf
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0
jne 0x100439e6
mov dword [ebp - 0x44], 1
jmp 0x100439ea
and dword [ebp - 0x44], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.1000ba29
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jne 0x10043a04
mov dword [ebp - 0x24], 1
jmp 0x10043a08
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jg 0x10043a1b
mov dword [ebp - 0x3c], 1
jmp 0x10043a1f
and dword [ebp - 0x3c], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.1000ba29
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax]
jle 0x10043a39
mov dword [ebp - 0x18], 1
jmp 0x10043a3d
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 2
jb 0x10043a4c
mov dword [ebp - 0x4c], 1
jmp 0x10043a50
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
jge 0x10043a6a
mov eax, dword [ebp - 0xb0]
cmp dword [eax], 0
je 0x10043a6a
mov dword [ebp - 0x34], 1
jmp 0x10043a6e
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jne 0x10043a81
mov dword [ebp - 0x1c], 1
jmp 0x10043a85
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xb8]
mov dword [eax], 3
cmp dword [ebp - 0x1c], 3
jg 0x10043aa0
mov dword [ebp - 0x20], 1
jmp 0x10043aa4
and dword [ebp - 0x20], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.1000ba29
mov eax, dword [eax]
cmp eax, dword [ebp - 0x20]
jl 0x10043abb
and dword [ebp - 0x28], 0
jmp 0x10043ac2
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xd0], eax
push 1
mov ecx, dword [ebp - 4]
call fcn.1000ba29
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x10043aff
mov dword [ebp - 0x30], 1
jmp 0x10043b03
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jg 0x10043b1b
mov dword [ebp - 0x40], 1
jmp 0x10043b1f
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
cmp eax, dword [ecx]
jne 0x10043b37
mov dword [ebp - 0x50], 1
jmp 0x10043b3b
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret