Function at 0x461cf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d92e
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x499078]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00401990
movzx eax, al
cmp eax, 1
je 0x461d31
cmp dword [ebp + 0x14], 0
jne 0x461d38
xor eax, eax
jmp 0x462172
cmp dword [ebp + 0x24], 1
jne 0x461db2
push 0x4896a4
lea ecx, [ebp - 0x124]
call fcn.004016f0
mov dword [ebp - 4], 0
push 0x4896b8
lea ecx, [ebp - 0x140]
call fcn.004016f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
push ecx
push 0x24f
lea edx, [ebp - 0x140]
push edx
call fcn.0047a760
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00401770
cmp dword [ebp + 0x28], 0
jne 0x461db2
xor eax, eax
jmp 0x462172
push 0x10
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00416c80
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x461dfb
push 0x44
call fcn.00416ff2
add esp, 4
mov dword [ebp + 0x10], eax
push 0x44
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00416c80
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x2c], 1
mov eax, 5
mov ecx, dword [ebp + 0x10]
mov word [ecx + 0x30], ax
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00401950
push eax
mov ecx, dword [ebp + 8]
call fcn.00401950
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x461f84
cmp dword [ebp + 0x24], 0
jne 0x461ed4
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
push str.WaiteEnd__FALSE
lea ecx, [ebp - 0x15c]
call fcn.004016f0
mov dword [ebp - 4], 2
push 0x4896e4
lea ecx, [ebp - 0x178]
call fcn.004016f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x15c]
push eax
push 0x271
lea ecx, [ebp - 0x178]
push ecx
call fcn.0047a760
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.00401770
mov eax, 1
jmp 0x462172
push str.WaiteEnd__TRUE
lea ecx, [ebp - 0x194]
call fcn.004016f0
mov dword [ebp - 4], 4
push 0x489710
lea ecx, [ebp - 0x1b0]
call fcn.004016f0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x194]
push edx
push 0x277
lea eax, [ebp - 0x1b0]
push eax
call fcn.0047a760
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1b0]
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.00401770
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, 1
jmp 0x462172
push 1
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00401950
push eax
mov ecx, dword [ebp + 8]
call fcn.00401950
push eax
push 0x489728
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x20
jbe 0x46201c
push str.shellexecute_success
lea ecx, [ebp - 0x1cc]
call fcn.004016f0
mov dword [ebp - 4], 6
push 0x48974c
lea ecx, [ebp - 0x1e8]
call fcn.004016f0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1cc]
push eax
push 0x286
lea ecx, [ebp - 0x1e8]
push ecx
call fcn.0047a760
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1e8]
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.00401770
jmp 0x4620c6
mov byte [ebp - 0x104], 0
push 0x63
push 0
lea edx, [ebp - 0x103]
push edx
call fcn.00416c80
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
push eax
push str.shellexecute_error_code_is_:_d
lea ecx, [ebp - 0x104]
push ecx
call fcn.004168e0
add esp, 0xc
lea edx, [ebp - 0x104]
push edx
lea ecx, [ebp - 0x204]
call fcn.004016f0
mov dword [ebp - 4], 8
push 0x489784
lea ecx, [ebp - 0x220]
call fcn.004016f0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x204]
push eax
push 0x28d
lea ecx, [ebp - 0x220]
push ecx
call fcn.0047a760
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x220]
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.00401770
mov byte [ebp - 0x94], 0
push 0x63
push 0
lea edx, [ebp - 0x93]
push edx
call fcn.00416c80
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
push eax
push 0x48979c
lea ecx, [ebp - 0x94]
push ecx
call fcn.004168e0
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0x23c]
call fcn.004016f0
mov dword [ebp - 4], 0xa
push str..CAutoUpdateHelper.cpp
lea ecx, [ebp - 0x258]
call fcn.004016f0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x23c]
push eax
push 0x292
lea ecx, [ebp - 0x258]
push ecx
call fcn.0047a760
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x258]
call fcn.00401770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.00401770
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0041694e
mov esp, ebp
pop ebp
ret