Function at 0x41cf91
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00427919
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x432422
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x1c
call fcn.00427919
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x1bc
call fcn.00428e40
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d023
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x41d034
add eax, 8
push eax
push 0xff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41d060
push 0x4f
push 0x4014fa6
push 6
call fcn.0042792b
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x41d315
push 0x80000301
push 0
push dword [ebp - 8]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d08a
mov eax, 0x432422
push eax
push 2
mov ebx, 0x1a0
call fcn.00428d20
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d0b4
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
push 0x432a47
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d0dd
mov eax, 0x432422
push eax
push 3
mov ebx, 0x1c4
call fcn.00429710
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41d115
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41d111
imul eax, dword [ebx]
jmp 0x41d106
mov ecx, eax
test ecx, ecx
je 0x41d134
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41d12d
push ebx
push eax
call fcn.0042791f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41d11b
call fcn.0042791f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.00401230
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x41d312
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
call fcn.00401249
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x41d192
push 0x1c8
push 0x4014fa6
push 4
call fcn.0042792b
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41d1af
push 0x1c8
push 0x4014fa6
push 1
call fcn.0042792b
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x41d1cc
mov eax, 0x432422
push eax
push 1
mov ebx, 0x168
call fcn.00429220
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41d1f8
push ebx
call fcn.0042791f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x18]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x18]
add ebx, 0x14
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x41d256
push 0x1fc
push 0x4014fa6
push 6
call fcn.0042792b
add esp, 0xc
test eax, eax
je 0x41d30a
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.00427ed0
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
call fcn.00401249
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp - 0x20]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x41d2a2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x24]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x20]
call fcn.00427937
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x24]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x1c]
push edi
push eax
push 0x1c
call fcn.00427919
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x41d2fc
push eax
mov ebx, eax
call fcn.00401269
inc eax
push eax
call fcn.00427919
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop eax
pop edi
mov dword [edi], eax
pop eax
pop ebx
pop ecx
jmp 0x41d157
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401230
jmp 0x41d324
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d335
push ebx
call fcn.0042791f
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41d353
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41d34f
imul eax, dword [ebx]
jmp 0x41d344
mov ecx, eax
test ecx, ecx
je 0x41d372
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41d36b
push ebx
push eax
call fcn.0042791f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41d359
call fcn.0042791f
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41d38e
push ebx
call fcn.0042791f
add esp, 4
pop ebx
call fcn.0042791f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4