Function at 0x4046e7
Capabilities:
Create bits job

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push 3
push 2
push edi
push edi
push 0xffffffffffffffff
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 8]
push eax
push 0x43bb1c
push 4
push edi
push 0x43bb3c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40477e
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.004114c8
pop ecx
pop ecx
test eax, eax
je 0x404750
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x404749
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x40495d
push str.FAILED_initialization__BITS_might_be_disabled
call fcn.0041866b
mov dword [esp], str.Setting_error_to_E_JUPDATE_TRY_SYNCDOWNLD
call fcn.0041866b
mov eax, dword [ebp - 8]
pop ecx
cmp eax, edi
je 0x404774
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80070200
jmp 0x40495d
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], edi
call fcn.0041159a
pop ecx
cmp eax, edi
jl 0x4047be
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x10]
cmp eax, edi
jl 0x4047fe
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp eax, edi
jge 0x404910
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 0x18]
push edx
push edi
push str.MyJob
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, edi
jl 0x404936
lea eax, [ebp - 0x18]
push eax
call fcn.00411676
mov eax, dword [ebp - 4]
pop ecx
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x54]
test eax, eax
jne 0x404832
push str.priority_setting_was_successful
jmp 0x404837
push 0x400
push dword [ebp + 0x10]
call fcn.004114c8
pop ecx
pop ecx
test eax, eax
je 0x4047be
push 0x43bb6c
call fcn.00411676
mov eax, dword [ebp - 4]
pop ecx
cmp eax, edi
je 0x40473c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40473c
push str.priority_setting_failed
call fcn.0041866b
mov eax, dword [ebp - 4]
pop ecx
mov ecx, dword [eax]
push 0x4363f0
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push edi
push edi
push eax
call dword [ecx + 0x80]
mov esi, eax
cmp esi, edi
jl 0x404936
push dword [ebp + 0xc]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x11c]
push eax
push edi
call fcn.00411525
cmp dword [ebp + 0x10], edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
pop ecx
pop ecx
mov ebx, 0x3fffffff
je 0x40489f
push dword [ebp + 0x10]
call edi
lea esi, [eax + 1]
cmp esi, ebx
jle 0x4048a5
and dword [ebp + 0x10], 0
jmp 0x4048be
lea eax, [esi + esi]
call fcn.0041c920
mov eax, esp
push 3
push esi
push dword [ebp + 0x10]
push eax
call fcn.00401a30
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x11c]
push eax
call edi
lea esi, [eax + 1]
cmp esi, ebx
jle 0x4048d2
xor eax, eax
jmp 0x4048ec
lea eax, [esi + esi]
call fcn.0041c920
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x11c]
push ecx
push eax
call fcn.00401a30
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x10]
mov esi, eax
test esi, esi
js 0x404934
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x404934
xor edi, edi
mov eax, dword [ebp + 8]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
cmp esi, edi
jge 0x404936
push str.Async_Download_failed__Setting_error_to_E_JUPDATE_TRY_SYNCDOWNLD__n
call fcn.0041866b
pop ecx
mov esi, 0x80070200
jmp 0x404936
xor edi, edi
push 0x43bb6c
call fcn.00411676
mov eax, dword [ebp - 4]
pop ecx
cmp eax, edi
je 0x40494e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x40495b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
lea esp, [ebp - 0x128]
pop edi
pop esi
pop ebx
leave
ret 0xc