Function at 0x40fc6b
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, 0x460fd7
call fcn.0044b154
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x34]
call fcn.0043c5a0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], ebx
mov edi, dword [ebp + 0xc]
push 0x46b2b0
lea eax, [ebp - 0x50]
push eax
mov ecx, edi
call fcn.0043f5c0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0043e2f0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
call fcn.0043eb50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0043eb50
push ebx
lea ecx, [ebp - 0x34]
call fcn.0043c660
lea eax, [ebp - 0x34]
push eax
push str.silent
lea eax, [ebp - 0x50]
push eax
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.0043f5c0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0043ccc0
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 2
call fcn.0043eb50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0043eb50
mov esi, str.App::ReStartOfferThread_2480
push esi
call fcn.00449520
mov dword [ebp - 0x18], eax
movzx eax, byte [ebp - 0x11]
push eax
mov dword [ebp - 4], 4
push dword [ebp - 0x1c]
push esi
push str.___s__id_d_s_d_
push ebx
call fcn.0043a6e3
add esp, 0x18
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0043d770
cmp al, bl
jne 0x40fd6b
cmp byte [ebp - 0x11], bl
mov esi, dword [ebp + 8]
jne 0x40fd8a
cmp byte [esi + 0x1c4], bl
je 0x40fd8a
push str.__skip_as_mobile_
push 1
call fcn.0043a6e3
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x18]
call fcn.00419c15
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
push str.preDownload
lea ecx, [ebp - 0x40]
call fcn.00419fe3
push 1
push 1
lea edx, [ebp - 0x40]
push edx
lea ecx, [esi + 4]
push edi
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 6
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.004192fd
lea ecx, [ebp - 0x88]
call fcn.00443960
push edi
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004442c0
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.004192fd
push dword [ebp + 0x10]
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x1c]
push esi
call fcn.00410017
cmp al, bl
jne 0x40fe10
push ebx
jmp 0x40ff56
push 0x48
call fcn.00447544
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x40fe32
mov eax, esi
mov esi, dword [ebp - 0x20]
push ebx
call fcn.00402434
mov edi, eax
jmp 0x40fe34
xor edi, edi
cmp byte [ebp - 0x11], bl
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0xc]
mov dword [edi + 4], eax
sete al
lea ecx, [edi + 8]
mov dword [ebp - 0x20], edi
mov byte [edi + 0x34], al
call fcn.0043f4d0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6c]
lea ecx, [edi + 0x18]
push eax
call fcn.00418bb2
mov al, byte [ebp + 0x10]
lea esi, [edi + 0x3c]
push esi
push 4
push edi
push 0x410809
push ebx
push ebx
mov byte [edi + 0x44], al
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [edi + 0x38], eax
push dword [esi]
push str.__start_job__d
push ebx
call fcn.0043a6e3
mov esi, dword [ebp + 8]
add esp, 0xc
add esi, 0x2c4
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov byte [ebp - 4], 0xb
mov eax, dword [esi + 0x1c]
push ebx
lea ecx, [ebp - 0x34]
mov dword [ebp + 0xc], eax
call fcn.0043c660
lea eax, [ebp - 0x34]
push eax
push str.main
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 8]
mov byte [ebp - 4], 0xc
call fcn.0043f5c0
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0043ccc0
cmp al, bl
lea ecx, [ebp - 0x50]
sete byte [ebp + 0xb]
mov byte [ebp - 4], 0xc
call fcn.0043eb50
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.0043eb50
cmp byte [ebp + 0xb], bl
je 0x40ff29
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [esi + 0x20]
je 0x40ff29
mov al, byte [edi + 0x34]
cmp al, bl
je 0x40ff18
mov edx, dword [ecx]
cmp byte [edx + 0x34], bl
je 0x40ff29
cmp al, bl
jne 0x40ff23
mov eax, dword [ecx]
call fcn.0040247b
test al, al
jne 0x40ff29
add dword [ebp + 0xc], 4
jmp 0x40fefe
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
lea edi, [esi + 0x18]
lea ebx, [ebp + 8]
call fcn.00413c99
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [ebp + 0x10], 0
jne 0x40ff54
mov eax, dword [ebp - 0x20]
push dword [eax + 0x38]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
push 0
push 1
lea ecx, [ebp - 0x6c]
call fcn.004192fd
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x18]
call fcn.00419c15
mov al, 1
jmp 0x40fd79