Function at 0x44cd50
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cabcc
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x51eee0]
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 ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x190], eax
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x180], eax
mov esi, dword [0x520340]
mov eax, esi
imul eax, esi
cdq
mov ecx, 0x13
idiv ecx
mov dword [ebp - 4], 0
cmp edx, 2
jne 0x44ce02
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a5340
push eax
call fcn.004a7190
add esp, 8
lea eax, [ebp - 0x178]
push eax
call fcn.00430c70
add esp, 4
mov edi, eax
mov edx, dword [0x51eab0]
mov ecx, 0x51eab0
mov byte [ebp - 4], 1
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x16c], eax
mov eax, str.geo
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x44ce5f
movzx esi, ax
push 0
push esi
call fcn.00403b80
add esp, 8
test eax, eax
je 0x44ce6f
push esi
push eax
lea ecx, [ebp - 0x16c]
call fcn.00407650
jmp 0x44ce6f
push str.geo
lea ecx, [ebp - 0x16c]
call fcn.0040b410
push edi
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x184]
push eax
mov byte [ebp - 4], 3
call fcn.0040b660
push str.userscope
push eax
lea eax, [ebp - 0x194]
push eax
mov byte [ebp - 4], 4
call fcn.0040b720
cmp byte [ebx + 0xa0], 0
mov edx, 0x4dd764
mov ecx, 0x4dbdfc
cmove ecx, edx
push ecx
push eax
lea eax, [ebp - 0x188]
push eax
mov byte [ebp - 4], 5
call fcn.0040b720
add esp, 0x24
mov eax, dword [eax]
lea ecx, [ebp - 0x180]
push dword [eax - 0xc]
mov byte [ebp - 4], 6
push eax
call fcn.0040b980
mov edx, dword [ebp - 0x188]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 5
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44cf01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x194]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44cf24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x184]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44cf47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x16c]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44cf6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x178]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44cf8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.downloading_update
lea ecx, [ebp - 0x16c]
call fcn.00401ff0
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x16c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.0042f4b0
mov edx, dword [ebp - 0x16c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44cfd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0044ebe0
mov esi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test al, al
jne 0x44cff4
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push dword [ebp - 0x170]
lea eax, [ebp - 0x174]
push eax
call fcn.00435e40
add esp, 0xc
mov eax, dword [ebp - 0x170]
mov byte [ebp - 4], 8
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x44d1a6
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x16c], eax
mov eax, str.download_updater_js
mov byte [ebp - 4], 9
test eax, 0xffff0000
jne 0x44d068
movzx esi, ax
push 0
push esi
call fcn.00403b80
add esp, 8
test eax, eax
je 0x44d078
push esi
push eax
lea ecx, [ebp - 0x16c]
call fcn.00407650
jmp 0x44d078
push str.download_updater_js
lea ecx, [ebp - 0x16c]
call fcn.0040b410
lea eax, [ebp - 0x16c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.0042f540
mov edx, dword [ebp - 0x16c]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d0ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0044eae0
test al, al
jne 0x44d19f
mov ecx, dword [0x520340]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x178], eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x184], eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x194], eax
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x188], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x16c], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x190], eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0x18c], eax
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x17c], eax
lea esi, [ebp - 0xd7]
lea ebx, [ebx]
mov eax, dword [0x520340]
mov cl, al
sub cl, bl
mov edi, 1
mov ebx, 0xb
add esi, 9
inc edi
dec ebx
jne 0x44d183
mov ebx, dword [ebp - 0x170]
inc ebx
mov dword [ebp - 0x170], ebx
cmp ebx, 2
jl 0x44d170
or edi, 0xffffffff
xor bl, bl
jmp 0x44d647
call fcn.0044ea80
test al, al
jne 0x44d1cd
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]
push dword [ebx + 0x1c]
lea ecx, [ebp - 0x174]
push str.APP_ID
call fcn.00421cf0
push dword [ebx + 0x20]
lea ecx, [ebp - 0x174]
push str.APP_NAME
call fcn.00421cf0
call fcn.0044eab0
test al, al
jne 0x44d208
push 0
push 0
push 0
push 0
push 0
call esi
push dword [ebx + 0x24]
lea ecx, [ebp - 0x174]
push str.BIC
call fcn.00421cf0
push dword [ebx + 0x4c]
lea ecx, [ebp - 0x174]
push str.SRCID
call fcn.00421cf0
push str.executing_update
lea ecx, [ebp - 0x170]
call fcn.00401ff0
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x170]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.0042f4b0
mov edx, dword [ebp - 0x170]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d27a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x178], eax
call fcn.0040af90
mov dword [ebp - 0x1cc], 0x4def90
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov esi, dword [0x520394]
lea eax, [ebp - 0x1cc]
add esi, 0x10
push esi
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x17c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x521880]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.00448470
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.main
lea ecx, [ebp - 0x170]
call fcn.00401ff0
mov eax, dword [ebx]
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0xd
call dword [eax + 0x14]
lea ecx, [ebp - 0x170]
push ecx
push dword [ebp - 0x190]
lea ecx, [ebp - 0x174]
push ecx
push eax
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0xe
call fcn.004020a0
mov edx, dword [ebp - 0x17c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x10
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d38a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x170]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x11
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d3ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x168]
call fcn.0040a8d0
test al, al
jne 0x44d494
push str.fail_init_host_class
lea ecx, [ebp - 0x16c]
call fcn.0041fcc0
lea eax, [ebp - 0x16c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x12
call fcn.0042f540
mov edx, dword [ebp - 0x16c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x11
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d405
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x520340]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov esi, 0x14
idiv esi
cmp edx, 2
jne 0x44d4f0
test ecx, ecx
je 0x44d4f0
lea esp, [esp]
mov eax, ecx
and eax, 0x80000001
jns 0x44d43e
dec eax
or eax, 0xfffffffe
inc eax
jne 0x44d44b
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jmp 0x44d452
lea ecx, [ecx*2 + 1]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
lea eax, [eax + eax*2]
sub edx, eax
mov dword [0x520340], ecx
sub edx, 0
je 0x44d47c
sub edx, 2
je 0x44d47f
dec edx
je 0x44d480
jmp 0x44d489
add ecx, 2
inc ecx
add ecx, 2
mov dword [0x520340], ecx
test ecx, ecx
jne 0x44d430
xor bl, bl
jmp 0x44d5d6
push 0
push dword [ebp - 0x178]
lea ecx, [ebp - 0x168]
call fcn.00449810
lea ecx, [ebp - 0x16c]
test eax, eax
jne 0x44d4f7
push str.create_browser_dialog
call fcn.0041fcc0
lea eax, [ebp - 0x16c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x13
call fcn.0042f540
mov edx, dword [ebp - 0x16c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x11
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d4f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x44d5d6
push str.about:blank
call fcn.00401ff0
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x14
call fcn.004215a0
mov edx, dword [ebp - 0x16c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x11
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d53a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1cc]
call fcn.0044cca0
mov esi, eax
call fcn.0044ea80
mov ecx, dword [0x52183c]
mov edx, 0x84c3f8d9
test al, al
cmove ecx, edx
mov dword [0x52183c], ecx
mov ecx, 0x52184c
call fcn.0044ca40
push str.update_done
lea ecx, [ebp - 0x16c]
call fcn.00401ff0
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x16c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x15
call fcn.0042f4b0
mov edx, dword [ebp - 0x16c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x11
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d5b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0044ea00
test al, al
jne 0x44d5d1
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
test esi, esi
sete bl
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0xc
call fcn.00402760
mov eax, dword [ebp - 0x1bc]
test eax, eax
je 0x44d602
push eax
call fcn.004a700a
add esp, 4
mov dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
test eax, eax
je 0x44d633
push eax
call fcn.004a700a
add esp, 4
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov edx, dword [ebp - 0x174]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d66a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x180]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x44d68e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.004a63c4
mov esp, ebp
pop ebp
ret 8