Function at 0x40ec30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad7a8
mov eax, dword fs:[0]
push eax
mov eax, 0x14dc
call fcn.00484290
mov eax, dword [0x4d8104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x420]
push 0x104
push 0
push eax
call fcn.00486710
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00486710
add esp, 0x18
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40ec97
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00491feb
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x40ecb4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00491feb
add esp, 0xc
lea eax, [ebp - 0x218]
push str.AdAppMgrLauncher.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xorps xmm0, xmm0
mov dword [ebp - 0x14e8], 0x44
push 0x208
lea eax, [ebp - 0x1410]
movlpd qword [ebp - 0x14e4], xmm0
push 0
push eax
movups xmmword [ebp - 0x14a4], xmm0
movlpd qword [ebp - 0x14dc], xmm0
movlpd qword [ebp - 0x14d4], xmm0
movlpd qword [ebp - 0x14cc], xmm0
movlpd qword [ebp - 0x14c4], xmm0
movlpd qword [ebp - 0x14bc], xmm0
movlpd qword [ebp - 0x14b4], xmm0
movlpd qword [ebp - 0x14ac], xmm0
call fcn.00486710
add esp, 0xc
call fcn.004101d0
mov al, byte [eax + 0x21]
test al, al
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1410]
je 0x40ed65
push str.__s___showUI
jmp 0x40ed6a
push str.__s___normal
push eax
call fcn.0040baf0
add esp, 0xc
mov dword [ebp - 0x1448], 0
xor eax, eax
mov dword [ebp - 0x1444], 7
lea ecx, [ebp - 0x1410]
mov word [ebp - 0x1458], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40eda0
sub ecx, edx
lea eax, [ebp - 0x1410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1458]
call fcn.00401b30
mov dword [ebp - 4], 0
call fcn.0040f900
push 2
push 0x4b177c
lea ecx, [ebp - 0x1428]
mov dword [ebp - 0x1418], 0
mov dword [ebp - 0x1414], 0xf
mov byte [ebp - 0x1428], 0
call fcn.00401a40
cmp dword [ebp - 0x1444], 8
lea edx, [ebp - 0x1458]
mov eax, dword [ebp - 0x1448]
lea ecx, [ebp - 0x1440]
cmovae edx, dword [ebp - 0x1458]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1430], 0
mov dword [ebp - 0x142c], 0xf
lea esi, [edx + eax*2]
mov byte [ebp - 0x1440], 0
lea edx, [ebp - 0x1458]
mov eax, esi
cmovae edx, dword [ebp - 0x1458]
sub eax, edx
mov dword [ebp - 0x1490], edx
sar eax, 1
push eax
call fcn.0040f460
push dword [ebp - 0x1490]
lea ecx, [ebp - 0x1440]
push esi
push dword [ebp - 0x1490]
call fcn.00402c60
lea eax, [ebp - 0x1428]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1440]
push eax
lea eax, [ebp - 0x1488]
push eax
call fcn.0040b560
push eax
mov byte [ebp - 4], 3
call fcn.0040fbf0
mov edx, dword [ebp - 0x1474]
add esp, 0x10
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x40eedd
mov ecx, dword [ebp - 0x1488]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eed3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f329
push edx
push ecx
call fcn.00483e09
add esp, 8
mov edx, dword [ebp - 0x142c]
mov dword [ebp - 0x1478], 0
mov dword [ebp - 0x1474], 0xf
mov byte [ebp - 0x1488], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x40ef36
mov ecx, dword [ebp - 0x1440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f32e
push edx
push ecx
call fcn.00483e09
add esp, 8
mov edx, dword [ebp - 0x1414]
mov dword [ebp - 0x1430], 0
mov dword [ebp - 0x142c], 0xf
mov byte [ebp - 0x1440], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x40ef8f
mov ecx, dword [ebp - 0x1428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f333
push edx
push ecx
call fcn.00483e09
add esp, 8
lea eax, [ebp - 0x14a4]
push eax
lea eax, [ebp - 0x14e8]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x1410]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40f13a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x3e8
mov esi, eax
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.00486710
push esi
lea eax, [ebp - 0x808]
push str.openAppLauncher:_returned__d_r_n
push eax
call fcn.0040bac0
add esp, 0x18
mov dword [ebp - 0x1430], 0
xor eax, eax
mov dword [ebp - 0x142c], 7
lea ecx, [ebp - 0x808]
mov word [ebp - 0x1440], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f020
sub ecx, edx
lea eax, [ebp - 0x808]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1440]
call fcn.00401b30
mov byte [ebp - 4], 4
call fcn.0040f900
cmp dword [ebp - 0x142c], 8
lea edx, [ebp - 0x1440]
mov eax, dword [ebp - 0x1430]
lea ecx, [ebp - 0x1428]
cmovae edx, dword [ebp - 0x1440]
mov dword [ebp - 0x1418], 0
mov dword [ebp - 0x1414], 0xf
mov byte [ebp - 0x1428], 0
lea esi, [edx + eax*2]
lea edx, [ebp - 0x1440]
mov eax, esi
cmovae edx, dword [ebp - 0x1440]
sub eax, edx
mov dword [ebp - 0x1490], edx
sar eax, 1
push eax
call fcn.0040f460
push dword [ebp - 0x1490]
lea ecx, [ebp - 0x1428]
push esi
push dword [ebp - 0x1490]
call fcn.00402c60
lea eax, [ebp - 0x1428]
mov byte [ebp - 4], 5
push eax
call fcn.0040fa10
mov edx, dword [ebp - 0x1414]
add esp, 4
cmp edx, 0x10
jb 0x40f10d
mov ecx, dword [ebp - 0x1428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f103
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f338
push edx
push ecx
call fcn.00483e09
add esp, 8
push dword [ebp - 0x14a4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14a0]
call esi
lea ecx, [ebp - 0x1440]
call fcn.00401390
mov byte [ebp - 0x1489], 0
jmp 0x40f2cc
mov esi, dword [ebp - 0x14a4]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1494]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0x3e8
lea eax, [ebp - 0xbf0]
push 0
push eax
call fcn.00486710
push dword [ebp - 0x1494]
lea eax, [ebp - 0xbf0]
push str.openAppLauncher:_createprocess_exitcode__d_r_n
push eax
call fcn.0040bac0
add esp, 0x18
mov dword [ebp - 0x1460], 0
xor eax, eax
mov dword [ebp - 0x145c], 7
lea ecx, [ebp - 0xbf0]
mov word [ebp - 0x1470], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f1b0
sub ecx, edx
lea eax, [ebp - 0xbf0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1470]
call fcn.00401b30
mov byte [ebp - 4], 6
call fcn.0040f900
cmp dword [ebp - 0x145c], 8
lea edx, [ebp - 0x1470]
mov eax, dword [ebp - 0x1460]
lea ecx, [ebp - 0x1428]
cmovae edx, dword [ebp - 0x1470]
mov dword [ebp - 0x1418], 0
mov dword [ebp - 0x1414], 0xf
mov byte [ebp - 0x1428], 0
lea esi, [edx + eax*2]
lea edx, [ebp - 0x1470]
mov eax, esi
cmovae edx, dword [ebp - 0x1470]
sub eax, edx
mov dword [ebp - 0x1490], edx
sar eax, 1
push eax
call fcn.0040f460
push dword [ebp - 0x1490]
lea ecx, [ebp - 0x1428]
push esi
push dword [ebp - 0x1490]
call fcn.00402c60
lea eax, [ebp - 0x1428]
mov byte [ebp - 4], 7
push eax
call fcn.0040fbf0
mov edx, dword [ebp - 0x1414]
add esp, 4
cmp edx, 0x10
jb 0x40f29d
mov ecx, dword [ebp - 0x1428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f293
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f33d
push edx
push ecx
call fcn.00483e09
add esp, 8
push dword [ebp - 0x14a4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14a0]
call esi
cmp dword [ebp - 0x1494], 0
lea ecx, [ebp - 0x1470]
sete byte [ebp - 0x1489]
call fcn.00401390
mov edx, dword [ebp - 0x1444]
cmp edx, 8
jb 0x40f308
mov ecx, dword [ebp - 0x1458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f2fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f342
push edx
push ecx
call fcn.00483e09
add esp, 8
mov al, byte [ebp - 0x1489]
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.00483e17
mov esp, ebp
pop ebp
ret
call fcn.0048969c
call fcn.0048969c
call fcn.0048969c
call fcn.0048969c
call fcn.0048969c
call fcn.0048969c
int3