Function at 0x412043
Capabilities:
Create process on windows
Move file

Disassembly:
mov eax, 0x42b30c
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], esp
push ecx
xor ebx, ebx
mov dword [ebp - 0x20], esp
mov ecx, esp
push 0x440c60
mov dword [ebp - 4], ebx
call fcn.004015c5
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ClientUpdateErrorTimestamp
call fcn.00408881
mov ecx, dword [0x44df84]
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], bl
call fcn.0041ba11
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00408790
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004087d0
mov esi, eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x4120c6
push eax
call fcn.00428fe8
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x4120d5
call fcn.0040172d
cmp esi, ebx
je 0x4120f9
lea eax, [ebp - 0x20]
push eax
call sub.MFC42u.DLL_CTime::GetTickCount
mov eax, dword [eax]
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
call sub.MFC42u.DLL_CTime::GetLocalTm
cmp esi, dword [eax + 0xc]
je 0x4123ef
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00409144
push str.script_injector.js
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::CString_3
mov byte [ebp - 4], 6
call fcn.004083ea
mov eax, dword [eax + 0x7c]
cmp eax, ebx
je 0x41212a
mov eax, dword [eax]
jmp 0x41212c
xor eax, eax
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString_3
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040922c
lea ecx, [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::CString
cmp esi, ebx
jne 0x412222
push str.FFExtchromecontent_script_injector.js
lea ecx, [ebp - 0x24]
call fcn.004015c5
push str._script_injector.js
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.004015c5
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 9
lea esi, [eax + 0x68c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00409b90
mov eax, dword [eax]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x4121b6
mov edi, dword [eax]
jmp 0x4121b8
xor edi, edi
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00409b90
mov eax, dword [eax]
cmp eax, ebx
je 0x4121d1
mov eax, dword [eax]
jmp 0x4121d3
xor eax, eax
push 0xb
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x1c]
mov esi, eax
cmp ecx, ebx
je 0x4121ee
call fcn.0040172d
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x4121fd
call fcn.0040172d
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x41220c
call fcn.0040172d
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x412218
call fcn.0040172d
cmp esi, ebx
jne 0x412222
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.004091c7
jmp 0x412238
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.00409144
push 0x44deb4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call sub.MFC42u.DLL_CString::CString_3
mov byte [ebp - 4], 0xd
call fcn.004083ea
mov eax, dword [eax + 0x7c]
cmp eax, ebx
je 0x412268
mov eax, dword [eax]
jmp 0x41226a
xor eax, eax
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42u.DLL_CString::CString_3
push dword [ebp + 8]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040922c
lea ecx, [ebp - 0x24]
mov esi, eax
mov byte [ebp - 4], 0xd
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call sub.MFC42u.DLL_CString::CString
cmp esi, ebx
je 0x41240e
lea eax, [ebp + 8]
push eax
call sub.MFC42u.DLL_CTime::GetTickCount
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
call fcn.00413e40
push 3
push eax
lea ecx, [ebp - 0x38]
call fcn.0041dd0e
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xf
call fcn.0040a179
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
mov dword [ecx], eax
call fcn.0040877f
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ClientUpdateErrorTimestamp
call fcn.00408881
mov ecx, dword [0x44df84]
mov byte [ebp - 4], 0x10
call fcn.0041bccc
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x41231b
call fcn.0040172d
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xc
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x412333
push eax
call fcn.00428fe8
cmp esi, 4
jne 0x4123e4
mov dword [ebp + 8], ebx
mov eax, dword [0x44df84]
mov byte [ebp - 4], 0x12
mov eax, dword [eax + 0x68c]
cmp eax, ebx
je 0x412356
mov eax, dword [eax]
jmp 0x412358
xor eax, eax
push eax
lea eax, [ebp + 8]
push str._sUpdateHelper.exe
push eax
call fcn.004089bb
mov eax, dword [ebp + 8]
add esp, 0xc
cmp eax, ebx
je 0x412375
mov eax, dword [eax]
jmp 0x412377
xor eax, eax
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__wstat]
pop ecx
cmp eax, ebx
pop ecx
jne 0x412400
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x54]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x13
push dword [ebp - 0x54]
push str.UpdateHelper.exe_switch_3000__s__s
push eax
call fcn.004089bb
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x4123b4
call fcn.0040175a
jmp 0x4123b6
xor eax, eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 0x18]
call fcn.0041ad91
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x4123d5
call fcn.0040172d
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x4123e4
call fcn.0040172d
mov dword [ebp + 8], ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.004091c7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x4123e4
call fcn.0040172d
jmp 0x4123e4
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push 0x440c60
call fcn.004015c5
push ecx
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.ClientUpdateErrorTimestamp
call fcn.00408881
mov ecx, dword [0x44df84]
mov byte [ebp - 4], 0xc
call fcn.0041bccc
mov ecx, dword [ebp - 0x18]
call fcn.00411ce8
jmp 0x4123e4