Function at 0x443ccf
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x463060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call fcn.0042de2a
push eax
call fcn.0042dd7b
xor eax, eax
push 0x206
mov word [ebp - 0x28c], ax
lea eax, [ebp - 0x28a]
push ebx
push eax
call fcn.0042e560
xor eax, eax
push 0x7e
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push ebx
push eax
call fcn.0042e560
add esp, 0x20
lea eax, [ebp - 0x4c8]
push eax
call fcn.00408518
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push 0x45a0e4
mov esi, eax
call fcn.00443a70
mov dword [ebp - 0x2a4], eax
mov eax, esi
mov dword [esp], 0x45a0ec
call fcn.00443a70
pop ecx
mov dword [ebp - 0x294], eax
cmp eax, ebx
jne 0x443d79
push str._channelid
mov eax, esi
call fcn.00443a70
pop ecx
mov dword [ebp - 0x294], eax
push str._Update
mov eax, esi
call fcn.00443a70
pop ecx
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x294], ebx
je 0x443ddb
push dword [ebp - 0x294]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x443dd7
lea edi, [eax + eax]
mov eax, edi
call fcn.0042ee20
mov esi, esp
cmp esi, ebx
je 0x443dd7
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x294]
mov byte [esi], bl
push ebx
push 3
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x443de0
xor eax, eax
jmp 0x443de0
mov eax, 0x45a128
add eax, 4
push eax
lea eax, [ebp - 0x29d]
push eax
call fcn.0044a0b3
mov eax, dword [0x46536c]
mov ecx, 0x46536c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
call fcn.0044bc18
pop ecx
push eax
call fcn.0044bcd3
mov esi, dword [ebp - 0x298]
mov eax, dword [esi - 0xc]
pop ecx
pop ecx
cmp eax, ebx
je 0x443e8b
jl 0x443e61
push 0x45a15c
push esi
call fcn.0042d093
pop ecx
pop ecx
cmp eax, ebx
je 0x443e61
sub eax, esi
sar eax, 1
js 0x443e61
push ebx
lea esi, [ebp - 0x298]
call fcn.004015c9
push eax
push 0x45a160
push str._s__s_
jmp 0x443e78
push ebx
lea esi, [ebp - 0x298]
call fcn.004015c9
push eax
push str._PS
push str._s_s
mov eax, 0x468184
call fcn.00405c83
mov esi, dword [ebp - 0x298]
add esp, 0xc
cmp dword [ebp - 0x2a4], ebx
jne 0x444071
cmp dword [ebp - 0x29c], ebx
jne 0x444071
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 8
pop edi
lea eax, [ebp - 0x2a8]
push eax
mov dword [ebp - 0x2a8], edi
mov dword [ebp - 0x2a4], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00408fba
call fcn.0044d291
push 0x40
lea eax, [ebp - 0x84]
push eax
lea ebx, [ebp - 0x28c]
call fcn.0044be2a
test eax, eax
jne 0x443f35
mov eax, dword [0x4647a0]
cmp dword [0x4647b4], edi
jae 0x443f08
mov eax, 0x4647a0
lea ecx, [ebp - 0x84]
call fcn.00443b16
test eax, eax
jle 0x443f35
push 0x40
push 0x45a1c4
push 0x45a1d0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0044a07f
jmp 0x4441fc
xor ebx, ebx
cmp word [ebp - 0x28c], bx
mov ecx, str.app_update_start
setne byte [ebp - 0x290]
cmp byte [ebp - 0x290], bl
jne 0x443f57
mov ecx, str.app_install_start
push 0x453a33
call fcn.0044a175
pop ecx
cmp byte [ebp - 0x290], bl
je 0x443f72
mov dword [ebp - 0x294], ebx
jmp 0x443f84
cmp dword [ebp - 0x294], ebx
jne 0x443f84
mov dword [ebp - 0x294], 0x45a268
mov esi, dword [sym.imp.USER32.dll_GetActiveWindow]
call esi
lea edi, [ebp - 0x4c8]
call fcn.00408818
cmp byte [ebp - 0x334], bl
je 0x444044
lea edi, [ebp - 0x328]
call fcn.00406a8a
push ebx
push ebx
lea ebx, [ebp - 0x28c]
call fcn.0044be2a
test eax, eax
jne 0x443ffd
call fcn.00406fb3
mov eax, ebx
push eax
call fcn.004431f3
pop ecx
mov ecx, ebx
call fcn.00407b95
cmp byte [ebp - 0x290], 0
jne 0x443fe7
call esi
push eax
mov ebx, edi
call fcn.0040872f
xor ebx, ebx
cmp byte [0x468108], bl
je 0x443ff6
call fcn.00449b51
push ebx
push ebx
call fcn.00444c90
call fcn.00449df2
call fcn.00449dde
call fcn.0044a07f
push dword [ebp - 0x290]
push dword [ebp - 0x294]
call fcn.00449fcf
call fcn.00442bbf
cmp byte [ebp - 0x290], 0
je 0x444032
call fcn.00449e72
jmp 0x444037
call fcn.00449eca
lea ecx, [ebp - 0x328]
call fcn.00449dac
jmp 0x444061
mov ecx, str.app_update_cancel
cmp byte [ebp - 0x290], bl
jne 0x444056
mov ecx, str.app_install_cancel
push 0x453a3b
call fcn.0044a175
pop ecx
call fcn.00408f2d
mov esi, dword [ebp - 0x298]
jmp 0x4441fc
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0044d291
push 0x40
lea eax, [ebp - 0x84]
push eax
lea ebx, [ebp - 0x28c]
call fcn.0044be2a
test eax, eax
jne 0x4440b9
mov eax, 0x45a194
lea ecx, [ebp - 0x84]
call fcn.00443b16
test eax, eax
jle 0x4440b9
xor ebx, ebx
cmp dword [ebp - 0x29c], ebx
je 0x4441f7
jmp 0x4440bb
xor ebx, ebx
cmp word [ebp - 0x28c], bx
movzx edx, word [ebp - 0x28c]
setne byte [ebp - 0x290]
neg edx
sbb edx, edx
lea eax, [ebp - 0x28c]
and edx, eax
lea ecx, [ebp - 0x408]
call fcn.004467fe
test eax, eax
jl 0x4441fc
mov eax, 0x464780
call fcn.0044bda3
test eax, eax
jl 0x4441fc
cmp dword [ebp - 0x2a4], ebx
je 0x444110
call fcn.00406fb3
jmp 0x444128
lea eax, [ebp - 0x4c8]
call fcn.00408640
cmp byte [0x468108], bl
je 0x444128
call fcn.00449b51
push ebx
push ebx
lea ebx, [ebp - 0x28c]
call fcn.0044be2a
test eax, eax
jne 0x444159
mov eax, ebx
push eax
call fcn.004431f3
xor ebx, ebx
pop ecx
cmp byte [ebp - 0x290], bl
je 0x44415b
lea ecx, [ebp - 0x28c]
call fcn.00407b95
jmp 0x44415b
xor ebx, ebx
lea edi, [ebp - 0x328]
call fcn.00406a8a
mov dword [ebp - 0x308], ebx
call fcn.00449df2
call fcn.00449dde
cmp byte [ebp - 0x290], bl
je 0x44418b
push dword [ebp - 0x290]
call fcn.00449f22
jmp 0x4441a9
cmp dword [ebp - 0x294], ebx
jne 0x44419d
mov dword [ebp - 0x294], 0x45a1a8
push ebx
push dword [ebp - 0x294]
call fcn.00449fcf
call fcn.00442bbf
cmp byte [ebp - 0x290], bl
je 0x4441bd
call fcn.00449e72
jmp 0x4441c2
call fcn.00449eca
cmp dword [ebp - 0x29c], ebx
setne al
cmp dword [ebp - 0x2a4], ebx
movzx eax, al
push eax
setne al
movzx eax, al
push eax
call fcn.00444c90
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [ebp - 0x328]
call fcn.00449dac
call fcn.00442bbf
lea eax, [esi - 0x10]
call fcn.004015fa
lea eax, [ebp - 0x4c8]
push eax
call fcn.004085eb
xor eax, eax
lea esp, [ebp - 0x4d4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bd77
leave
ret 0x10