Function at 0x406280
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429d38
push eax
mov eax, dword [0x4383c8]
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov edi, 1
je 0x4062bb
push eax
call ebp
mov dword [0x4383c8], ebx
push 0xffffffffffffffff
push str.GlobalWaitFor_MUPDATE2
lea ecx, [esp + 0x1c]
call fcn.00401010
mov eax, dword [0x4383b8]
mov dword [esp + 0x80], ebx
cmp dword [eax - 4], ebx
jle 0x4062f8
push str._with
lea ecx, [esp + 0x18]
call fcn.00401ab0
push 0x4383b8
lea ecx, [esp + 0x18]
call fcn.00401a80
lea ecx, [esp + 0x14]
call fcn.00401650
push eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov esi, eax
cmp esi, ebx
je 0x406334
mov ecx, dword [esp + 0x14]
push ecx
push str.RunMUpdate_:_SetEvent___s__and_Dont_Execute_mupdate2.exe
push 1
call fcn.004036f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call ebp
jmp 0x40650a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
push eax
push edx
push str.RunMUpdate_:_OpenEvent___s__Failed_ErrorCode__d_
push 1
call fcn.004036f0
lea eax, [esp + 0x20]
push eax
call fcn.00403cd0
add esp, 0x14
push str.mupdate2.exe
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 1
call fcn.00401b30
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0x34], 0x44
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x28], ecx
push edx
lea eax, [esp + 0x20]
mov dword [esp + 0x30], ecx
push 0x42fe20
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ecx
call fcn.004017c0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 2
call fcn.00401660
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 1
call fcn.00401090
push 0x42fe20
lea ecx, [esp + 0x14]
call fcn.00401ab0
lea ecx, [esp + 0x18]
push ecx
call fcn.00403cf0
add esp, 4
mov edx, dword [esp + 0x18]
mov byte [esp + 0x80], 3
cmp dword [edx - 4], ebx
jle 0x406418
push 0x42fe1c
lea ecx, [esp + 0x14]
call fcn.00401ab0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
call fcn.00401a80
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403cd0
add esp, 4
lea edx, [esp + 0x24]
lea ecx, [esp + 0x34]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x88], 4
call fcn.00401650
push eax
push ebx
push 0x4000000
push 1
push ebx
push ebx
lea ecx, [esp + 0x30]
call fcn.00401650
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [esp + 0x1c]
mov edi, eax
mov byte [esp + 0x80], 3
call fcn.00401090
cmp edi, 1
jne 0x4064e9
lea edx, [esp + 0x20]
push edx
call fcn.00403cd0
push str.mupdate2.dat
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x8c], 5
push eax
call fcn.00401900
add esp, 0x10
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 7
call fcn.00401090
lea ecx, [esp + 0x1c]
call fcn.00401650
push eax
push edi
push str.SelfUpdate
push str.INFO
call fcn.00407df0
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4064cd
push eax
call ebp
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4064d8
push eax
call ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 3
call fcn.00401090
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 1
call fcn.00401090
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], bl
call fcn.00401090
push edi
push str.RunMUpdate_:_return__d
push 1
call fcn.004036f0
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x80], 0xffffffff
call fcn.00401090
mov ecx, dword [esp + 0x78]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret