Function at 0x405a70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502bde
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5487a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov edx, 0x52e410
lea ecx, [ebp - 0xc8]
call fcn.00406ec0
add esp, 4
push 0x52e410
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00406fb0
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0xb4], 8
jb 0x405aef
push dword [ebp - 0xc8]
call fcn.00473ad0
add esp, 4
xor eax, eax
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
cmp dword [edi + 0x10], eax
je 0x405b51
push edi
mov edx, 0x52e414
lea ecx, [ebp - 0xb0]
call fcn.00406ec0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0040c1a0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x9c], 8
jb 0x405b51
push dword [ebp - 0xb0]
call fcn.00473ad0
add esp, 4
push 0x40
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004d2860
add esp, 0xc
mov dword [ebp - 0x98], 0x44
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x94], 0
cmovae eax, dword [ebp - 0x40]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x90], 0
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], 5
mov dword [ebp - 0x64], 0
movdqu xmmword [ebp - 0x50], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x405dbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x14], 7
push 0x11
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x52e418
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.00403060
mov edx, esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.0040c330
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0040c1a0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x9c], 8
jb 0x405c44
push dword [ebp - 0xb0]
call fcn.00473ad0
add esp, 4
push 0xf
xor eax, eax
mov dword [ebp - 0xb4], 7
push str.ad_installError
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
call fcn.00403060
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 6
push eax
mov ecx, 0x552bf0
call fcn.00404610
push 0x52de78
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe0]
call fcn.00406fb0
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0xf8]
call fcn.00407050
add esp, 4
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 9
push eax
mov ecx, 0x552bf0
call fcn.004062e0
cmp dword [ebp - 0xe4], 8
jb 0x405ce6
push dword [ebp - 0xf8]
call fcn.00473ad0
add esp, 4
xor eax, eax
mov dword [ebp - 0xe4], 7
cmp dword [ebp - 0xcc], 8
mov dword [ebp - 0xe8], 0
mov word [ebp - 0xf8], ax
jb 0x405d1a
push dword [ebp - 0xe0]
call fcn.00473ad0
add esp, 4
xor eax, eax
mov dword [ebp - 0xcc], 7
cmp dword [ebp - 0x9c], 8
mov dword [ebp - 0xd0], 0
mov word [ebp - 0xe0], ax
jb 0x405d4e
push dword [ebp - 0xb0]
call fcn.00473ad0
add esp, 4
xor eax, eax
mov dword [ebp - 0x9c], 7
cmp dword [ebp - 0xb4], 8
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], ax
jb 0x405d82
push dword [ebp - 0xc8]
call fcn.00473ad0
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x405d93
push dword [ebp - 0x28]
call fcn.00473ad0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x405db8
push dword [ebp - 0x40]
call fcn.00473ad0
add esp, 4
xor al, al
jmp 0x406072
push dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x405de3
push dword [ebp - 0x40]
call fcn.00473ad0
add esp, 4
push 0x57e40
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x406070
push str.ad_installError
cmp eax, 0x102
jne 0x405f42
lea ecx, [ebp - 0xc8]
call fcn.00403190
lea eax, [ebp - 0xf8]
mov dword [ebp - 4], 0xa
push eax
mov ecx, 0x552bf0
call fcn.00404610
push 0x52de78
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe0]
call fcn.00406fb0
add esp, 4
push str.errWaitTimeout
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb0]
call fcn.00406fb0
add esp, 4
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xd
push eax
mov ecx, 0x552bf0
call fcn.004062e0
cmp dword [ebp - 0x9c], 8
jb 0x405e9d
push dword [ebp - 0xb0]
call fcn.00473ad0
add esp, 4
xor eax, eax
mov dword [ebp - 0x9c], 7
cmp dword [ebp - 0xcc], 8
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], ax
jb 0x405ed1
push dword [ebp - 0xe0]
call fcn.00473ad0
add esp, 4
xor eax, eax
mov dword [ebp - 0xcc], 7
cmp dword [ebp - 0xe4], 8
mov dword [ebp - 0xd0], 0
mov word [ebp - 0xe0], ax
jb 0x405f05
push dword [ebp - 0xf8]
call fcn.00473ad0
add esp, 4
xor eax, eax
mov dword [ebp - 0xe4], 7
cmp dword [ebp - 0xb4], 8
mov dword [ebp - 0xe8], 0
mov word [ebp - 0xf8], ax
jb 0x406070
push dword [ebp - 0xc8]
call fcn.00473ad0
add esp, 4
jmp 0x406070
cmp eax, 0xffffffff
jne 0x405fe2
lea ecx, [ebp - 0xb0]
call fcn.00403190
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 0xe
push eax
mov ecx, 0x552bf0
call fcn.00404610
push 0x52de78
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xf8]
call fcn.00406fb0
add esp, 4
push str.errWaitFailed
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xe0]
call fcn.00406fb0
add esp, 4
push eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0x11
push eax
mov ecx, 0x552bf0
call fcn.004062e0
lea ecx, [ebp - 0xe0]
call fcn.00403250
lea ecx, [ebp - 0xf8]
call fcn.00403250
lea ecx, [ebp - 0xc8]
call fcn.00403250
lea ecx, [ebp - 0xb0]
jmp 0x40606b
lea ecx, [ebp - 0x28]
call fcn.00403190
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0x12
push eax
mov ecx, 0x552bf0
call fcn.00404610
push 0x52de78
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x110]
call fcn.00406fb0
add esp, 4
push str.errUnknown
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x140]
call fcn.00406fb0
add esp, 4
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x15
push eax
mov ecx, 0x552bf0
call fcn.004062e0
lea ecx, [ebp - 0x140]
call fcn.00403250
lea ecx, [ebp - 0x110]
call fcn.00403250
lea ecx, [ebp - 0x128]
call fcn.00403250
lea ecx, [ebp - 0x28]
call fcn.00403250
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8854
mov esp, ebp
pop ebp
ret