Function at 0x407320
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bbfd
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x5557a0]
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, 0x537680
lea ecx, [ebp - 0xcc]
call fcn.00409220
add esp, 4
push 0x537680
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00409310
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0xb8], 8
jb 0x40739f
push dword [ebp - 0xcc]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 0xb8], 7
mov dword [ebp - 0xbc], 0
mov word [ebp - 0xcc], ax
cmp dword [edi + 0x10], eax
je 0x407401
push edi
mov edx, 0x537684
lea ecx, [ebp - 0xb4]
call fcn.00409220
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0040e490
mov byte [ebp - 4], 2
cmp dword [ebp - 0xa0], 8
jb 0x407401
push dword [ebp - 0xb4]
call fcn.004d1390
add esp, 4
push 0x40
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004db840
add esp, 0xc
mov dword [ebp - 0x98], 0x44
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x94], 0
cmovae eax, dword [ebp - 0x28]
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 0x407693
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x2c], 7
push 0x11
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x537688
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
call fcn.00404110
mov edx, esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb4]
call fcn.00410d00
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.0040e490
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa0], 8
jb 0x4074f4
push dword [ebp - 0xb4]
call fcn.004d1390
add esp, 4
push 0xf
xor eax, eax
mov dword [ebp - 0xb8], 7
push str.ad_installError
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xbc], 0
mov word [ebp - 0xcc], ax
call fcn.00404110
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 6
push eax
mov ecx, 0x5611a0
call fcn.00405760
push 0x53702c
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xfc]
call fcn.00409310
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0xe4]
call fcn.004093b0
add esp, 4
push eax
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 9
push eax
mov ecx, 0x5611a0
call fcn.00407d20
cmp dword [ebp - 0xd0], 8
jb 0x407596
push dword [ebp - 0xe4]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 0xd0], 7
cmp dword [ebp - 0xe8], 8
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
jb 0x4075ca
push dword [ebp - 0xfc]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 0xe8], 7
cmp dword [ebp - 0xa0], 8
mov dword [ebp - 0xec], 0
mov word [ebp - 0xfc], ax
jb 0x4075fe
push dword [ebp - 0xb4]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 0xa0], 7
cmp dword [ebp - 0xb8], 8
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xb4], ax
jb 0x407632
push dword [ebp - 0xcc]
call fcn.004d1390
add esp, 4
sub esp, 0x18
mov eax, esp
mov dword [eax], 0x537a40
mov ecx, 0x5614f0
mov dword [eax + 4], esi
push str.ad_install_fail
mov dword [eax + 0x10], eax
mov byte [ebp - 4], 4
call fcn.0041b6d0
cmp dword [ebp - 0x2c], 8
jb 0x407667
push dword [ebp - 0x40]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x40768c
push dword [ebp - 0x28]
call fcn.004d1390
add esp, 4
xor al, al
jmp 0x407984
push dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x4076b7
push dword [ebp - 0x28]
call fcn.004d1390
add esp, 4
push 0x927c0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x407982
push str.ad_installError
cmp eax, 0x102
jne 0x40781d
lea ecx, [ebp - 0xcc]
call fcn.00404240
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 0xb
push eax
mov ecx, 0x5611a0
call fcn.00405760
push 0x53702c
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xfc]
call fcn.00409310
add esp, 4
push str.errWaitTimeout
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xb4]
call fcn.00409310
add esp, 4
push eax
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0xe
push eax
mov ecx, 0x5611a0
call fcn.00407d20
cmp dword [ebp - 0xa0], 8
jb 0x407771
push dword [ebp - 0xb4]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 0xa0], 7
cmp dword [ebp - 0xe8], 8
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xb4], ax
jb 0x4077a5
push dword [ebp - 0xfc]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 0xe8], 7
cmp dword [ebp - 0xd0], 8
mov dword [ebp - 0xec], 0
mov word [ebp - 0xfc], ax
jb 0x4077d9
push dword [ebp - 0xe4]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 0xd0], 7
cmp dword [ebp - 0xb8], 8
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
jb 0x40780d
push dword [ebp - 0xcc]
call fcn.004d1390
add esp, 4
sub esp, 0x18
mov eax, esp
mov dword [eax], 0x537a20
jmp 0x407969
lea ecx, [ebp - 0xb4]
cmp eax, 0xffffffff
jne 0x4078cd
call fcn.00404240
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 0x10
push eax
mov ecx, 0x5611a0
call fcn.00405760
push 0x53702c
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xe4]
call fcn.00409310
add esp, 4
push str.errWaitFailed
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xfc]
call fcn.00409310
add esp, 4
push eax
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x13
push eax
mov ecx, 0x5611a0
call fcn.00407d20
lea ecx, [ebp - 0xfc]
call fcn.004042f0
lea ecx, [ebp - 0xe4]
call fcn.004042f0
lea ecx, [ebp - 0xcc]
call fcn.004042f0
lea ecx, [ebp - 0xb4]
call fcn.004042f0
sub esp, 0x18
mov eax, esp
mov dword [eax], 0x537a00
jmp 0x407969
call fcn.00404240
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 0x15
push eax
mov ecx, 0x5611a0
call fcn.00405760
push 0x53702c
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe4]
call fcn.00409310
add esp, 4
push str.errUnknown
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xfc]
call fcn.00409310
add esp, 4
push eax
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x18
push eax
mov ecx, 0x5611a0
call fcn.00407d20
lea ecx, [ebp - 0xfc]
call fcn.004042f0
lea ecx, [ebp - 0xe4]
call fcn.004042f0
lea ecx, [ebp - 0xcc]
call fcn.004042f0
lea ecx, [ebp - 0xb4]
call fcn.004042f0
sub esp, 0x18
mov eax, esp
mov dword [eax], 0x5379e0
push str.ad_install_fail
mov ecx, 0x5614f0
mov dword [eax + 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041b6d0
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.004d1376
mov esp, ebp
pop ebp
ret