Function at 0x411f20
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 0x4b78f3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x430
mov eax, dword [0x4e843c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x34c], eax
push str.acceptprotocolopt
lea ecx, [eax + 0x2c]
mov dword [ebp - 0x344], 0
call fcn.004463c0
mov ecx, eax
call fcn.0045e2b0
test al, al
jne 0x412192
push 0x100
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00493ec0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x80
push str.MsgBox_accept_protocol
push 0x80
push eax
push 0
call fcn.0049ba7d
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call fcn.00446e80
mov edx, eax
add esp, 4
test edx, edx
jne 0x411ff8
lea eax, [ebp - 0x218]
push eax
push eax
call fcn.00445ff0
lea eax, [ebp - 0x218]
push eax
call fcn.00446e80
add esp, 0xc
mov edx, eax
sub esp, 0x18
mov ecx, edx
mov esi, esp
mov dword [ebp - 0x344], esp
lea edi, [ecx + 2]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412020
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004046c0
push 0x100
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00493ec0
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x80
push str.MsgBox_error
push 0x80
push eax
push 0
call fcn.0049ba7d
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
call fcn.00446e80
mov esi, eax
add esp, 4
test esi, esi
jne 0x4120a8
lea eax, [ebp - 0x118]
push eax
push eax
call fcn.00445ff0
lea eax, [ebp - 0x118]
push eax
call fcn.00446e80
add esp, 0xc
mov esi, eax
sub esp, 0x18
mov ecx, esi
mov edx, esp
mov dword [ebp - 0x340], esp
lea edi, [ecx + 2]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4120d0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.004046c0
sub esp, 0x28
mov byte [ebp - 4], 1
mov eax, esp
lea ecx, [ebp - 0x3f8]
mov dword [eax + 0x24], 0
call fcn.004081a0
add esp, 0x28
mov esi, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34c]
call fcn.0044ddb0
mov edx, esi
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004196e0
mov ecx, dword [ebp - 0x3bc]
add esp, 0x30
test ecx, ecx
je 0x41214f
mov edx, dword [ecx]
lea eax, [ebp - 0x3e0]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x3bc], 0
mov edx, dword [ebp - 0x3e4]
cmp edx, 8
jb 0x412b66
mov ecx, dword [ebp - 0x3f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412b5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b8a
jmp 0x412b5c
push 0x4eecf4
lea ecx, [ebp - 0x37c]
call fcn.00404620
lea ecx, [ebp - 0x37c]
mov dword [ebp - 4], 4
call fcn.0040ba60
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x368]
cmp edx, 8
jb 0x4121fb
mov ecx, dword [ebp - 0x37c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4121f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b8f
push edx
push ecx
call fcn.00491f22
add esp, 8
push 0x4eecf4
lea ecx, [ebp - 0x37c]
call fcn.00404620
lea ecx, [ebp - 0x37c]
mov dword [ebp - 4], 5
call fcn.0040bb30
test al, al
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x368]
sete al
mov byte [ebp - 0x339], al
cmp edx, 8
jb 0x412275
mov ecx, dword [ebp - 0x37c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412265
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b94
push edx
push ecx
call fcn.00491f22
mov al, byte [ebp - 0x339]
add esp, 8
test al, al
je 0x41242a
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00493ec0
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x80
push str.MsgBox_error_path
push 0x80
push eax
push 0
call fcn.0049ba7d
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
call fcn.00446e80
mov edx, eax
add esp, 4
test edx, edx
jne 0x4122e6
lea eax, [ebp - 0x118]
push eax
push eax
call fcn.00445ff0
lea eax, [ebp - 0x118]
push eax
call fcn.00446e80
add esp, 0xc
mov edx, eax
sub esp, 0x18
mov ecx, edx
mov esi, esp
mov dword [ebp - 0x31c], esp
lea edi, [ecx + 2]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412310
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004046c0
push 0x100
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 6
push 0
push eax
call fcn.00493ec0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x80
push str.MsgBox_error
push 0x80
push eax
push 0
call fcn.0049ba7d
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call fcn.00446e80
mov esi, eax
add esp, 4
test esi, esi
jne 0x412398
lea eax, [ebp - 0x218]
push eax
push eax
call fcn.00445ff0
lea eax, [ebp - 0x218]
push eax
call fcn.00446e80
add esp, 0xc
mov esi, eax
sub esp, 0x18
mov ecx, esi
mov edx, esp
mov dword [ebp - 0x344], esp
lea edi, [ecx + 2]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4123c0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.004046c0
sub esp, 0x28
mov byte [ebp - 4], 7
mov eax, esp
lea ecx, [ebp - 0x3f8]
mov dword [eax + 0x24], 0
call fcn.004081a0
add esp, 0x28
mov esi, eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x34c]
call fcn.0044ddb0
mov edx, esi
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.004196e0
mov ecx, dword [ebp - 0x3bc]
add esp, 0x30
test ecx, ecx
je 0x41214f
jmp 0x412131
push 0x4eecf4
lea ecx, [ebp - 0x364]
call fcn.00404620
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x364]
mov ecx, 3
mov dword [ebp - 0x338], 0
cmp dword [ebp - 0x354], ecx
mov dword [ebp - 0x328], 0
cmovb ecx, dword [ebp - 0x354]
cmp dword [ebp - 0x350], 8
push ecx
cmovae eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x338]
push eax
mov dword [ebp - 0x324], 7
call fcn.004046c0
cmp dword [ebp - 0x324], 8
lea ecx, [ebp - 0x320]
push 0
mov eax, 0x1e0
xorps xmm0, xmm0
mov dword [ebp - 0x340], eax
lea eax, [ebp - 0x338]
cmovae eax, dword [ebp - 0x338]
push 0
push ecx
push eax
movq qword [ebp - 0x320], xmm0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x41251f
mov edx, dword [ebp - 0x324]
cmp edx, 8
jb 0x412512
mov ecx, dword [ebp - 0x338]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412508
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b8a
push edx
push ecx
call fcn.00491f22
add esp, 8
xorps xmm0, xmm0
movsd qword [ebp - 0x348], xmm0
jmp 0x412580
mov edx, dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x320]
call fcn.004927c0
mulsd xmm0, qword [0x4d9ca0]
mov edx, dword [ebp - 0x324]
movsd qword [ebp - 0x348], xmm0
cmp edx, 8
jb 0x412580
mov ecx, dword [ebp - 0x338]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412576
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b8a
push edx
push ecx
call fcn.00491f22
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x350]
cmp edx, 8
jb 0x4125c7
mov ecx, dword [ebp - 0x364]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4125bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b8a
push edx
push ecx
call fcn.00491f22
add esp, 8
movsd xmm0, qword [0x4d9ce8]
comisd xmm0, xmmword [ebp - 0x348]
jbe 0x412776
push 8
xor eax, eax
mov dword [ebp - 0x364], 0
push str.ayer.exe
lea ecx, [ebp - 0x364]
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 7
mov word [ebp - 0x364], ax
call fcn.004046c0
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x394]
push 4
xor eax, eax
mov dword [ebp - 0x394], 0
push str.dnpl
mov dword [ebp - 0x344], 0x1e1
mov dword [ebp - 0x384], 0
mov dword [ebp - 0x380], 7
mov word [ebp - 0x394], ax
call fcn.004046c0
lea eax, [ebp - 0x364]
mov dword [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x394]
mov dword [ebp - 0x344], 0x1e3
push eax
push dword [ebp - 0x31c]
lea ecx, [ebp - 0x37c]
call fcn.00411430
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x3ac]
push 0x4eecf4
mov dword [ebp - 0x344], 0x3e7
call fcn.00404620
mov dword [ebp - 4], 0xe
lea edx, [ebp - 0x37c]
cmp dword [ebp - 0x368], 8
mov dword [ebp - 0x344], 0x7ef
cmovae edx, dword [ebp - 0x37c]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4126e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3ac]
call fcn.00404820
mov dword [ebp - 0x338], 0
xor ecx, ecx
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x338], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x328], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, 0xfff
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x338]
push eax
call fcn.00431460
add esp, 4
mov byte [ebp - 0x339], 1
test al, al
je 0x41277d
mov byte [ebp - 0x339], 0
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x340]
test al, 0x10
je 0x4127fa
mov edx, dword [ebp - 0x324]
and eax, 0xffffffef
mov dword [ebp - 0x340], eax
cmp edx, 8
jb 0x4127dd
mov ecx, dword [ebp - 0x338]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4127cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b8a
push edx
push ecx
call fcn.00491f22
mov eax, dword [ebp - 0x340]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 7
mov word [ebp - 0x338], cx
mov dword [ebp - 4], 0xd
test al, 8
je 0x412871
mov edx, dword [ebp - 0x398]
and eax, 0xfffffff7
mov dword [ebp - 0x340], eax
cmp edx, 8
jb 0x412854
mov ecx, dword [ebp - 0x3ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412844
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b8a
push edx
push ecx
call fcn.00491f22
mov eax, dword [ebp - 0x340]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x39c], 0
mov dword [ebp - 0x398], 7
mov word [ebp - 0x3ac], cx
mov dword [ebp - 4], 0xc
test al, 4
je 0x4128cb
mov edx, dword [ebp - 0x368]
and eax, 0xfffffffb
mov dword [ebp - 0x340], eax
cmp edx, 8
jb 0x4128cb
mov ecx, dword [ebp - 0x37c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4128bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b8a
push edx
push ecx
call fcn.00491f22
mov eax, dword [ebp - 0x340]
add esp, 8
mov dword [ebp - 4], 0xb
test al, 2
je 0x412925
mov edx, dword [ebp - 0x380]
and eax, 0xfffffffd
mov dword [ebp - 0x340], eax
cmp edx, 8
jb 0x412925
mov ecx, dword [ebp - 0x394]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412915
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b8a
push edx
push ecx
call fcn.00491f22
mov eax, dword [ebp - 0x340]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x412970
mov edx, dword [ebp - 0x350]
cmp edx, 8
jb 0x412970
mov ecx, dword [ebp - 0x364]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412966
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b8a
push edx
push ecx
call fcn.00491f22
add esp, 8
cmp byte [ebp - 0x339], 0
je 0x412b6a
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00493ec0
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x80
push str.MsgBox_disk_notEnough
push 0x80
push eax
push 0
call fcn.0049ba7d
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
call fcn.00446e80
mov edx, eax
add esp, 4
test edx, edx
jne 0x4129e6
lea eax, [ebp - 0x118]
push eax
push eax
call fcn.00445ff0
lea eax, [ebp - 0x118]
push eax
call fcn.00446e80
add esp, 0xc
mov edx, eax
sub esp, 0x18
mov ecx, edx
mov esi, esp
mov dword [ebp - 0x31c], esp
lea edi, [ecx + 2]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412a10
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004046c0
push 0x100
lea eax, [ebp - 0x318]
mov dword [ebp - 4], 0x10
push 0
push eax
call fcn.00493ec0
add esp, 0xc
lea eax, [ebp - 0x318]
push 0x80
push str.MsgBox_error
push 0x80
push eax
push 0
call fcn.0049ba7d
add esp, 0x14
lea eax, [ebp - 0x318]
push eax
call fcn.00446e80
mov esi, eax
add esp, 4
test esi, esi
jne 0x412a98
lea eax, [ebp - 0x318]
push eax
push eax
call fcn.00445ff0
lea eax, [ebp - 0x318]
push eax
call fcn.00446e80
add esp, 0xc
mov esi, eax
sub esp, 0x18
mov ecx, esi
mov edx, esp
mov dword [ebp - 0x344], esp
lea edi, [ecx + 2]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412ac0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.004046c0
sub esp, 0x28
mov byte [ebp - 4], 0x11
mov eax, esp
lea ecx, [ebp - 0x440]
mov dword [eax + 0x24], 0
call fcn.004081a0
add esp, 0x28
mov esi, eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x34c]
call fcn.0044ddb0
mov edx, esi
mov byte [ebp - 4], 0x13
mov ecx, eax
call fcn.004196e0
mov ecx, dword [ebp - 0x404]
add esp, 0x30
test ecx, ecx
je 0x412b3f
mov edx, dword [ecx]
lea eax, [ebp - 0x428]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x404], 0
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x412b66
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
jmp 0x41216b
push edx
push ecx
call fcn.00491f22
add esp, 8
xor al, al
jmp 0x412b6c
mov al, 1
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.00491a8a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0049b75b
call fcn.0049b75b
call fcn.0049b75b
int3