Function at 0x40e1f0
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push 0xffffffffffffffff
push 0x46dcf0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x476440
lea edi, [esi + 0x114]
push 0xbc
mov ecx, edi
call fcn.00414640
test eax, eax
je 0x40dccb
mov ecx, edi
call fcn.00413440
push 0x476440
lea edi, [esi + 0x1f0]
push 0xbd
mov ecx, edi
call fcn.00414640
test eax, eax
je 0x40dced
mov ecx, edi
call fcn.00413440
push 0xc1
push 0xc0
push 0xbf
push 0xbe
lea ecx, [esi + 0x2c8]
call fcn.00411b90
push 0xc5
push 0xc4
push 0xc3
push 0xc2
lea ecx, [esi + 0x350]
call fcn.00411b90
push 0x476434
lea ecx, [esp + 0x18]
call fcn.00401e60
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
xor ebp, ebp
mov dword [esp + 0x30], ebp
cmp eax, ebp
jne 0x40ddb7
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x474ad4
call fcn.00401e60
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x474c40
mov byte [esp + 0x3c], 1
call fcn.00401e60
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x3c], 0
call fcn.004106c0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 2
call fcn.00401d40
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ddb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00439744
mov edx, dword [esi + 0x20]
push 0x7b6
push str.qupdater.needmsg
push edx
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [0x49219c]
push eax
mov ecx, 0x492194
call fcn.00402250
mov eax, dword [esi + 0x20]
xor edi, edi
mov dword [esp + 0x18], ebp
cmp eax, ebp
je 0x40de1b
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x40de1b
push eax
push ebp
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
xor ebx, ebx
cmp edi, ebp
je 0x40de37
push 0x40
push 0x3000
push 0x800
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
mov edx, dword [esi + 0x20]
push edx
mov ecx, 0x492178
call fcn.00402730
mov dword [eax], ebx
mov eax, dword [esi + 0x20]
push eax
mov ecx, 0x49213c
call fcn.00402730
mov dword [eax], edi
cmp dword [0x492270], ebp
jle 0x40df30
call fcn.0043b055
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40de7d
push 0x80004005
call fcn.00401530
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [0x492270]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
mov bl, 3
push str.Found__d_files_need_to_update...
mov byte [esp + 0x3c], bl
call fcn.00401e60
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x474c40
mov byte [esp + 0x40], 4
call fcn.00401e60
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x40], bl
call fcn.004106c0
add esp, 0xc
mov eax, dword [eax]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x3c], 5
call fcn.00402e00
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xbc]
cmp eax, 1
je 0x40df51
cmp eax, 2
je 0x40df51
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push ebp
push edx
push 0x402320
jmp 0x40df60
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ebp
push ecx
push 0x40d750
push ebp
push ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 0x134]
mov edi, dword [sym.imp.USER32.dll_UpdateWindow]
push edx
call edi
mov eax, dword [esi + 0x210]
push eax
call edi
mov ecx, dword [esi + 0x2e8]
push ecx
call edi
mov edx, dword [esi + 0x370]
push edx
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dfc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push esi
mov esi, ecx
call fcn.004010f0
mov ecx, esi
pop esi
jmp 0x40dc80