Function at 0x442c01
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.0048e371
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x50832b
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.0048e371
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x50832b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.0048e371
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x50832b
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 dword [ebp - 0x2c], esp
mov eax, 0x50832b
test eax, eax
je 0x442c9b
add eax, 8
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x442cbd
push 6
call fcn.0048e37d
add esp, 4
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.004911d0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x442cf3
push ebx
call fcn.0048e377
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], esp
mov eax, dword [ebp - 8]
test eax, eax
je 0x442d04
add eax, 8
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x442d24
push 6
call fcn.0048e37d
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
push 0x50f56b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x442d49
mov eax, 0x50832b
push eax
push 3
mov ebx, 0x1c4
call fcn.00497ed0
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 0x442d81
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x442d7d
imul eax, dword [ebx]
jmp 0x442d72
mov ecx, eax
test ecx, ecx
je 0x442da0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x442d99
push ebx
push eax
call fcn.0048e377
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x442d87
call fcn.0048e377
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.00402234
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x50e45a]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.004025e9
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x443422
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x10]
cmp eax, 0
jge 0x442dfa
push 0xa
call fcn.0048e37d
add esp, 4
mov dword [ebp - 0x2c], eax
lea ebx, [ebp - 0x30]
call fcn.0040c16c
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0048e371
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.0040c16c
pop edx
test ecx, ecx
je 0x442e56
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x442e4c
push ebx
call fcn.0048e377
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x442e3b
pop edx
pop edi
test edx, edx
je 0x442e64
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x14]
call fcn.0048e377
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x10]
cmp eax, 0
jge 0x442e8f
push 0xa
call fcn.0048e37d
add esp, 4
mov dword [ebp - 0x2c], eax
lea ebx, [ebp - 0x30]
call fcn.0040c16c
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0048e371
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.0040c16c
pop edx
test ecx, ecx
je 0x442eeb
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x442ee1
push ebx
call fcn.0048e377
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x442ed0
pop edx
pop edi
test edx, edx
je 0x442ef9
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x18]
call fcn.0048e377
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 0x4430dd
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 0x442f57
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0048e371
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 0x442f68
push ebx
call fcn.0048e377
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 0x442f8b
mov eax, 0x50832b
push eax
push 1
mov ebx, 0x194
call fcn.00491110
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 0x442fd7
mov eax, 0x50832b
push eax
push 1
mov ebx, 0x168
call fcn.00490de0
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 0x443003
push ebx
call fcn.0048e377
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.00491200
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x44303e
push ebx
call fcn.0048e377
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
mov dword [ebp - 0x30], esp
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
cmp dword [ebp - 0x30], esp
je 0x443087
push 6
call fcn.0048e37d
add esp, 4
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 0x4430bc
push eax
mov ebx, eax
call fcn.00402d2c
inc eax
push eax
call fcn.0048e371
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 0x4430cf
push ebx
call fcn.0048e377
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x442f14
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x443105
push eax
mov ebx, eax
call fcn.00402d2c
inc eax
push eax
call fcn.0048e371
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 0x443116
push ebx
call fcn.0048e377
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 0x44313b
mov eax, 0x5082b0
push eax
push 2
mov ebx, 0x134
call fcn.00490990
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push 0xa0000101
push 0
push 0x51023b
push 1
mov ebx, 0x168
call fcn.00490de0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
call fcn.00402e9f
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 0x44319f
push ebx
call fcn.0048e377
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4431af
push ebx
call fcn.0048e377
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x4432a0
push 0xa0000101
push 0
push 0x50e5ce
push 1
mov ebx, 0x168
call fcn.00490de0
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 0x4431ef
mov eax, 0x5082b0
push eax
push 1
mov ebx, 0x130
call fcn.004909f0
add esp, 0x10
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [0x50e45a]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.004025e9
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 0x44323c
mov eax, 0x5082b0
push eax
push 2
mov ebx, 0x138
call fcn.00490a10
add esp, 0x1c
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
push dword [ebp - 0x2c]
mov ecx, 2
call fcn.00402d97
add esp, 8
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x443278
push ebx
call fcn.0048e377
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x443288
push ebx
call fcn.0048e377
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x44329c
push ebx
call fcn.0048e377
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 0x44341f
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 0x4432fa
mov eax, 0x5082b0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x44330e
mov eax, 0x5082b0
push eax
push 4
mov ebx, 0x148
call fcn.00491970
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x443417
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 0x443399
mov eax, 0x5082b0
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4433af
mov eax, 0x5082b0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4433c3
mov eax, 0x5082b0
push eax
push 6
mov ebx, 0x180
call fcn.00493860
add esp, 0x4c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4433ed
push ebx
call fcn.0048e377
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x44340d
push eax
mov ebx, eax
call fcn.00402d2c
inc eax
push eax
call fcn.0048e371
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x443443
pop eax
pop ebx
pop ecx
jmp 0x4432ac
add esp, 0xc
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x44343e
push eax
mov ebx, eax
call fcn.00402d2c
inc eax
push eax
call fcn.0048e371
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x443443
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x443454
push ebx
call fcn.0048e377
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x443472
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x44346e
imul eax, dword [ebx]
jmp 0x443463
mov ecx, eax
test ecx, ecx
je 0x443491
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x44348a
push ebx
push eax
call fcn.0048e377
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x443478
call fcn.0048e377
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4434b7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4434b3
imul eax, dword [ebx]
jmp 0x4434a8
mov ecx, eax
test ecx, ecx
je 0x4434d6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4434cf
push ebx
push eax
call fcn.0048e377
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4434bd
call fcn.0048e377
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4434fc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4434f8
imul eax, dword [ebx]
jmp 0x4434ed
mov ecx, eax
test ecx, ecx
je 0x44351b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x443514
push ebx
push eax
call fcn.0048e377
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x443502
call fcn.0048e377
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x443533
push ebx
call fcn.0048e377
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x443543
push ebx
call fcn.0048e377
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x443553
push ebx
call fcn.0048e377
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4