Function at 0x406fea
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0xd30], ebp
jne 0x407468
push 0x400
push 0x6d57dc
call fcn.005f01d0
mov ecx, dword [esi + 0x24]
mov edx, 0x6d57e8
push ebp
push ebp
push eax
call fcn.0048f7e4
add esp, 0x14
test eax, eax
je 0x407038
mov ecx, esi
call fcn.00406dd2
jmp 0x407468
mov ecx, dword [esi + 8]
mov edx, str.require_win_authenticode_opus__process.execPath__
push 0xe88
push ecx
mov edi, dword [ecx + 0x44]
sub edi, dword [ecx + 0x40]
sar edi, 3
call fcn.00417a90
pop ecx
pop ecx
test eax, eax
jne 0x40713d
mov ecx, dword [esi + 8]
or edx, 0xffffffff
call fcn.00418cbb
mov ebx, 0x6bc408
test eax, eax
mov ecx, ebx
cmovne ecx, eax
call fcn.0041aab2
test al, 6
jne 0x40713d
mov ecx, dword [esi + 8]
or edx, edx
push ebp
push ebp
push 0x6d5828
call fcn.0045aee3
add esp, 0xc
test eax, eax
je 0x40713d
push eax
push str.require_win_authenticode_opus_.locked__s__
push dword [esi + 8]
call fcn.0041b42e
add esp, 0xc
xor edx, edx
push 0x889
push ecx
mov ecx, dword [esi + 8]
call fcn.00417a90
pop ecx
pop ecx
test eax, eax
jne 0x40713d
mov ecx, dword [esi + 8]
or edx, 0xffffffff
call fcn.00418cbb
test eax, eax
cmovne ebx, eax
mov ecx, ebx
call fcn.0041aab2
test al, 6
jne 0x40713d
mov ecx, dword [esi + 8]
or edx, edx
push ebp
push ebp
push 0x6d585c
call fcn.0045aee3
mov ecx, dword [esi + 8]
add esp, 0xc
or edx, 0xffffffff
mov ebp, eax
push 0
push 0
push 0x6d5860
call fcn.0045aee3
add esp, 0xc
mov ebx, eax
test ebp, ebp
je 0x40713b
test ebx, ebx
je 0x40713b
push ebp
mov ebp, 0xff
lea eax, [esi + 0x44]
push ebp
push eax
call fcn.005e88b0
add esp, 0xc
lea eax, [esi + 0x143]
push ebx
push ebp
push eax
call fcn.005e88b0
add esp, 0xc
xor ebp, ebp
mov ecx, dword [esi + 8]
mov edx, edi
call fcn.00418d6c
lea eax, [esp + 0x14]
push 4
push eax
call fcn.004bf9b0
push 0x400
push 0x6d5864
call fcn.005f01d0
mov ecx, dword [esi + 0x24]
mov edx, str.remoteMouseRender
push ebp
push ebp
push eax
call fcn.0048f7e4
mov ecx, dword [esi + 0x24]
add esp, 0x1c
mov edx, str.compactDirtyMinimum
mov dword [0x74c938], eax
push ebp
call fcn.0048f778
pop ecx
mov ecx, dword [esi + 0x24]
cdq
push ebp
mov dword [ecx + 0x1024], edx
mov edx, str.dbWarningSizeThreshold
mov dword [ecx + 0x1020], eax
mov ecx, dword [esi + 0x24]
call fcn.0048f778
pop ecx
mov ecx, dword [esi + 0x24]
cdq
mov edi, eax
mov dword [ecx + 0x1028], edi
mov dword [ecx + 0x102c], edx
cmp edx, ebp
ja 0x4071c4
mov eax, ebp
cmp edi, ebp
jbe 0x4071c9
mov eax, 0x406daf
mov dword [ecx + 0x1030], eax
cmp edx, ebp
ja 0x4071d9
mov eax, ebp
cmp edi, ebp
jbe 0x4071db
mov eax, esi
mov dword [ecx + 0x1034], eax
mov eax, dword [esi + 0xd40]
test eax, eax
je 0x4071f8
cmp dword [esi + 0xd44], ebp
jne 0x4071f8
xor ebx, ebx
inc ebx
jmp 0x4071fa
mov ebx, ebp
test eax, eax
jne 0x40720c
test byte [esi + 0x254], 0x20
je 0x40720c
xor edi, edi
inc edi
jmp 0x40720e
mov edi, ebp
push 0x400
push 0x6d58b8
call fcn.005f01d0
mov ecx, dword [esi + 0x24]
mov edx, str.disableUpdate
push ebp
push ebp
push eax
call fcn.0048f7e4
add esp, 0x14
or eax, edi
or eax, ebx
mov ebx, 0x400
mov dword [esi + 0xba0], eax
push ebx
push 0x6d58d8
call fcn.005f01d0
mov ecx, dword [esi + 0x24]
mov edx, str.forceUpdate
push ebp
push ebp
push eax
call fcn.0048f7e4
add esp, 0x14
mov dword [esi + 0xba4], eax
push ebx
push 0x6d58f0
call fcn.005f01d0
mov ecx, dword [esi + 0x24]
mov edx, str.logUpdate
push ebp
push ebp
push eax
call fcn.0048f7e4
add esp, 0x14
mov dword [esi + 0xba8], eax
push ebx
push 0x6d5908
call fcn.005f01d0
mov ecx, dword [esi + 0x24]
mov edx, str.fakeUpdate
push ebp
push ebp
push eax
call fcn.0048f7e4
add esp, 0x14
mov dword [esi + 0xbac], eax
push ebx
push 0x6d5920
call fcn.005f01d0
mov ecx, dword [esi + 0x24]
mov edx, str.controlChannelDebug
push ebp
push ebp
push eax
call fcn.0048f7e4
add esp, 0x14
mov dword [esi + 0xbb0], eax
push ebx
push 0x6d5948
call fcn.005f01d0
mov ecx, dword [esi + 0x24]
mov edx, str.heciDebug
push ebp
push ebp
push eax
call fcn.0048f7e4
add esp, 0x14
push ebx
push 0x6d5960
call fcn.005f01d0
mov ecx, dword [esi + 0x24]
mov edx, str.timerLogging
push ebp
push ebp
push eax
call fcn.0048f7e4
add esp, 0x14
mov dword [esi + 0xcdc], eax
mov edx, str.consoleTextMaxRate
push 0xa
mov ecx, dword [esi + 0x24]
call fcn.0048f778
pop ecx
mov dword [esi + 0xd64], eax
cmp dword [esi + 0xba8], ebp
je 0x40737c
push dword [esi + 0xd3c]
push str.PLATFORM_TYPE:__d
call fcn.0048cb75
pop ecx
pop ecx
cmp dword [esi + 0xba8], ebp
je 0x40737c
push dword [esi + 0xd40]
push str.Running_as_Service:__d
call fcn.0048cb75
pop ecx
pop ecx
cmp dword [esi + 0xba8], ebp
je 0x40737c
push ebp
push ebp
push 0x105c
mov edx, 0x6d59c0
mov ecx, 0x6d59d8
call fcn.0048cac3
add esp, 0xc
cmp dword [esi + 0xbb0], ebp
je 0x4073aa
push ebp
push ebp
push 0x105f
mov edx, 0x6d59fc
mov ecx, 0x6d5a14
call fcn.0048cac3
add esp, 0xc
push str.Attempting_to_connect_to_Server..._n
call fcn.00401109
pop ecx
jmp 0x4073cb
cmp dword [esi + 0xba8], ebp
je 0x4073cb
push ebp
push ebp
push 0x1062
mov edx, 0x6d5a5c
mov ecx, str.Attempting_to_connect_to_Server...
call fcn.0048cac3
add esp, 0xc
mov ecx, dword [esi + 0xb64]
xor edx, edx
mov eax, dword [esp + 0x14]
test ecx, ecx
jne 0x4073f7
mov ecx, 0x5dc
div ecx
push esi
add edx, 0x1f4
mov dword [esi + 0xb64], edx
call fcn.004061a7
pop ecx
jmp 0x407468
mov ebx, 0x3a980
cmp ecx, ebx
jl 0x40740c
mov ecx, 0x1d4c0
div ecx
lea edi, [ebx + edx]
jmp 0x407411
div ecx
lea edi, [ecx + edx]
push edi
push str.AutoRetry_Connect_in__d_milliseconds_n
call fcn.00401109
pop ecx
pop ecx
cmp dword [esi + 0xcdc], ebp
je 0x40743d
push edi
push str.____Retry_Timer_set_for__d_milliseconds
call fcn.0048cb75
pop ecx
pop ecx
mov dword [esi + 0xce0], 1
mov ecx, dword [esi]
push ebp
push 0x1077
push 0x6d5ae8
push ebp
push fcn.004061a7
push edi
call fcn.0048546a
mov edx, esi
mov ecx, eax
call fcn.0048a8a3
add esp, 0x18
mov dword [esi + 0xb64], edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret