Function at 0x40293c
Capabilities:
Get disk information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3dc
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
mov esi, 0x412300
mov ecx, 0xd8
lea edi, [ebp - 0x3dc]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ebx, [ebp - 0x3dc]
mov edx, 0x4123e0
mov ecx, dword [edx]
mov esi, dword [edx + 4]
mov edi, dword [edx + 8]
mov dword [ebp - 0x304], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x300], esi
mov dword [ebp - 0x2fc], edi
mov dword [ebp - 0x2f8], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x2f4], ecx
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x2f0], ecx
mov ecx, dword [edx + 0x18]
mov dword [ebp - 0x2ec], ecx
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0x2e8], ecx
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x2e4], ecx
mov ecx, dword [edx + 0x24]
mov dword [ebp - 0x2e0], ecx
mov ecx, dword [edx + 0x28]
mov dword [ebp - 0x2dc], ecx
mov ecx, dword [edx + 0x2c]
mov dword [ebp - 0x2d8], ecx
mov ecx, dword [edx + 0x30]
mov dword [ebp - 0x2d4], ecx
mov ecx, dword [edx + 0x34]
mov dword [ebp - 0x2d0], ecx
mov ecx, dword [edx + 0x38]
mov dword [ebp - 0x2cc], ecx
mov ecx, dword [edx + 0x3c]
mov dword [ebp - 0x2c8], ecx
mov ecx, dword [edx + 0x40]
mov dword [ebp - 0x2c4], ecx
mov ecx, dword [edx + 0x44]
mov dword [ebp - 0x2c0], ecx
mov ecx, dword [edx + 0x48]
mov dword [ebp - 0x2bc], ecx
mov ecx, dword [edx + 0x4c]
mov dword [ebp - 0x2b8], ecx
mov ecx, dword [edx + 0x50]
mov dword [ebp - 0x2b4], ecx
mov ecx, dword [edx + 0x54]
mov dword [ebp - 0x2b0], ecx
mov ecx, dword [edx + 0x58]
mov dword [ebp - 0x2ac], ecx
mov ecx, dword [edx + 0x5c]
mov dword [ebp - 0x2a8], ecx
mov ecx, dword [edx + 0x60]
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [edx + 0x64]
mov dword [ebp - 0x2a0], ecx
mov ecx, dword [edx + 0x68]
mov dword [ebp - 0x29c], ecx
mov ecx, dword [edx + 0x6c]
mov dword [ebp - 0x298], ecx
mov ecx, dword [edx + 0x70]
mov dword [ebp - 0x294], ecx
mov ecx, dword [edx + 0x74]
mov dword [ebp - 0x290], ecx
mov ecx, dword [edx + 0x78]
mov edx, dword [edx + 0x7c]
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x288], edx
lea edi, [ebp - 0x284]
mov esi, 0x412460
mov ecx, 0x1fe
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, 0x412660
mov ecx, dword [edx]
mov esi, dword [edx + 4]
mov edi, dword [edx + 8]
mov dword [ebp - 0x84], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x74], ecx
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x70], ecx
mov ecx, dword [edx + 0x18]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0x68], ecx
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x64], ecx
mov ecx, dword [edx + 0x24]
mov dword [ebp - 0x60], ecx
mov ecx, dword [edx + 0x28]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [edx + 0x2c]
mov dword [ebp - 0x58], ecx
mov ecx, dword [edx + 0x30]
mov dword [ebp - 0x54], ecx
mov ecx, dword [edx + 0x34]
mov dword [ebp - 0x50], ecx
mov ecx, dword [edx + 0x38]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [edx + 0x3c]
mov dword [ebp - 0x48], ecx
mov ecx, dword [edx + 0x40]
mov dword [ebp - 0x44], ecx
mov ecx, dword [edx + 0x44]
mov dword [ebp - 0x40], ecx
mov ecx, dword [edx + 0x48]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edx + 0x4c]
mov dword [ebp - 0x38], ecx
mov ecx, dword [edx + 0x50]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edx + 0x54]
mov dword [ebp - 0x30], ecx
mov ecx, dword [edx + 0x58]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx + 0x5c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 0x60]
mov edx, dword [edx + 0x64]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
push 1
xor edx, edx
mov dword [ebp - 0x1c], edx
xor esi, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, eax
lea ecx, [ebp - 0x3dc]
push ecx
push 0x6c
xor edx, edx
mov dword [0x44e8ac], edx
mov dword [0x44e8b0], edx
mov dword [0x44e8b4], edx
mov dword [0x44e8b8], edx
mov dword [0x44e8bc], edx
mov dword [0x44e8c0], edx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
movzx edx, word [ebx]
test edx, edx
je 0x402c6f
mov dword [ebp - 0x10], edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x402c50
lea eax, [ebp - 0x1c]
lea edi, [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x304]
push 0x40
push edx
push ecx
push edi
push eax
push 0xff
lea edx, [ebp - 0x284]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x402c50
xor ecx, ecx
test esi, esi
jbe 0x402c88
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp + ecx*4 - 0x84]
je 0x402c50
add ecx, 1
cmp ecx, esi
jb 0x402bfa
mov dword [ebp + esi*4 - 0x84], edx
push ebx
add esi, 1
call fcn.004028a8
pop ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
add dword [0x44e8ac], edx
adc dword [0x44e8b0], ecx
mov edi, dword [eax + 8]
mov edx, dword [eax + 0xc]
add dword [0x44e8b4], edi
adc dword [0x44e8b8], edx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
add dword [0x44e8bc], edx
adc dword [0x44e8c0], ecx
push 0
push ebx
call dword [sym.imp.MSVCR71.dll_wcschr]
mov ebx, eax
add esp, 8
add ebx, 2
movzx edx, word [ebx]
test edx, edx
jne 0x402bb1
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov eax, 0x44e8ac
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1c]
jmp 0x402c0a