Function at 0x4463e0
Capabilities:
Get disk size
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6f8d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 0
mov edi, esp
lea ecx, [ebp + 8]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
cmp eax, 0x7ffffffe
ja 0x446701
mov dword [edi + 0x14], 7
cmp eax, 8
jae 0x446460
mov dword [edi + 0x10], eax
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
jmp 0x4464aa
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x446474
mov esi, SysReAllocString
jmp 0x44647e
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
mov ecx, edi
push eax
call fcn.00402c10
mov ecx, eax
mov dword [edi + 0x14], esi
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x10], eax
mov dword [edi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x34]
push ecx
call fcn.004b8680
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
call fcn.004142a0
mov esi, eax
add esp, 0x1c
lea eax, [ebp + 8]
cmp eax, esi
je 0x4464ea
mov ecx, eax
call fcn.00402610
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp + 8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp + 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x446524
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44651a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446706
push ecx
push edx
call fcn.004b3acc
add esp, 8
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x446558
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call fcn.004cfa1e
add esp, 8
test eax, eax
je 0x446611
mov edi, dword [ebp + 0x1c]
lea edx, [ebp + 8]
mov esi, dword [ebp + 0x18]
cmp edi, 8
cmovae edx, dword [ebp + 8]
test esi, esi
je 0x446594
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x44658e
cmp ecx, edx
je 0x446594
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x446581
sub ecx, edx
sar ecx, 1
jmp 0x446597
or ecx, 0xffffffff
cmp esi, ecx
mov dword [ebp - 0x18], 0
lea eax, [ebp + 8]
mov dword [ebp - 0x14], 0
cmovb ecx, esi
xorps xmm0, xmm0
cmp edi, 8
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.004021b0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x4465ff
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4465f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44670b
push ecx
push edx
call fcn.004b3acc
add esp, 8
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp + 8], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp + 0x18], xmm0
push str.GetDiskFreeSpaceExW
push 0x502ae8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.00442ef0
add esp, 8
test eax, eax
je 0x446662
cmp dword [ebp + 0x1c], 8
lea edx, [ebp - 0x44]
push edx
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0x58]
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push edx
push ecx
call eax
test eax, eax
je 0x4466ac
push 0
push 0x400
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.004b4100
mov esi, eax
jmp 0x4466ae
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x38]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x4466ac
mov eax, dword [ebp - 0x38]
mul dword [ebp - 0x3c]
push 0
push dword [ebp - 0x2c]
push edx
push eax
call fcn.004b41b0
push 0
push 0x400
push edx
push eax
call fcn.004b4100
mov esi, eax
jmp 0x4466ae
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x4466e4
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4466da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44670b
push ecx
push edx
call fcn.004b3acc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
call fcn.00402bf0
call fcn.004c342f
call fcn.004c342f
int3