Function at 0x4ffdde
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 8
call fcn.00535595
add esp, 4
mov dword [ebp - 0x20], eax
mov edi, eax
mov esi, 0x6187fe
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x1bc
call fcn.00536520
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ffe7d
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], esp
lea eax, [ebp - 0xc]
push eax
push 0x1000
mov eax, dword [ebp - 4]
test eax, eax
je 0x4ffe97
add eax, 8
push eax
push 1
push dword [ebp + 8]
call dword [0x637a81]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4ffebc
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 8], eax
push dword [ebp - 8]
call fcn.004ffb70
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4ffede
mov eax, 0x618809
jmp 0x50032d
lea eax, [ebp - 4]
push eax
call fcn.005003ca
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x61897b]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.0049d9a9
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call fcn.005003f1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4fff26
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x1bc
call fcn.00536520
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4fff5f
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], esp
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4fff70
add eax, 8
push eax
push 0x200
call dword [sym.imp.kernel32.dll_GetLogicalDriveStringsA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4fff92
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x500323
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fdiv qword [0x618fcc]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0049d9a9
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_getpeername
push 0
push 0x6188ef
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4fffe0
mov eax, 0x6187fe
push eax
push 3
mov ebx, 0x1c4
call fcn.005384b0
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x500018
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x500014
imul eax, dword [ebx]
jmp 0x500009
mov ecx, eax
test ecx, ecx
je 0x500037
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x500030
push ebx
push eax
call fcn.0053558f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x50001e
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x20]
call fcn.0049ecb4
xor ecx, ecx
push eax
lea eax, [ebp - 0x24]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x500320
mov ebx, dword [ebp - 0x20]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x50007f
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x500092
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x5000af
mov eax, 0x6187fe
push eax
push 1
mov ebx, 0x168
call fcn.005386e0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x5000d9
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0x618809
push dword [ebp - 0x28]
call fcn.0049e165
add esp, 8
cmp eax, 0
je 0x500318
push 0x80000301
push 0
push 2
push SysStringLen
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x500115
mov eax, 0x618809
push eax
push 2
mov ebx, 0x134
call fcn.005368e0
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x50013f
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.005383c0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x500178
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0x100
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call dword [sym.imp.kernel32.dll_QueryDosDeviceA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x5001a6
push 6
call fcn.0053559b
add esp, 4
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x5001cb
mov eax, 0x618809
push eax
push SysStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x5001df
mov eax, 0x618809
push eax
push 4
mov ebx, 0x148
call fcn.00538ab0
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jne 0x500318
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x500212
mov eax, 0x618809
push eax
push 1
mov ebx, 0x130
call fcn.005368d0
add esp, 0x10
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x61880c]
fstp qword [ebp - 0x40]
push SysStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x50024d
mov eax, 0x618809
push eax
push 1
mov ebx, 0x130
call fcn.005368d0
add esp, 0x10
mov dword [ebp - 0x44], eax
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x500276
mov eax, 0x618809
push eax
push 1
mov ebx, 0x130
call fcn.005368d0
add esp, 0x10
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x44]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fild dword [ebp - 0x48]
fstp qword [ebp - 0x58]
fsub qword [ebp - 0x58]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
call fcn.0049d9a9
push 0x80000301
push 0
push eax
fld qword [ebp - 0x40]
call fcn.0049d9a9
push 0x80000301
push 0
push eax
push SysStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x5002d4
mov eax, 0x618809
push eax
push 3
mov ebx, 0x13c
call fcn.00539850
add esp, 0x28
mov dword [ebp - 0x64], eax
push dword [ebp - 0x64]
push dword [ebp - 0x28]
mov ecx, 2
call fcn.0049d94d
add esp, 8
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x500310
push ebx
call fcn.0053558f
add esp, 4
mov eax, dword [ebp - 0x68]
jmp 0x50032d
pop eax
pop ebx
pop ecx
jmp 0x500054
add esp, 0xc
mov eax, 0x618809
jmp 0x50032d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x50033e
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x50034e
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x50035e
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x50037c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x500378
imul eax, dword [ebx]
jmp 0x50036d
mov ecx, eax
test ecx, ecx
je 0x50039b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x500394
push ebx
push eax
call fcn.0053558f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x500382
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x5003b3
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x5003c3
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4