Function at 0x100137f2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.100147b7
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x1002e2cb
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, 0x1002e2d3
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10013858
push ebx
call fcn.100147b1
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x1bc
call fcn.100156b0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10013893
push ebx
call fcn.100147b1
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.100037b8
mov dword [ebp - 0x20], eax
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0x1000
push dword [ebp - 0x20]
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10005fd1
test eax, eax
je 0x10013f6f
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push 2
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100138fa
mov eax, 0x1002e2cb
push eax
push 3
mov ebx, 0x19c
call fcn.10015dd0
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x80000101
jne 0x1001392e
and eax, 0xff
jmp 0x10013983
cmp ecx, 0x80000201
jne 0x10013939
cwde
jmp 0x10013983
cmp ecx, 0x80000301
je 0x10013983
cmp ecx, 0x80000401
je 0x10013983
mov dword [ebp - 0x30], eax
cmp ecx, 0x80000501
je 0x10013973
cmp ecx, 0x80000601
je 0x10013978
push 0xd8
push 0x4012e6e
push 2
call fcn.100147bd
add esp, 0xc
fld dword [ebp - 0x30]
jmp 0x1001397e
mov dword [ebp - 0x2c], edx
fld qword [ebp - 0x30]
call fcn.10001263
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push 9
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100139af
mov eax, 0x1002e2cb
push eax
push 3
mov ebx, 0x1a8
call fcn.10015c80
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100139d9
push ebx
call fcn.100147b1
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.100091ba
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100139ff
push ebx
call fcn.100147b1
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
cmp dword [ebp + 0x14], 0
jne 0x10013a61
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10013a3d
push 0x1fa
push 0x4012e6e
push 6
call fcn.100147bd
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10013a5c
push eax
mov ebx, eax
call fcn.10001810
inc eax
push eax
call fcn.100147b7
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10013f79
push 0x80000301
push 0
push pe_nt_image_headers32
push 1
mov ebx, 0x1bc
call fcn.100156b0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10013a96
push ebx
call fcn.100147b1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10013aa7
add eax, 8
push eax
push pe_nt_image_headers32
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10013ad3
push 0x266
push 0x4012e6e
push 6
call fcn.100147bd
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10013af3
mov eax, 0x1002e2cb
push eax
push 2
mov ebx, 0x1a0
call fcn.10015970
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10013b1d
push ebx
call fcn.100147b1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0x80000005
push 0
push 0x1002e9aa
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10013b46
mov eax, 0x1002e2cb
push eax
push 3
mov ebx, 0x1c4
call fcn.10016260
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10013b7e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10013b7a
imul eax, dword [ebx]
jmp 0x10013b6f
mov ecx, eax
test ecx, ecx
je 0x10013b9d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10013b96
push ebx
push eax
call fcn.100147b1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10013b84
call fcn.100147b1
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
call fcn.10001587
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10013f1a
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.10015520
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10013bfd
push ebx
call fcn.100147b1
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
call fcn.1000128a
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10013c28
push 0x378
push 0x4012e6e
push 4
call fcn.100147bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10013c45
push 0x378
push 0x4012e6e
push 1
call fcn.100147bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x14]
call fcn.1000128a
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10013c74
push 0x398
push 0x4012e6e
push 4
call fcn.100147bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10013c91
push 0x398
push 0x4012e6e
push 1
call fcn.100147bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0x1002e9b4
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 2
call fcn.10006af5
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10013cc9
push ebx
call fcn.100147b1
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
call fcn.1000128a
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10013cf6
push 0x3ce
push 0x4012e6e
push 4
call fcn.100147bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10013d13
push 0x3ce
push 0x4012e6e
push 1
call fcn.100147bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], esp
push 0x80
push dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
je 0x10013d32
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10013d59
push 0x3ce
push 0x4012e6e
push 6
call fcn.100147bd
add esp, 0xc
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10013d7e
mov eax, 0x1002e2d3
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x10013d94
mov eax, 0x1002e2d3
push eax
push 4
mov ebx, 0x148
call fcn.10015340
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x10013f12
mov ebx, dword [ebp - 0x14]
call fcn.1000128a
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10013ddb
push 0x48c
push 0x4012e6e
push 4
call fcn.100147bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10013df8
push 0x48c
push 0x4012e6e
push 1
call fcn.100147bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x80000005
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x10013e15
mov eax, 0x1002e2cb
push eax
push 1
mov ebx, 0x168
call fcn.10014d50
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000002
push 0
push 1
mov ebx, 6
call fcn.1000686b
push 0x80000004
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10013e54
mov eax, 0x1002e2d3
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10013e68
mov eax, 0x1002e2d3
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x10013e7e
mov eax, 0x1002e2d3
push eax
push 6
mov ebx, 0x180
call fcn.100159a0
add esp, 0x4c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10013ea4
push ebx
call fcn.100147b1
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10013eba
push ebx
call fcn.100147b1
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10013eee
push 0x4c6
push 0x4012e6e
push 6
call fcn.100147bd
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10013f0d
push eax
mov ebx, eax
call fcn.10001810
inc eax
push eax
call fcn.100147b7
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10013f79
pop eax
pop ebx
pop ecx
jmp 0x10013bba
add esp, 0xc
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10013f4b
push 0x51c
push 0x4012e6e
push 6
call fcn.100147bd
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10013f6a
push eax
mov ebx, eax
call fcn.10001810
inc eax
push eax
call fcn.100147b7
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10013f79
mov eax, 0x1002e2d3
jmp 0x10013f79
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10013f8a
push ebx
call fcn.100147b1
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10013f9a
push ebx
call fcn.100147b1
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10013fb8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10013fb4
imul eax, dword [ebx]
jmp 0x10013fa9
mov ecx, eax
test ecx, ecx
je 0x10013fd7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10013fd0
push ebx
push eax
call fcn.100147b1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10013fbe
call fcn.100147b1
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10013fef
push ebx
call fcn.100147b1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10