Function at 0x419759
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0044fd27
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x488794
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 1
mov eax, 0x68a8ad
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x68dace
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x4197c1
push ebx
call fcn.0044fd2d
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4197d1
push ebx
call fcn.0044fd2d
add esp, 4
mov dword [0x68dc2a], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x1bc
call fcn.004523f0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x419810
push ebx
call fcn.0044fd2d
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x419821
add eax, 8
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x419843
push 6
call fcn.0044fd33
add esp, 4
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x419863
mov eax, 0x488794
push eax
push 2
mov ebx, 0x1a0
call fcn.00452490
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41988d
push ebx
call fcn.0044fd2d
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push reloc.WSOCK32.dll_getpeername
push 0
push 0x488fc1
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4198b6
mov eax, 0x488794
push eax
push 3
mov ebx, 0x1c4
call fcn.00452b60
add esp, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4198ee
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4198ea
imul eax, dword [ebx]
jmp 0x4198df
mov ecx, eax
test ecx, ecx
je 0x41990d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x419906
push ebx
push eax
call fcn.0044fd2d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4198f4
call fcn.0044fd2d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.00404d9a
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x419a04
cmp dword [0x68dc2a], 0
jne 0x4199f7
mov ebx, dword [ebp - 0xc]
call fcn.0040184f
push ebx
push ecx
mov ebx, dword [ebp - 0xc]
call fcn.00404d9a
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x24]
fsub qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x488642]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00402ac3
dec eax
jns 0x419993
push 4
call fcn.0044fd33
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4199a6
push 1
call fcn.0044fd33
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
push reloc.WSOCK32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
test eax, eax
jne 0x4199c3
mov eax, 0x488794
push eax
push 1
mov ebx, 0x168
call fcn.00450b40
add esp, 0x10
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00419b1a
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4199f2
push ebx
call fcn.0044fd2d
add esp, 4
jmp 0x4199fc
jmp 0x419a04
pop eax
pop ebx
pop ecx
jmp 0x41992a
add esp, 0xc
cmp dword [0x68dc2a], 1
jne 0x419a7a
call fcn.0040229f
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push str.data_
push dword [0x68dc2e]
mov ecx, 3
call fcn.004017f3
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x419a4a
push ebx
call fcn.0044fd2d
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.004023b9
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x419a63
push ebx
call fcn.0044fd2d
add esp, 4
push 0x68dabe
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
jmp 0x419ac1
mov eax, 0x68a8ca
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x10
mov eax, 0x68a8d3
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404111
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x419aac
push ebx
call fcn.0044fd2d
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x419abc
push ebx
call fcn.0044fd2d
add esp, 4
jmp 0x419ac1
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x419ad1
push ebx
call fcn.0044fd2d
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x419aef
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x419aeb
imul eax, dword [ebx]
jmp 0x419ae0
mov ecx, eax
test ecx, ecx
je 0x419b0e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x419b07
push ebx
push eax
call fcn.0044fd2d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x419af5
call fcn.0044fd2d
add esp, 4
mov esp, ebp
pop ebp
ret