Function at 0x4783cf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x533929
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov ebx, dword [ebp + 0x14]
mov esi, 0x8066
mov ecx, dword [ebp + 0x10]
inc edx
mov dword [esp + 0x10], ebx
cmp eax, esi
ja 0x47897d
je 0x4787fc
sub eax, 0x4a
je 0x4787c1
sub eax, 0xc7
je 0x4784eb
sub eax, 0x35e
je 0x4784ae
sub eax, 0x7bf5
je 0x478483
dec eax
jne 0x478a1c
mov ecx, edi
call fcn.00478e1e
xor esi, esi
push esi
push esi
push edi
push 0x47ab58
push esi
push esi
call fcn.00506d76
add esp, 0x18
mov dword [edi + 0x8a8], eax
jmp 0x478a16
xor esi, esi
cmp dword [edi + 0x8a4], esi
jne 0x4789b2
push esi
push esi
push edi
push 0x47ab4c
push esi
push esi
call fcn.00506d76
add esp, 0x18
mov dword [edi + 0x8a4], eax
jmp 0x4789af
cmp dword [0x59835c], 0
mov esi, dword [ebp + 0xc]
je 0x4784d7
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___receive_install_progress___d.
push 3
push dword [0x59835c]
call fcn.00481b57
add esp, 0x14
cmp esi, 0x64
ja 0x478a1c
mov dword [edi + 0x143c], esi
jmp 0x478a1c
cmp dword [ebp + 0xc], 0x208
jne 0x478a1c
cmp dword [0x59835c], 0
mov dword [ebx], edx
je 0x47851f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___HandleCustomMessage_exit.
push 3
push dword [0x59835c]
call fcn.00481b57
add esp, 0x10
push str.tray_exit
lea ecx, [esp + 0x70]
call fcn.0044ea5a
push str.button
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2cc], 1
call fcn.0044ea5a
push str.downloader_click
lea ecx, [esp + 0x28]
mov byte [esp + 0x2cc], 2
call fcn.0044ea5a
lea eax, [esp + 0x6c]
mov byte [esp + 0x2c8], 3
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0045fc60
mov ecx, eax
call fcn.004600e9
xor ebx, ebx
lea ecx, [esp + 0x24]
push ebx
push 1
call fcn.0044ea87
push ebx
push 1
lea ecx, [esp + 0xa4]
call fcn.0044ea87
or dword [esp + 0x2c8], 0xffffffff
lea ecx, [esp + 0x6c]
push ebx
push 1
call fcn.0044ea87
mov ecx, dword [edi + 0x7e0]
mov byte [edi + 0xcb1], 1
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x4785e5
mov ecx, edi
call fcn.0047be48
push 1
push ebx
mov ecx, edi
call fcn.004a1723
jmp 0x478a1c
mov ecx, dword [edi + 0x7dc]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x47879b
push ecx
mov ecx, dword [edi + 0x8c4]
mov esi, esp
sub ecx, 0x10
call fcn.00450c82
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [edi + 0x8c0]
call fcn.00485442
pop ecx
test al, al
jne 0x47872a
cmp dword [0x59835c], ebx
je 0x478649
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._WARN___d___HandleCustomMessage_exit__get_product_installed_failed.
push 2
push dword [0x59835c]
call fcn.00481b57
add esp, 0x10
push 0x56acd0
lea ecx, [esp + 0x18]
call fcn.00450c1b
push ecx
mov ecx, esp
mov dword [esp + 0x2cc], 4
push 0x56ac9c
call fcn.00450c1b
mov ecx, dword [edi + 0x88c]
lea eax, [esp + 0x20]
push eax
call fcn.0044f65e
push eax
push ecx
mov ecx, esp
mov byte [esp + 0x2d0], 5
push 0x56acac
call fcn.00450c1b
mov ecx, dword [edi + 0x88c]
lea eax, [esp + 0x20]
push eax
call fcn.0044f65e
push eax
push ecx
mov ecx, esp
mov byte [esp + 0x2d4], 6
push str.tipmsg_close
call fcn.00450c1b
mov ecx, dword [edi + 0x88c]
lea eax, [esp + 0x2c]
push eax
call fcn.0044f65e
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x2d4], 7
push eax
push 1
mov ecx, edi
call fcn.0047baae
mov ecx, dword [esp + 0x20]
cmp eax, 1
setne bl
lea ecx, [ecx - 0x10]
call fcn.00450ce2
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.00450ce2
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00450ce2
or dword [esp + 0x2c8], 0xffffffff
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00450ce2
test bl, bl
jne 0x478a1c
xor ebx, ebx
cmp dword [0x59835c], 0
je 0x47874f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___HandleCustomMessage_exit_
push 3
push dword [0x59835c]
call fcn.00481b57
add esp, 0x10
push 0x56acfc
lea ecx, [esp + 0x40]
call fcn.0044ea5a
push 1
lea eax, [esp + 0x40]
mov dword [esp + 0x2cc], 8
push eax
call fcn.004638b4
or dword [esp + 0x2c8], 0xffffffff
lea ecx, [esp + 0x3c]
push ebx
push 1
call fcn.0044ea87
push ebx
push ebx
push 0x81bc
mov ecx, edi
call fcn.004a132a
jmp 0x478a1c
mov ecx, dword [edi + 0x7e4]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x47872a
mov ecx, dword [edi + 0x888]
call fcn.0046deb9
jmp 0x47872a
test ecx, ecx
je 0x478a1c
push dword [ecx + 8]
lea ecx, [esp + 0x58]
call fcn.00450dd2
lea eax, [esp + 0x54]
mov dword [esp + 0x2c8], 9
push eax
call fcn.004639bd
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.00451108
jmp 0x478a1c
mov ecx, dword [edi + 0x888]
mov al, byte [ecx + 0x749]
test al, al
je 0x478910
push ecx
call fcn.0046c405
xor ebx, ebx
test al, al
je 0x4788c3
mov eax, dword [edi + 0x888]
mov esi, dword [eax + 0x764]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne al
test al, al
je 0x4788b0
xor eax, eax
push 0x1fe
mov word [esp + 0xb8], ax
lea eax, [esp + 0xba]
push ebx
push eax
call fcn.00508bf0
add esp, 0xc
lea eax, [esp + 0xb4]
push 0x100
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, 0x56abf4
lea eax, [esp + 0xb4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4788a2
test dx, dx
je 0x47889e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4788a2
add eax, 4
add ecx, 4
test dx, dx
jne 0x47887c
mov eax, ebx
jmp 0x4788a7
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x4788c3
mov eax, dword [edi + 0x888]
cmp byte [eax + 0x749], bl
je 0x4788c3
call fcn.0047089a
push 0x56abfc
lea ecx, [esp + 0x88]
call fcn.0044ea5a
push ebx
lea eax, [esp + 0x88]
mov dword [esp + 0x2cc], ebx
push eax
call fcn.004638b4
or dword [esp + 0x2c8], 0xffffffff
lea ecx, [esp + 0x84]
push ebx
push 1
call fcn.0044ea87
push ebx
push ebx
push 0x81bc
mov ecx, edi
call fcn.004a132a
jmp 0x47896e
mov ecx, edi
call fcn.00478f1c
mov ecx, edi
call fcn.0047be48
push 1
push 1
mov ecx, edi
call fcn.004a1723
push 0x64
push 1
mov ecx, edi
call fcn.0047d474
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
xor ebx, ebx
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [edi + 4]
call esi
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [edi + 4]
call esi
push 0x3e8
push 0x7c6
push dword [edi + 0x788]
lea ecx, [edi + 0x30]
call fcn.004a09b3
mov eax, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x478a1c
sub eax, 0x8067
je 0x4789f8
dec eax
je 0x4789ef
dec eax
je 0x4789d4
sub eax, 0x153
je 0x4789b6
sub eax, 0x604
jne 0x478a1c
mov eax, dword [ebp + 0xc]
cmp eax, dword [edi + 0x900]
jne 0x4789b2
push ecx
mov ecx, edi
call fcn.0047bec8
xor edx, edx
inc edx
mov dword [ebx], edx
jmp 0x478a1c
mov ecx, edi
mov dword [edi + 0x89c], edx
call fcn.0047ab80
mov ecx, edi
call fcn.0047be48
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x478a16
cmp byte [edi + 0x8e4], 0
jne 0x478a1c
cmp byte [edi + 0x1430], 0
jne 0x478a1c
mov ecx, edi
call fcn.00476398
jmp 0x478a1c
mov ecx, edi
call fcn.00478a65
jmp 0x478a16
xor esi, esi
mov ecx, edi
push esi
push esi
push 0x8064
call fcn.004a132a
push esi
push esi
push 0x8065
mov ecx, edi
call fcn.004a132a
mov dword [ebx], 1
xor eax, eax
inc eax
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.00504075
mov esp, ebp
pop ebp
ret 0x10