Function at 0x406970
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a7b3
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x48a1d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
cmp dword [ebp + 8], 0
je 0x4069e9
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406660
mov dword [ebp - 4], 0
push 0x46e678
lea ecx, [ebp - 0x40]
call fcn.00406900
lea ecx, [ebp - 0x40]
call fcn.004077f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00406810
jmp 0x406b0e
lea ecx, [ebp - 0x28]
call fcn.004066a0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x28]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x46e698
call fcn.00406660
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x46e6ac
call fcn.00406660
mov dword [ebp - 0x88], eax
push SysStringLen
mov byte [ebp - 4], 1
call fcn.00412d10
add esp, 0x38
push str.checkupdate.dll
lea ecx, [ebp - 0x28]
call fcn.00407580
lea ecx, [ebp - 0x6c]
call fcn.004067f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004077f0
push eax
call fcn.004106b0
add esp, 8
cmp eax, 1
jne 0x406ab8
push 0x46e6f0
mov edx, dword [ebp - 0x54]
push edx
call fcn.00437104
add esp, 8
test eax, eax
je 0x406ab6
mov byte [ebp - 0x71], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00406840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406810
mov al, byte [ebp - 0x71]
jmp 0x406d7b
jmp 0x406adf
mov byte [ebp - 0x72], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00406840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406810
mov al, byte [ebp - 0x72]
jmp 0x406d7b
lea ecx, [ebp - 0x28]
call fcn.004077f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00406840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406810
mov edx, dword [ebp - 0x70]
cmp dword [edx], 0
jne 0x406b1d
xor al, al
jmp 0x406d7b
push str.HULocalRepair
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 4], eax
push str.HUInit
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 8], eax
push str.HUClose
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0xc], eax
push str.HUSetInService
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x10], eax
push str.HUEnableEveryoneRTS
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x14], eax
push str.HUSetProcessRootPath
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x18], eax
push str.HUSetProcessFileName
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x1c], eax
push str.HUSetUpdateRootPath
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x20], eax
push str.HUSetUpdateFileName
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x24], eax
push str.HUSetUpdateCfgFileName
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x2c], eax
push str.HUSetSoftwareMark
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x30], eax
push str.HUSetUpdaterPath
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x28], eax
push str.HUSetUnionID
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x34], eax
push str.HUSetPCID
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x38], eax
push str.HUSetSWVersion
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x3c], eax
push str.HUSetWnd
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x48], eax
push str.HUSetWndCls
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x4c], eax
push str.HUSetUpdateLoc
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x40], eax
push str.HUSetForceBoot
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x44], eax
push str.HUSetUpdateServer
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x50], eax
push str.HUCmdBufApp
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x54], eax
push str.HUManualCheckUpdate
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x58], eax
push str.HUManualCheckUpdateEx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x5c], eax
push str.HUAutoCheckUpdate
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x60], eax
push str.HUStopCheckUpdate
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x64], eax
push str.HUNotifyRebootAfterAutoUpdated
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x68], eax
mov ecx, dword [ebp - 0x70]
call fcn.00406950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043715b
mov esp, ebp
pop ebp
ret 4