Function at 0x420c80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4715c4
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x48db98]
xor eax, esp
mov dword [esp + 0x1ec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48db98]
xor eax, esp
push eax
lea eax, [esp + 0x204]
mov dword fs:[0], eax
mov edi, dword [esp + 0x218]
mov esi, dword [esp + 0x214]
mov ebp, ecx
lea ecx, [esp + 0x170]
mov dword [esp + 0x38], edi
call fcn.00414c20
lea eax, [esp + 0x78]
xor ebx, ebx
push eax
mov ecx, ebp
mov dword [esp + 0x210], ebx
call fcn.0041ef90
lea ecx, [esp + 0x170]
push ecx
push eax
mov ecx, edi
mov byte [esp + 0x214], 1
call fcn.00415320
test al, al
lea ecx, [esp + 0x78]
sete byte [esp + 0x17]
mov byte [esp + 0x20c], bl
call fcn.00419910
cmp byte [esp + 0x17], bl
je 0x420e59
lea edx, [esp + 0x78]
push edx
mov ecx, ebp
call fcn.0041ef90
lea ecx, [esp + 0x154]
push ecx
mov ecx, eax
mov byte [esp + 0x210], 2
call fcn.0041a4d0
mov edi, eax
lea edx, [esp + 0x18]
push str.IDS_LIB_ERR_LOCAL_TARGET
push edx
mov byte [esp + 0x214], 3
call fcn.004136b0
add esp, 8
push edi
push eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
mov byte [esp + 0x214], 4
call edx
push eax
call fcn.004098d0
add esp, 8
push eax
call fcn.004098d0
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.0040b9e0
mov ecx, edi
call fcn.00409510
mov edi, 0x10
cmp dword [esp + 0x30], edi
jb 0x420db7
mov eax, dword [esp + 0x1c]
push eax
call fcn.0043402a
add esp, 4
cmp dword [esp + 0x16c], edi
mov ebp, 0xf
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x420de1
mov ecx, dword [esp + 0x158]
push ecx
call fcn.0043402a
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x16c], ebp
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
mov byte [esp + 0x20c], bl
call fcn.00419910
cmp dword [esp + 0x1dc], edi
mov dword [esi + 0x18], 3
mov dword [esp + 0x20c], 0xffffffff
jb 0x420e31
mov edx, dword [esp + 0x1c8]
push edx
call fcn.0043402a
add esp, 4
mov dword [esp + 0x1dc], ebp
lea ecx, [esp + 0x170]
mov dword [esp + 0x1d8], ebx
mov byte [esp + 0x1c8], bl
call fcn.00419910
xor al, al
jmp 0x421578
lea eax, [esp + 0x1c4]
push 1
push eax
call fcn.004223e0
add esp, 8
test al, al
jne 0x420f8c
lea ecx, [esp + 0x154]
push str.IDS_LIB_ERR_UPDATE_NOT_TRUSTED
push ecx
call fcn.004136b0
add esp, 8
mov edx, dword [esi]
push eax
mov eax, dword [edx + 8]
mov ecx, esi
mov byte [esp + 0x210], 5
call eax
push eax
call fcn.004098d0
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.0040b9e0
mov ecx, edi
call fcn.00409510
mov ebp, 0x10
cmp dword [esp + 0x16c], ebp
mov byte [esp + 0x20c], bl
jb 0x420eda
mov ecx, dword [esp + 0x158]
push ecx
call fcn.0043402a
add esp, 4
cmp dword [esp + 0x1dc], ebp
mov edx, dword [esp + 0x1c8]
mov dword [esi + 0x18], 3
jae 0x420ef8
lea edx, [esp + 0x1c8]
mov eax, edx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x420f10
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00401d30
mov eax, dword [esi]
lea edx, [esp + 0x18]
push edx
mov edx, dword [eax + 8]
mov ecx, esi
mov byte [esp + 0x210], 6
call edx
push eax
call fcn.0041f580
add esp, 8
cmp dword [esp + 0x30], ebp
jb 0x420f58
mov eax, dword [esp + 0x1c]
push eax
call fcn.0043402a
add esp, 4
cmp dword [esp + 0x1dc], ebp
mov dword [esp + 0x20c], 0xffffffff
jb 0x420f7c
mov ecx, dword [esp + 0x1c8]
push ecx
call fcn.0043402a
add esp, 4
mov dword [esp + 0x1dc], 0xf
jmp 0x420e38
lea edx, [esp + 0x1c4]
push edx
lea eax, [esp + 0x158]
push eax
call fcn.00421de0
add esp, 8
mov edi, 0x10
cmp dword [eax + 0x18], edi
mov byte [esp + 0x20c], 7
jb 0x420fbb
mov eax, dword [eax + 4]
jmp 0x420fbe
add eax, 4
push 1
push 0x40
push 1
push eax
lea ecx, [esp + 0x88]
call fcn.0041f360
cmp dword [esp + 0x16c], edi
mov byte [esp + 0x20c], 9
jb 0x420ff2
mov ecx, dword [esp + 0x158]
push ecx
call fcn.0043402a
add esp, 4
cmp dword [esp + 0xc8], ebx
mov dword [esp + 0x16c], 0xf
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
jne 0x4210e3
lea edx, [esp + 0x18]
push str.IDS_LIB_ERR_EXE_NOT_FOUND
push edx
call fcn.004136b0
add esp, 8
mov edx, dword [esi]
push 0x475fb4
lea ecx, [esp + 0x1c8]
push ecx
push 0x475e84
push eax
mov eax, dword [edx + 8]
mov ecx, esi
mov byte [esp + 0x21c], 0xa
call eax
push eax
call fcn.004098d0
add esp, 8
push eax
call fcn.0040b5e0
add esp, 8
push eax
call fcn.004098d0
add esp, 8
push eax
call fcn.0040b5e0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040b9e0
mov ecx, esi
call fcn.00409510
cmp dword [esp + 0x30], edi
jb 0x421097
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043402a
add esp, 4
lea ecx, [esp + 0xcc]
mov byte [esp + 0x20c], bl
call fcn.0041f010
lea edx, [esp + 0xcc]
push edx
mov dword [esp + 0xd0], vtable.std::ios_base.0
call fcn.0046b978
add esp, 4
lea ecx, [esp + 0x170]
mov dword [esp + 0x20c], 0xffffffff
call fcn.0040cfc0
xor al, al
jmp 0x421578
lea ecx, [esp + 0xcc]
mov byte [esp + 0x20c], bl
call fcn.0041f010
lea eax, [esp + 0xcc]
push eax
mov dword [esp + 0xd0], vtable.std::ios_base.0
call fcn.0046b978
lea ecx, [esp + 0x158]
push str.IDS_LIB_MSG_START_UPDATE
push ecx
call fcn.004136b0
add esp, 0xc
push 0x475fb4
lea edx, [esp + 0x1c8]
push edx
push 0x4765bc
push eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
mov byte [esp + 0x21c], 0xb
call edx
push eax
call fcn.004098d0
add esp, 8
push eax
call fcn.0040b5e0
add esp, 8
push eax
call fcn.004098d0
add esp, 8
push eax
call fcn.0040b5e0
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.0040b9e0
mov ecx, edi
call fcn.00409510
mov edi, 0x10
cmp dword [esp + 0x16c], edi
mov byte [esp + 0x20c], bl
jb 0x4211a2
mov eax, dword [esp + 0x158]
push eax
call fcn.0043402a
add esp, 4
push 0x3c
lea ecx, [esp + 0x40]
push ebx
push ecx
call fcn.004501b0
add esp, 0xc
cmp dword [esp + 0x1dc], edi
mov dword [esp + 0x3c], 0x3c
mov dword [esp + 0x40], 0x40
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], str.open
jb 0x4211e4
mov edx, dword [esp + 0x1c8]
mov dword [esp + 0x4c], edx
jmp 0x4211ef
lea eax, [esp + 0x1c8]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x154]
push ecx
mov dword [esp + 0x54], ebx
call fcn.0041edb0
add esp, 4
cmp dword [eax + 0x18], edi
jb 0x421211
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
jmp 0x421218
add eax, 4
mov dword [esp + 0x54], eax
cmp dword [esp + 0x16c], edi
jb 0x421231
mov eax, dword [esp + 0x158]
push eax
call fcn.0043402a
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x5c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x34], ebx
mov edi, eax
jne 0x4214ad
cmp edi, 0x4c7
je 0x4213b9
push 1
push 3
lea ecx, [esp + 0x80]
call fcn.0040fc50
mov dword [esp + 0x16c], 0xf
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
push edi
lea ecx, [esp + 0x84]
mov byte [esp + 0x210], 0xf
call fcn.0041f200
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.0040f720
lea ecx, [esp + 0x108]
push str.IDS_LIB_ERR_CORRUPTED
push ecx
call fcn.004136b0
mov edi, eax
lea edx, [esp + 0x28]
push str.IDS_LIB_ERR_FAILED_START_UPDATE
push edx
mov byte [esp + 0x224], 0x10
call fcn.004136b0
add esp, 0x18
push 0x475fb4
lea ecx, [esp + 0x1c8]
push ecx
push 0x4765bc
push edi
push 0x476734
lea edx, [esp + 0x168]
push edx
push str._Err:
push 0x4752b0
push eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
mov byte [esp + 0x230], 0x11
call edx
push eax
call fcn.004098d0
add esp, 8
push eax
call fcn.0040b5e0
add esp, 8
push eax
call fcn.0040b5e0
add esp, 8
push eax
call fcn.004098d0
add esp, 8
push eax
call fcn.0040b5e0
add esp, 8
push eax
call fcn.004098d0
add esp, 8
push eax
call fcn.0040b5e0
add esp, 8
push eax
call fcn.004098d0
add esp, 8
push eax
call fcn.0040b5e0
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.0040b9e0
mov ecx, edi
call fcn.00409510
lea ecx, [esp + 0x18]
call fcn.00401850
lea ecx, [esp + 0x100]
call fcn.00401850
lea ecx, [esp + 0x154]
call fcn.00401850
lea ecx, [esp + 0x78]
mov byte [esp + 0x20c], bl
call fcn.0040ce80
jmp 0x42144e
lea eax, [esp + 0x11c]
push str.IDS_ERR_USER_CANCEL
push eax
call fcn.004136b0
mov edi, eax
lea ecx, [esp + 0x140]
push str.IDS_LIB_ERR_FAILED_START_UPDATE
push ecx
mov byte [esp + 0x21c], 0xc
call fcn.004136b0
add esp, 0x10
mov edx, dword [esi]
push edi
push 0x4752b0
push eax
mov eax, dword [edx + 8]
mov ecx, esi
mov byte [esp + 0x218], 0xd
call eax
push eax
call fcn.004098d0
add esp, 8
push eax
call fcn.0040b5e0
add esp, 8
push eax
call fcn.004098d0
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.0040b9e0
mov ecx, edi
call fcn.00409510
lea ecx, [esp + 0x138]
call fcn.00401850
lea ecx, [esp + 0x11c]
mov byte [esp + 0x20c], bl
call fcn.00401850
cmp dword [esp + 0x1dc], 0x10
mov eax, dword [esp + 0x1c8]
mov dword [esi + 0x18], 3
jae 0x42146d
lea eax, [esp + 0x1c8]
push eax
lea ecx, [esp + 0x158]
call fcn.00403650
mov edx, dword [esi]
mov eax, dword [edx + 8]
lea ecx, [esp + 0x154]
push ecx
mov ecx, esi
mov byte [esp + 0x210], 0x12
call eax
push eax
call fcn.0041f580
add esp, 8
lea ecx, [esp + 0x154]
call fcn.00401850
jmp 0x4210c5
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebp
call fcn.0041ef90
mov edi, dword [esp + 0x38]
push ebx
lea edx, [esp + 0x1c8]
push edx
push eax
mov ecx, edi
mov byte [esp + 0x218], 0x13
call fcn.00416660
lea ecx, [esp + 0x78]
mov byte [esp + 0x20c], bl
call fcn.00419910
lea eax, [esp + 0x1e4]
push eax
mov ecx, edi
call fcn.00414e10
push str.lastinfo
lea ecx, [esp + 0x1c]
mov byte [esp + 0x210], 0x14
call fcn.00403650
lea ecx, [esp + 0x1e4]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov byte [esp + 0x214], 0x15
call fcn.00413b50
lea ecx, [esp + 0x18]
call fcn.00401850
mov al, byte [ebp + 0xb4]
cmp al, bl
je 0x421543
mov dword [esi + 0x18], 1
jmp 0x421553
mov eax, dword [esp + 0x74]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x18], ebx
lea ecx, [esp + 0x1e4]
call fcn.00401850
lea ecx, [esp + 0x170]
mov dword [esp + 0x20c], 0xffffffff
call fcn.0040cfc0
mov al, 1
mov ecx, dword [esp + 0x204]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ec]
xor ecx, esp
call fcn.0044ffb2
add esp, 0x1fc
ret 8