Function at 0x44f060
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd458
mov eax, dword fs:[0]
push eax
mov eax, 0xd660
call fcn.004aa8c0
mov eax, dword [0x524ee0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xd618], edi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xd634], eax
mov eax, dword [0x526340]
imul eax, eax
mov dword [ebp - 0xd614], esi
and eax, 0x8000000f
jns 0x44f0c0
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 0xc
jne 0x44f0dc
push 0xbc
push 0xbb
push str._d__d_n
call fcn.004aa80e
add esp, 0xc
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd624], eax
lea eax, [ebp - 0xd620]
push eax
mov dword [ebp - 4], 0
call fcn.00431bb0
add esp, 4
mov ebx, eax
mov edx, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 1
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xd60c], eax
mov eax, str.geo
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x44f36f
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x44f158
push esi
push eax
lea ecx, [ebp - 0xd60c]
call fcn.004074c0
mov esi, dword [ebp - 0xd614]
push ebx
lea eax, [ebp - 0xd60c]
push eax
lea eax, [ebp - 0xd62c]
push eax
mov byte [ebp - 4], 3
call fcn.0040b600
push str.userscope
push eax
lea eax, [ebp - 0xd628]
push eax
mov byte [ebp - 4], 4
call fcn.0040b6c0
cmp byte [edi + 0x9c], 0
mov edx, 0x4e3a64
mov ecx, 0x4e2c0c
cmove ecx, edx
push ecx
push eax
lea eax, [ebp - 0xd630]
push eax
mov byte [ebp - 4], 5
call fcn.0040b6c0
add esp, 0x24
mov eax, dword [eax]
lea ecx, [ebp - 0xd624]
push dword [eax - 0xc]
mov byte [ebp - 4], 6
push eax
call fcn.0040b920
mov edx, dword [ebp - 0xd630]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 5
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44f1f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd628]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f213
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd62c]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f236
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd60c]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f259
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd620]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f27c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.downloading_update
lea ecx, [ebp - 0xd60c]
call fcn.00401ff0
lea eax, [ebp - 0xd624]
push eax
lea eax, [ebp - 0xd60c]
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00430530
mov edx, dword [ebp - 0xd60c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f2c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
lea eax, [ebp - 0xd61c]
push esi
push eax
call fcn.00436c20
add esp, 0xc
mov ecx, dword [0x526340]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov ecx, 0x13
idiv ecx
mov byte [ebp - 4], 8
cmp edx, 5
jne 0x44f31c
mov ebx, dword [0x526340]
xor esi, esi
mov edi, ebx
inc esi
dec edi
cmp esi, 0xd2
jb 0x44f303
mov edi, dword [ebp - 0xd618]
mov esi, dword [ebp - 0xd614]
or ebx, 0xffffffff
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x44f3d5
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd60c], eax
mov eax, str.download_updater_js
mov byte [ebp - 4], 9
test eax, 0xffff0000
jne 0x44f384
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x44f394
push esi
push eax
lea ecx, [ebp - 0xd60c]
call fcn.004074c0
jmp 0x44f394
push str.geo
lea ecx, [ebp - 0xd60c]
call fcn.0040b3b0
jmp 0x44f15e
push str.download_updater_js
lea ecx, [ebp - 0xd60c]
call fcn.0040b3b0
lea eax, [ebp - 0xd60c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.004305c0
mov edx, dword [ebp - 0xd60c]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f3c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0xd60d], 0
jmp 0x44f99d
push dword [edi + 0x1c]
lea ecx, [ebp - 0xd61c]
push str.APP_ID
call fcn.004231e0
push dword [edi + 0x20]
lea ecx, [ebp - 0xd61c]
push str.APP_NAME
call fcn.004231e0
mov eax, dword [0x526340]
imul eax, eax
cdq
mov ecx, 0xd
idiv ecx
cmp edx, 5
jne 0x44f482
xor eax, eax
push 0xd21e
push eax
mov word [ebp - 0xd230], ax
lea eax, [ebp - 0xd22e]
push eax
call fcn.004a9c90
add esp, 0xc
xor edi, edi
xor esi, esi
xor eax, eax
test edi, edi
je 0x44f45c
test eax, eax
je 0x44f45c
lea ecx, [esi + eax]
lea edx, [ebp - 0xd230]
lea edx, [edx + ecx*2]
lea ecx, [esi + eax]
mov cx, word [ebp + ecx*2 - 0xd378]
inc cx
add cx, word [edx - 2]
mov word [edx], cx
inc eax
cmp eax, 0xa4
jl 0x44f434
add esi, 0xa4
inc edi
cmp esi, 0x6910
jl 0x44f432
movsx eax, word [ebp - 0x12]
mov edi, dword [ebp - 0xd618]
mov dword [0x526340], eax
push dword [edi + 0x24]
lea ecx, [ebp - 0xd61c]
push str.BIC
call fcn.004231e0
push dword [edi + 0x4c]
lea ecx, [ebp - 0xd61c]
push str.SRCID
call fcn.004231e0
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd60c], eax
mov eax, str.executing_update
mov byte [ebp - 4], 0xb
test eax, 0xffff0000
jne 0x44f4ef
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x44f501
push esi
push eax
lea ecx, [ebp - 0xd60c]
call fcn.004074c0
jmp 0x44f501
push 0x10
push str.executing_update
lea ecx, [ebp - 0xd60c]
call fcn.00409670
lea eax, [ebp - 0xd624]
push eax
lea eax, [ebp - 0xd60c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.00430530
mov edx, dword [ebp - 0xd60c]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f53d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0xd628], eax
call fcn.00450f40
test al, al
jne 0x44f562
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
call fcn.0040af60
mov dword [ebp - 0xd66c], 0x4e52b0
mov dword [ebp - 0xd668], 0
mov dword [ebp - 0xd664], 0
mov dword [ebp - 0xd660], 0
mov dword [ebp - 0xd65c], 0
mov dword [ebp - 0xd658], 0
mov dword [ebp - 0xd654], 0
mov eax, dword [0x5263a4]
add eax, 0x10
push eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0xd62c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x527d20]
push 4
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
mov dword [ebp - 0xd620], eax
call fcn.004a9834
add esp, 0xc
test eax, eax
je 0x44f632
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.004a9834
add esp, 0xc
test eax, eax
je 0x44f632
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
lea ecx, [eax*4]
mov eax, dword [esi]
add eax, ecx
je 0x44f620
mov edx, dword [ebp - 0xd620]
mov dword [eax], edx
mov eax, dword [esi + 4]
add eax, ecx
je 0x44f62f
lea ecx, [ebp - 0xd66c]
mov dword [eax], ecx
inc dword [esi + 8]
push dword [ebp - 0xd62c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd60c], eax
mov eax, str.main
mov byte [ebp - 4], 0xe
test eax, 0xffff0000
jne 0x44f685
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x44f697
push esi
push eax
lea ecx, [ebp - 0xd60c]
call fcn.004074c0
jmp 0x44f697
push 4
push str.main
lea ecx, [ebp - 0xd60c]
call fcn.00409670
mov eax, dword [edi]
lea ecx, [ebp - 0xd620]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0xf
call dword [eax + 0x14]
lea ecx, [ebp - 0xd60c]
push ecx
push dword [ebp - 0xd634]
lea ecx, [ebp - 0xd61c]
push ecx
push eax
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0xd608]
mov byte [ebp - 4], 0x10
call fcn.004020a0
mov edx, dword [ebp - 0xd620]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x12
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f6f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd60c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f717
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00450e60
test al, al
jne 0x44f73e
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ebp - 0xd608]
call fcn.0040a740
test al, al
jne 0x44f7aa
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd614], eax
mov eax, str.fail_init_host_class
mov byte [ebp - 4], 0x14
test eax, 0xffff0000
jne 0x44f794
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x44f7a4
push esi
push eax
lea ecx, [ebp - 0xd614]
call fcn.004074c0
jmp 0x44f7a4
push str.fail_init_host_class
lea ecx, [ebp - 0xd614]
call fcn.0040b3b0
mov byte [ebp - 4], 0x15
jmp 0x44f820
push 0
push dword [ebp - 0xd628]
lea ecx, [ebp - 0xd608]
call fcn.0044b5b0
test eax, eax
jne 0x44f85d
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd614], eax
mov eax, str.create_browser_dialog
mov byte [ebp - 4], 0x16
test eax, 0xffff0000
jne 0x44f80c
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x44f81c
push esi
push eax
lea ecx, [ebp - 0xd614]
call fcn.004074c0
jmp 0x44f81c
push str.create_browser_dialog
lea ecx, [ebp - 0xd614]
call fcn.0040b3b0
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0xd614]
push eax
mov ecx, edi
call fcn.004305c0
mov edx, dword [ebp - 0xd614]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
mov byte [ebp - 4], 0x13
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f851
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0xd60d], 0
jmp 0x44f92c
push str.about:blank
lea ecx, [ebp - 0xd618]
call fcn.00401ff0
lea eax, [ebp - 0xd618]
push eax
lea ecx, [ebp - 0xd608]
mov byte [ebp - 4], 0x18
call fcn.004228c0
mov edx, dword [ebp - 0xd618]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f8a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xd66c]
call fcn.0044efb0
mov ecx, 0x527cec
mov esi, eax
call fcn.0044ed50
call fcn.0043aa80
test al, al
jne 0x44f8d7
push 0x46
push 0x45
push str._d__d_n
call fcn.004aa80e
add esp, 0xc
push str.update_done
lea ecx, [ebp - 0xd618]
call fcn.00401ff0
lea eax, [ebp - 0xd624]
push eax
lea eax, [ebp - 0xd618]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x19
call fcn.00430530
mov edx, dword [ebp - 0xd618]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f923
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
sete byte [ebp - 0xd60d]
lea ecx, [ebp - 0xd608]
mov byte [ebp - 4], 0xd
call fcn.00402730
mov eax, dword [ebp - 0xd65c]
test eax, eax
je 0x44f958
push eax
call fcn.004a976a
add esp, 4
mov dword [ebp - 0xd65c], 0
mov eax, dword [ebp - 0xd668]
mov dword [ebp - 0xd658], 0
mov dword [ebp - 0xd654], 0
test eax, eax
je 0x44f989
push eax
call fcn.004a976a
add esp, 4
mov dword [ebp - 0xd668], 0
mov dword [ebp - 0xd664], 0
mov dword [ebp - 0xd660], 0
mov edx, dword [ebp - 0xd61c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44f9c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xd624]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x44f9e4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd60d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a8b24
mov esp, ebp
pop ebp
ret 8