Function at 0x40e3e0
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 0x4b0e5d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3e8
mov eax, dword [0x4e143c]
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.00442660
mov ecx, eax
call fcn.00457fd0
test al, al
jne 0x40e652
push 0x100
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048da50
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x80
push str.MsgBox_accept_protocol
push 0x80
push eax
push 0
call fcn.0049560d
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call fcn.00443120
mov edx, eax
add esp, 4
test edx, edx
jne 0x40e4b8
lea eax, [ebp - 0x218]
push eax
push eax
call fcn.00442290
lea eax, [ebp - 0x218]
push eax
call fcn.00443120
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 0x40e4e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00402a50
push 0x100
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0048da50
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x80
push str.MsgBox_error
push 0x80
push eax
push 0
call fcn.0049560d
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
call fcn.00443120
mov esi, eax
add esp, 4
test esi, esi
jne 0x40e568
lea eax, [ebp - 0x118]
push eax
push eax
call fcn.00442290
lea eax, [ebp - 0x118]
push eax
call fcn.00443120
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 0x40e590
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00402a50
sub esp, 0x28
mov byte [ebp - 4], 1
mov eax, esp
lea ecx, [ebp - 0x3b0]
mov dword [eax + 0x24], 0
call fcn.00407440
add esp, 0x28
mov esi, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34c]
call fcn.00453c30
mov edx, esi
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004144f0
mov ecx, dword [ebp - 0x374]
add esp, 0x30
test ecx, ecx
je 0x40e60f
mov edx, dword [ecx]
lea eax, [ebp - 0x398]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x374], 0
mov edx, dword [ebp - 0x39c]
cmp edx, 8
jb 0x40ee06
mov ecx, dword [ebp - 0x3b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40edfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee2a
jmp 0x40edfc
push 0x4e2250
lea ecx, [ebp - 0x364]
call fcn.004029b0
lea ecx, [ebp - 0x364]
mov dword [ebp - 4], 4
call fcn.0040aa90
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x350]
cmp edx, 8
jb 0x40e6bb
mov ecx, dword [ebp - 0x364]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e6b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee2f
push edx
push ecx
call fcn.0048bac4
add esp, 8
push 0x4e2250
lea ecx, [ebp - 0x364]
call fcn.004029b0
lea ecx, [ebp - 0x364]
mov dword [ebp - 4], 5
call fcn.0040ab60
test al, al
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x350]
sete al
mov byte [ebp - 0x339], al
cmp edx, 8
jb 0x40e735
mov ecx, dword [ebp - 0x364]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e725
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee34
push edx
push ecx
call fcn.0048bac4
mov al, byte [ebp - 0x339]
add esp, 8
test al, al
je 0x40e8ea
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0048da50
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x80
push str.MsgBox_error_path
push 0x80
push eax
push 0
call fcn.0049560d
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
call fcn.00443120
mov edx, eax
add esp, 4
test edx, edx
jne 0x40e7a6
lea eax, [ebp - 0x118]
push eax
push eax
call fcn.00442290
lea eax, [ebp - 0x118]
push eax
call fcn.00443120
add esp, 0xc
mov edx, eax
sub esp, 0x18
mov ecx, edx
mov esi, esp
mov dword [ebp - 0x334], 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 0x40e7d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00402a50
push 0x100
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 6
push 0
push eax
call fcn.0048da50
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x80
push str.MsgBox_error
push 0x80
push eax
push 0
call fcn.0049560d
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call fcn.00443120
mov esi, eax
add esp, 4
test esi, esi
jne 0x40e858
lea eax, [ebp - 0x218]
push eax
push eax
call fcn.00442290
lea eax, [ebp - 0x218]
push eax
call fcn.00443120
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 0x40e880
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00402a50
sub esp, 0x28
mov byte [ebp - 4], 7
mov eax, esp
lea ecx, [ebp - 0x3b0]
mov dword [eax + 0x24], 0
call fcn.00407440
add esp, 0x28
mov esi, eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x34c]
call fcn.00453c30
mov edx, esi
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.004144f0
mov ecx, dword [ebp - 0x374]
add esp, 0x30
test ecx, ecx
je 0x40e60f
jmp 0x40e5f1
push 0x4e2250
lea ecx, [ebp - 0x364]
call fcn.004029b0
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x364]
mov ecx, 3
mov dword [ebp - 0x330], 0
cmp dword [ebp - 0x354], ecx
mov dword [ebp - 0x320], 0
cmovb ecx, dword [ebp - 0x354]
cmp dword [ebp - 0x350], 8
push ecx
cmovae eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x330]
push eax
mov dword [ebp - 0x31c], 7
call fcn.00402a50
cmp dword [ebp - 0x31c], 8
lea ecx, [ebp - 0x338]
push 0
mov eax, 0x3c
xorps xmm0, xmm0
mov dword [ebp - 0x340], eax
lea eax, [ebp - 0x330]
cmovae eax, dword [ebp - 0x330]
push 0
push ecx
push eax
movq qword [ebp - 0x338], xmm0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x40e9df
mov edx, dword [ebp - 0x31c]
cmp edx, 8
jb 0x40e9d2
mov ecx, dword [ebp - 0x330]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e9c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee2a
push edx
push ecx
call fcn.0048bac4
add esp, 8
xorps xmm0, xmm0
movsd qword [ebp - 0x348], xmm0
jmp 0x40ea40
mov edx, dword [ebp - 0x334]
mov ecx, dword [ebp - 0x338]
call fcn.0048c350
mulsd xmm0, qword [0x4d3750]
mov edx, dword [ebp - 0x31c]
movsd qword [ebp - 0x348], xmm0
cmp edx, 8
jb 0x40ea40
mov ecx, dword [ebp - 0x330]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ea36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee2a
push edx
push ecx
call fcn.0048bac4
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x350]
cmp edx, 8
jb 0x40ea87
mov ecx, dword [ebp - 0x364]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ea7d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee2a
push edx
push ecx
call fcn.0048bac4
add esp, 8
movsd xmm0, qword [0x4d37a0]
comisd xmm0, xmmword [ebp - 0x348]
jbe 0x40eb4a
push 0x4e2250
lea ecx, [ebp - 0x364]
call fcn.004029b0
push 0xc
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x364]
push str.dnplayer.exe
mov dword [ebp - 0x344], 0x7d
call fcn.00402bb0
mov dword [ebp - 0x330], 0
xor ecx, ecx
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x330], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x320], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, 0xff
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x330]
push eax
call fcn.0042de20
add esp, 4
mov byte [ebp - 0x339], 1
test al, al
je 0x40eb51
mov byte [ebp - 0x339], 0
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x340]
test al, 2
je 0x40ebce
mov edx, dword [ebp - 0x31c]
and eax, 0xfffffffd
mov dword [ebp - 0x340], eax
cmp edx, 8
jb 0x40ebb1
mov ecx, dword [ebp - 0x330]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eba1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee2a
push edx
push ecx
call fcn.0048bac4
mov eax, dword [ebp - 0x340]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 7
mov word [ebp - 0x330], cx
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x40ec19
mov edx, dword [ebp - 0x350]
cmp edx, 8
jb 0x40ec19
mov ecx, dword [ebp - 0x364]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee2a
push edx
push ecx
call fcn.0048bac4
add esp, 8
cmp byte [ebp - 0x339], 0
je 0x40ee0a
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0048da50
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x80
push str.MsgBox_disk_notEnough
push 0x80
push eax
push 0
call fcn.0049560d
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
call fcn.00443120
mov edx, eax
add esp, 4
test edx, edx
jne 0x40ec8f
lea eax, [ebp - 0x118]
push eax
push eax
call fcn.00442290
lea eax, [ebp - 0x118]
push eax
call fcn.00443120
add esp, 0xc
mov edx, eax
sub esp, 0x18
mov ecx, edx
mov esi, esp
mov dword [ebp - 0x334], esp
lea edi, [ecx + 2]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ecb3
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00402a50
push 0x100
lea eax, [ebp - 0x318]
mov dword [ebp - 4], 0xd
push 0
push eax
call fcn.0048da50
add esp, 0xc
lea eax, [ebp - 0x318]
push 0x80
push str.MsgBox_error
push 0x80
push eax
push 0
call fcn.0049560d
add esp, 0x14
lea eax, [ebp - 0x318]
push eax
call fcn.00443120
mov esi, eax
add esp, 4
test esi, esi
jne 0x40ed3b
lea eax, [ebp - 0x318]
push eax
push eax
call fcn.00442290
lea eax, [ebp - 0x318]
push eax
call fcn.00443120
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
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ed60
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00402a50
sub esp, 0x28
mov byte [ebp - 4], 0xe
mov eax, esp
lea ecx, [ebp - 0x3f8]
mov dword [eax + 0x24], 0
call fcn.00407440
add esp, 0x28
mov esi, eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x34c]
call fcn.00453c30
mov edx, esi
mov byte [ebp - 4], 0x10
mov ecx, eax
call fcn.004144f0
mov ecx, dword [ebp - 0x3bc]
add esp, 0x30
test ecx, ecx
je 0x40eddf
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 0x40ee06
mov ecx, dword [ebp - 0x3f8]
lea edx, [edx*2 + 2]
jmp 0x40e62b
push edx
push ecx
call fcn.0048bac4
add esp, 8
xor al, al
jmp 0x40ee0c
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.0048b62c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004952eb
call fcn.004952eb
call fcn.004952eb
int3