Function at 0x53e62e0
Capabilities:
Check os version
Get disk information
Get disk size
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53ecbd3
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x54183c4]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x54183c4]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x110], ebx
push ebx
xor eax, eax
mov edi, 7
push 0x105
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], ax
call fcn.052e8e40
mov byte [esp + 0x110], 1
cmp dword [esp + 0xc0], 8
mov eax, dword [esp + 0xac]
jae 0x53e638a
lea eax, [esp + 0xac]
mov ecx, dword [esp + 0xbc]
push eax
dec ecx
push ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp eax, 2
jbe 0x53e63f9
mov ecx, dword [esp + 0xbc]
add eax, 0xfffffffe
cmp eax, ecx
ja 0x53e63be
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xb4]
call fcn.052e5320
jmp 0x53e63ce
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0xb4]
call fcn.052e6f00
xor edx, edx
mov ecx, 1
push ecx
mov word [esp + 0x16], dx
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.052e8b00
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov byte [esp + 0x110], bl
cmp dword [esp + 0xc0], 8
jb 0x53e641a
mov edx, dword [esp + 0xac]
push edx
call fcn.053504e7
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x30]
jne 0x53e6479
cmp esi, ebx
je 0x53e6446
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
push esi
call fcn.052e8d90
push esi
call fcn.053504e7
add esp, 0x14
xor eax, eax
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0534fc81
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x18]
mov edi, 7
push ebx
xor eax, eax
push 0x105
lea ecx, [esp + 0xec]
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], ax
call fcn.052e8e40
mov byte [esp + 0x110], 2
xor ecx, ecx
push ebx
mov word [esp + 0xb0], cx
push 0x105
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
call fcn.052e8e40
mov byte [esp + 0x110], 3
push 0x40
mov dword [esp + 0x24], ebx
call fcn.053506ca
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x53e6dd8
mov dword [edi], edi
mov dword [esp + 0x1c], edi
mov dword [edi + 4], edi
mov byte [esp + 0x110], 4
push 4
xor edx, edx
push str.Name
lea ecx, [esp + 0x7c]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
call fcn.052e5800
push 0xffffffffffffffff
mov byte [esp + 0x114], 5
push ebx
xor eax, eax
push esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], ax
call fcn.052e53b0
lea ecx, [esp + 0x74]
mov byte [esp + 0x110], 6
mov edx, dword [edi + 4]
push ecx
push edx
push edi
call fcn.052e8ca0
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [esp + 0x110], 4
cmp dword [esp + 0xa4], 8
mov dword [esp + 0x20], 1
jb 0x53e65ac
mov eax, dword [esp + 0x90]
push eax
call fcn.053504e7
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x88], 8
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], cx
jb 0x53e65df
mov edx, dword [esp + 0x74]
push edx
call fcn.053504e7
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x53e65e9
mov eax, dword [esi]
jmp 0x53e65eb
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push eax
lea esi, [esp + 0xcc]
mov dword [esp + 0x18], eax
call fcn.053e6180
mov esi, eax
mov byte [esp + 0x110], 7
push 9
xor eax, eax
push str.DriveType
lea ecx, [esp + 0x7c]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], ax
call fcn.052e5800
push 0xffffffffffffffff
mov byte [esp + 0x114], 8
xor ecx, ecx
push ebx
mov word [esp + 0x98], cx
push esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
call fcn.052e53b0
lea edx, [esp + 0x74]
mov byte [esp + 0x110], 9
mov eax, dword [edi + 4]
push edx
push eax
push edi
call fcn.052e8ca0
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov ecx, 8
mov esi, 2
mov dword [esp + 0x20], esi
cmp dword [esp + 0xa4], ecx
jb 0x53e66b3
mov ecx, dword [esp + 0x90]
push ecx
call fcn.053504e7
add esp, 4
lea ecx, [esi + 6]
xor edx, edx
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], dx
cmp dword [esp + 0x88], ecx
jb 0x53e66ea
mov eax, dword [esp + 0x74]
push eax
call fcn.053504e7
add esp, 4
mov ecx, 8
xor edx, edx
mov byte [esp + 0x110], 4
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], dx
cmp dword [esp + 0xdc], ecx
jb 0x53e6729
mov eax, dword [esp + 0xc8]
push eax
call fcn.053504e7
add esp, 4
mov ecx, 8
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp dword [esp + 0xc0], ecx
jb 0x53e674b
mov edx, dword [esp + 0xac]
mov dword [esp + 0x10], edx
jmp 0x53e6756
lea eax, [esp + 0xac]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0xe4]
cmp dword [esp + 0xf8], ecx
jae 0x53e676d
lea edx, [esp + 0xe4]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x14], ecx
jb 0x53e6778
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
push 0x104
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x4c]
push ecx
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x53e690c
mov esi, 8
cmp dword [esp + 0xc0], esi
jb 0x53e67c1
mov edx, dword [esp + 0xac]
mov dword [esp + 0x10], edx
jmp 0x53e67cc
lea eax, [esp + 0xac]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x78]
push edx
mov edx, str.MediaType
call fcn.052ef2a0
lea eax, [esp + 0x74]
mov byte [esp + 0x110], 0xa
mov ecx, dword [edi + 4]
push eax
push ecx
push edi
call fcn.052e8ca0
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [esp + 0x110], 4
mov dword [esp + 0x20], 3
cmp dword [esp + 0xa4], esi
jb 0x53e6828
mov edx, dword [esp + 0x90]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], ax
cmp dword [esp + 0x88], esi
jb 0x53e685a
mov ecx, dword [esp + 0x74]
push ecx
call fcn.053504e7
add esp, 4
cmp dword [esp + 0xf8], esi
jb 0x53e6870
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x10], edx
jmp 0x53e687b
lea eax, [esp + 0xe4]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x78]
push edx
mov edx, str.VolumeName
call fcn.052ef2a0
lea eax, [esp + 0x74]
mov byte [esp + 0x110], 0xb
mov ecx, dword [edi + 4]
push eax
push ecx
push edi
call fcn.052e8ca0
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov esi, 4
mov dword [ecx], eax
mov byte [esp + 0x110], 4
cmp dword [esp + 0xa4], 8
mov dword [esp + 0x20], esi
jb 0x53e68d9
mov edx, dword [esp + 0x90]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
cmp dword [esp + 0x88], 8
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], ax
jb 0x53e690c
mov ecx, dword [esp + 0x74]
push ecx
call fcn.053504e7
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, 3
je 0x53e691e
cmp eax, 6
jne 0x53e6d07
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x14], 8
jb 0x53e692a
mov eax, dword [eax]
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x53e6d07
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0xd0]
push edx
call fcn.053e5f60
mov dword [esp + 0x14], eax
mov byte [esp + 0x110], 0xc
push 0xd
xor eax, eax
push str.UserFreeSpace
lea ecx, [esp + 0x7c]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], ax
call fcn.052e5800
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
mov byte [esp + 0x114], 0xd
xor ecx, ecx
push ebx
mov word [esp + 0x98], cx
push edx
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
call fcn.052e53b0
lea eax, [esp + 0x74]
mov byte [esp + 0x110], 0xe
mov ecx, dword [edi + 4]
push eax
push ecx
push edi
call fcn.052e8ca0
mov edx, 0x4924923
sub edx, esi
cmp edx, 1
jb 0x53e6dce
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
inc esi
mov dword [ecx], eax
cmp dword [esp + 0xa4], 8
mov dword [esp + 0x20], esi
jb 0x53e6a1a
mov eax, dword [esp + 0x90]
push eax
call fcn.053504e7
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x88], 8
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], cx
jb 0x53e6a4d
mov edx, dword [esp + 0x74]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
mov byte [esp + 0x110], 4
cmp dword [esp + 0xdc], 8
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], ax
jb 0x53e6a88
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.053504e7
add esp, 4
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0xd0]
push ecx
call fcn.053e5f60
mov dword [esp + 0x14], eax
mov byte [esp + 0x110], 0xf
push 0xe
xor edx, edx
push str.TotalFreeSpace
lea ecx, [esp + 0x7c]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
call fcn.052e5800
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
mov byte [esp + 0x118], 0x10
xor eax, eax
push ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], ax
call fcn.052e53b0
lea edx, [esp + 0x74]
mov byte [esp + 0x110], 0x11
mov eax, dword [edi + 4]
push edx
push eax
push edi
call fcn.052e8ca0
mov ecx, 0x4924923
sub ecx, esi
cmp ecx, 1
jb 0x53e6dce
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
inc esi
mov dword [ecx], eax
cmp dword [esp + 0xa4], 8
mov dword [esp + 0x20], esi
jb 0x53e6b5a
mov edx, dword [esp + 0x90]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
cmp dword [esp + 0x88], 8
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], ax
jb 0x53e6b8d
mov ecx, dword [esp + 0x74]
push ecx
call fcn.053504e7
add esp, 4
xor edx, edx
mov byte [esp + 0x110], 4
cmp dword [esp + 0xdc], 8
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], dx
jb 0x53e6bc8
mov eax, dword [esp + 0xc8]
push eax
call fcn.053504e7
add esp, 4
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push ecx
push edx
lea eax, [esp + 0xd0]
push eax
call fcn.053e5f60
mov dword [esp + 0x14], eax
mov byte [esp + 0x110], 0x12
xor ecx, ecx
push 0xa
mov word [esp + 0x78], cx
push str.TotalSpace
lea ecx, [esp + 0x7c]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
call fcn.052e5800
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
mov byte [esp + 0x114], 0x13
push ebx
xor edx, edx
push eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], dx
call fcn.052e53b0
lea ecx, [esp + 0x74]
mov byte [esp + 0x110], 0x14
mov edx, dword [edi + 4]
push ecx
push edx
push edi
call fcn.052e8ca0
mov ecx, 0x4924923
sub ecx, esi
cmp ecx, 1
jb 0x53e6dce
inc esi
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], esi
mov esi, 8
mov dword [ecx], eax
cmp dword [esp + 0xa4], esi
jb 0x53e6c9e
mov edx, dword [esp + 0x90]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], ax
cmp dword [esp + 0x88], esi
jb 0x53e6cd1
mov ecx, dword [esp + 0x74]
push ecx
call fcn.053504e7
add esp, 4
xor edx, edx
mov byte [esp + 0x110], 4
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], dx
cmp dword [esp + 0xdc], esi
jb 0x53e6d07
mov eax, dword [esp + 0xc8]
push eax
call fcn.053504e7
add esp, 4
mov edi, dword [esp + 0x48]
mov esi, dword [edi + 0x30]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
call fcn.052e70a0
mov ecx, dword [edi + 0x34]
mov edx, 0x15555554
sub edx, ecx
cmp edx, 1
jb 0x53e6dce
inc ecx
mov dword [edi + 0x34], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
lea ebx, [esp + 0x1c]
mov dword [ecx], eax
call fcn.052e5ce0
mov eax, dword [esp + 0x1c]
push eax
call fcn.053504e7
mov esi, 8
add esp, 4
cmp dword [esp + 0xc0], esi
jb 0x53e6d70
mov ecx, dword [esp + 0xac]
push ecx
call fcn.053504e7
add esp, 4
xor eax, eax
xor edx, edx
mov byte [esp + 0x110], al
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], eax
mov word [esp + 0xac], dx
cmp dword [esp + 0xf8], esi
jb 0x53e6dae
mov eax, dword [esp + 0xe4]
push eax
call fcn.053504e7
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0x1c
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x30]
jne 0x53e6470
mov esi, dword [esp + 0x2c]
jmp 0x53e6424
push str.list_T__too_long
call fcn.05328b02
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x2c], ebx
call fcn.0535058b
push 0x540efd0
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x70], vtable.std::bad_alloc.0
call fcn.05350eca
int3