Function at 0x409bf0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545206
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x5a8040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x42c], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0052c790
lea eax, [esi + 0x1cd8]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0052b09f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.0052c790
lea eax, [esi + 0x14b4]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0052b09f
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0052b0fb
push 0x3c
lea eax, [ebp - 0x468]
push 0
push eax
call fcn.0052c790
add esp, 0x48
mov dword [ebp - 0x468], 0x3c
cmp dword [esi + 0xa3c], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x45c], str.open
mov dword [ebp - 0x458], eax
je 0x409cf7
cmp byte [esi + 0x20fe], 0
mov dword [ebp - 0x454], str._qb__passive__norestart
je 0x409d01
mov dword [ebp - 0x454], str._quiet__norestart
lea eax, [ebp - 0x468]
mov dword [ebp - 0x44c], 5
push eax
mov dword [ebp - 0x464], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [ebp - 0x430]
call esi
test eax, eax
je 0x409d92
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x484]
push eax
call edi
test eax, eax
je 0x409d6d
lea eax, [ebp - 0x484]
push eax
call ebx
lea eax, [ebp - 0x484]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push dword [ebp - 0x430]
call esi
cmp eax, 0xffffffff
je 0x409d92
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push dword [ebp - 0x430]
call esi
test eax, eax
jne 0x409d42
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x42c]
cmp eax, 0x642
jne 0x409e75
call fcn.0040e6bf
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x409dd2
push 0x80004005
call fcn.00402a30
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x428], edi
mov dword [ebp - 4], 0
call fcn.0040e6bf
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x409e03
push 0x80004005
call fcn.00402a30
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x424], esi
push 0x413
mov byte [ebp - 4], 1
call fcn.00415ddb
test eax, eax
je 0x409e3a
push 0x413
push eax
lea ecx, [ebp - 0x428]
call fcn.004023f0
mov edi, dword [ebp - 0x428]
push 0x3ff
call fcn.00415ddb
test eax, eax
je 0x409e5f
push 0x3ff
push eax
lea ecx, [ebp - 0x424]
call fcn.004023f0
mov esi, dword [ebp - 0x424]
push 0x40030
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call fcn.0052b715
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00529d59
mov esp, ebp
pop ebp
ret