Function at 0x454880
Capabilities:
Get disk size

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e48b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x149c
call fcn.004b7f70
mov eax, dword [0x7000a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10a0], ecx
mov dword [ebp - 0x1094], ecx
mov dword [ebp - 0x1094], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x1090], xmm0
mov dword [ebp - 0x1080], 0
mov dword [ebp - 0x107c], 0xf
mov byte [ebp - 0x1090], 0
movlpd qword [ebp - 0x1070], xmm0
movlpd qword [ebp - 0x1068], xmm0
mov dword [ebp - 4], 0
call fcn.00454da0
push 0x400
mov dword [ebp - 0x1078], eax
lea eax, [ebp - 0x14a8]
push 0
push eax
mov dword [ebp - 0x1074], edx
call fcn.004b9340
movaps xmm0, xmmword [0x6f85b0]
lea edi, [ebp - 0x1028]
add esp, 0xc
mov eax, accept
xor ecx, ecx
movups xmmword [ebp - 0x1028], xmm0
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov edi, accept
mov eax, dword [ebp - 0x1028]
mov dword [ebp - 0x1098], eax
cmp eax, edi
jb 0x4549fa
nop dword [eax + eax]
mov eax, edi
xor ecx, ecx
push ebx
cpuid
mov dword [ebp - 0x1094], ebx
pop ebx
lea esi, [ebp - 0x1028]
mov dword [esi], eax
lea eax, [ebp - 0x1028]
mov esi, dword [ebp - 0x1094]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp edi, reloc.WS2_32.dll_bind
jne 0x4549c3
movups xmm0, xmmword [ebp - 0x1028]
movups xmmword [ebp - 0x14a8], xmm0
jmp 0x4549f1
cmp edi, reloc.WS2_32.dll_closesocket
jne 0x4549db
movups xmm0, xmmword [ebp - 0x1028]
movups xmmword [ebp - 0x1498], xmm0
jmp 0x4549f1
cmp edi, reloc.WS2_32.dll_connect
jne 0x4549f1
movups xmm0, xmmword [ebp - 0x1028]
movups xmmword [ebp - 0x1488], xmm0
inc edi
cmp edi, dword [ebp - 0x1098]
jbe 0x454980
xorps xmm0, xmm0
mov dword [ebp - 0x1030], 0
lea ecx, [ebp - 0x14a8]
mov dword [ebp - 0x102c], 0
movups xmmword [ebp - 0x1040], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x454a21
sub ecx, edx
lea eax, [ebp - 0x14a8]
push ecx
push eax
lea ecx, [ebp - 0x1040]
call fcn.0044ddc0
lea eax, [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x1090]
call fcn.0044bdc0
mov ecx, dword [ebp - 0x102c]
cmp ecx, 0x10
jb 0x454a89
mov edx, dword [ebp - 0x1040]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x454a7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454d8c
push ecx
push edx
call fcn.004b75c0
add esp, 8
push 0x1000
lea eax, [ebp - 0x1018]
push 0
push eax
call fcn.004b9340
add esp, 0xc
lea eax, [ebp - 0x1018]
push 0x800
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xorps xmm0, xmm0
mov dword [ebp - 0x1048], 0
lea ecx, [ebp - 0x1018]
mov dword [ebp - 0x1044], 0
movups xmmword [ebp - 0x1058], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454ae7
sub ecx, edx
lea eax, [ebp - 0x1018]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1058]
call fcn.00451370
mov byte [ebp - 4], 1
lea edi, [ebp - 0x1058]
cmp dword [ebp - 0x1044], 8
mov esi, dword [ebp - 0x1058]
mov eax, dword [ebp - 0x1048]
cmovae edi, esi
test eax, eax
je 0x454b5b
xor edx, edx
mov ecx, edi
test eax, eax
je 0x454b51
cmp word [edi], 0x3a
je 0x454b4f
nop dword [eax + eax]
cmp eax, 1
je 0x454b51
add ecx, 2
dec eax
cmp word [ecx], 0x3a
jne 0x454b40
mov edx, ecx
test edx, edx
je 0x454b5b
sub edx, edi
sar edx, 1
jmp 0x454b5e
or edx, 0xffffffff
cmp edx, 0xffffffff
je 0x454c9b
mov eax, dword [ebp - 0x1048]
xorps xmm0, xmm0
dec edx
movlpd qword [ebp - 0x1060], xmm0
movlpd qword [ebp - 0x1020], xmm0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0
movups xmmword [ebp - 0x1040], xmm0
cmp eax, edx
jb 0x454d82
sub eax, edx
mov ecx, 3
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x1044], 8
lea eax, [ebp - 0x1058]
cmovae eax, esi
push ecx
lea ecx, [ebp - 0x1040]
lea eax, [eax + edx*2]
push eax
call fcn.00451370
cmp dword [ebp - 0x102c], 8
lea ecx, [ebp - 0x1020]
push ecx
lea ecx, [ebp - 0x1060]
push ecx
lea eax, [ebp - 0x1040]
cmovae eax, dword [ebp - 0x1040]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x454c29
mov ecx, dword [ebp - 0x1020]
mov edi, dword [ebp - 0x1060]
mov eax, dword [ebp - 0x105c]
sub edi, ecx
mov dword [ebp - 0x1098], ecx
mov ecx, dword [ebp - 0x101c]
sbb eax, ecx
mov dword [ebp - 0x1094], ecx
jmp 0x454c4d
mov eax, dword [ebp - 0x1064]
mov edi, dword [ebp - 0x1070]
mov dword [ebp - 0x1094], eax
mov eax, dword [ebp - 0x1068]
mov dword [ebp - 0x1098], eax
mov eax, dword [ebp - 0x106c]
mov ecx, dword [ebp - 0x102c]
mov dword [ebp - 0x109c], eax
cmp ecx, 8
jb 0x454c93
mov edx, dword [ebp - 0x1040]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454c89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454d87
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov esi, dword [ebp - 0x1058]
jmp 0x454cc5
mov eax, dword [ebp - 0x1064]
mov edi, dword [ebp - 0x1070]
mov dword [ebp - 0x1094], eax
mov eax, dword [ebp - 0x1068]
mov dword [ebp - 0x1098], eax
mov eax, dword [ebp - 0x106c]
mov dword [ebp - 0x109c], eax
mov edx, dword [ebp - 0x10a0]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1078]
mov ecx, dword [ebp - 0x1074]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
movups xmm0, xmmword [ebp - 0x1090]
mov dword [edx + 0x14], 0
movups xmmword [edx], xmm0
movq xmm0, qword [ebp - 0x1080]
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x109c]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x1098]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0x1094]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x1044]
mov dword [edx + 0x1c], ecx
mov dword [edx + 0x20], edi
cmp eax, 8
jb 0x454d62
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x454d52
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454d8c
push ecx
push esi
call fcn.004b75c0
mov edx, dword [ebp - 0x10a0]
add esp, 8
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b75b2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0044d960
call fcn.004bccbf
call fcn.004bccbf
int3