Function at 0x4450ea
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0048c888
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x4d23d7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 8
call fcn.0048c888
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x4d23d7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.0048c888
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x4d23d7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, 0x4d23d7
test eax, eax
je 0x445181
add eax, 8
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
nop
nop
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.0048fbe0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4451c7
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4451d5
add eax, 8
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
nop
nop
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
push 0x4d258d
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x445208
mov eax, 0x4d23d7
push eax
push 3
mov ebx, 0x1c4
call fcn.00496370
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x445240
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x44523c
imul eax, dword [ebx]
jmp 0x445231
mov ecx, eax
test ecx, ecx
je 0x44525f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x445258
push ebx
push eax
call fcn.0048c88e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x445246
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.0040207d
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4d2427]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.00402370
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4458cc
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x10]
cmp eax, 0
jge 0x4452b9
push 0xa
call fcn.0048c8a6
add esp, 4
mov dword [ebp - 0x2c], eax
lea ebx, [ebp - 0x30]
call fcn.0040fc20
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0048c888
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x2c]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x14]
call fcn.0040fc20
pop edx
test ecx, ecx
je 0x445315
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x44530b
push ebx
call fcn.0048c88e
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4452fa
pop edx
pop edi
test edx, edx
je 0x445323
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x14]
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x10]
cmp eax, 0
jge 0x44534e
push 0xa
call fcn.0048c8a6
add esp, 4
mov dword [ebp - 0x2c], eax
lea ebx, [ebp - 0x30]
call fcn.0040fc20
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0048c888
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x2c]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x18]
call fcn.0040fc20
pop edx
test ecx, ecx
je 0x4453aa
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4453a0
push ebx
call fcn.0048c88e
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x44538f
pop edx
pop edi
test edx, edx
je 0x4453b8
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x18]
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x445587
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x1c]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
je 0x445416
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0048c888
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x445427
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x44544a
mov eax, 0x4d23d7
push eax
push 1
mov ebx, 0x194
call fcn.0048ec00
add esp, 0x10
dec eax
pop ebx
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov byte [ebx], 0
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x1c]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x445496
mov eax, 0x4d23d7
push eax
push 1
mov ebx, 0x168
call fcn.0048e8e0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4454c2
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.0048e830
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4454fd
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x1c]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x104
push dword [ebp - 0x20]
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
nop
nop
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x1c]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x445566
push eax
mov ebx, eax
call fcn.00402a4e
inc eax
push eax
call fcn.0048c888
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x445579
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4453d3
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4455af
push eax
mov ebx, eax
call fcn.00402a4e
inc eax
push eax
call fcn.0048c888
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4455c0
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4455e5
mov eax, 0x4d22e0
push eax
push 2
mov ebx, 0x134
call fcn.0048f640
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push 0xa0000101
push 0
push 0x4d4395
push 1
mov ebx, 0x168
call fcn.0048e8e0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
call fcn.00402d41
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x445649
push ebx
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x445659
push ebx
call fcn.0048c88e
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x44574a
push 0xa0000101
push 0
push 0x4d2379
push 1
mov ebx, 0x168
call fcn.0048e8e0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x445699
mov eax, 0x4d22e0
push eax
push 1
mov ebx, 0x130
call fcn.0048f6a0
add esp, 0x10
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [0x4d2427]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00402370
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4456e6
mov eax, 0x4d22e0
push eax
push 2
mov ebx, 0x138
call fcn.0048f6c0
add esp, 0x1c
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
push dword [ebp - 0x2c]
mov ecx, 2
call fcn.00402ab9
add esp, 8
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x445722
push ebx
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x445732
push ebx
call fcn.0048c88e
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x445746
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4458c9
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x1c]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push reloc.WS2_32.dll_bind
push 0
push 1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4457a4
mov eax, 0x4d22e0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4457b8
mov eax, 0x4d22e0
push eax
push 4
mov ebx, 0x148
call fcn.0048fd20
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4458c1
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x1c]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x1c]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_bind
push 0
push 0
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x445843
mov eax, 0x4d22e0
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x445859
mov eax, 0x4d22e0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x44586d
mov eax, 0x4d22e0
push eax
push 6
mov ebx, 0x180
call fcn.00491cd0
add esp, 0x4c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x445897
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4458b7
push eax
mov ebx, eax
call fcn.00402a4e
inc eax
push eax
call fcn.0048c888
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4458ed
pop eax
pop ebx
pop ecx
jmp 0x445756
add esp, 0xc
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4458e8
push eax
mov ebx, eax
call fcn.00402a4e
inc eax
push eax
call fcn.0048c888
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4458ed
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4458fe
push ebx
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x44591c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x445918
imul eax, dword [ebx]
jmp 0x44590d
mov ecx, eax
test ecx, ecx
je 0x44593b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x445934
push ebx
push eax
call fcn.0048c88e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x445922
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x445961
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x44595d
imul eax, dword [ebx]
jmp 0x445952
mov ecx, eax
test ecx, ecx
je 0x445980
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x445979
push ebx
push eax
call fcn.0048c88e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x445967
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4459a6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4459a2
imul eax, dword [ebx]
jmp 0x445997
mov ecx, eax
test ecx, ecx
je 0x4459c5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4459be
push ebx
push eax
call fcn.0048c88e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4459ac
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4459dd
push ebx
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4459ed
push ebx
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4459fd
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4