Function at 0x4041ba
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0xc], 0xf
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
call fcn.0040319c
sub eax, 1
je 0x40433e
dec eax
sub eax, 1
je 0x4042c2
sub eax, 1
je 0x404262
push dword [ebp + 8]
push esi
call fcn.0040319c
mov ecx, dword [0x44ad94]
mov ebx, eax
mov edi, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
jmp 0x404259
cmp dword [esi + 0x18], ebx
jne 0x404256
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40421d
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
add eax, ecx
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40422c
mov ecx, dword [esi]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.00406509
cmp dword [eax + 0x14], 8
jb 0x40423f
mov eax, dword [eax]
push 5
xor ecx, ecx
push ecx
push ecx
push eax
push ecx
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x50]
call fcn.0040545f
add esi, 0x1c
cmp esi, edi
jne 0x40420e
jmp 0x404403
mov eax, dword [0x44ad8c]
lea ecx, [ebp - 0x20]
add eax, 0x4c
push eax
call fcn.004050cb
cmp dword [ebp - 0xc], 0x10
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
cmovae ecx, dword [ebp - 0x20]
add eax, ecx
cmp dword [ebp - 0xc], 0x10
lea ecx, [ebp - 0x20]
cmovae ecx, dword [ebp - 0x20]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.00406509
cmp dword [eax + 0x14], 8
jb 0x4042a1
mov eax, dword [eax]
push 5
push ebx
push ebx
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x50]
call fcn.0040545f
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x404403
mov esi, dword [0x44ad8c]
push ecx
lea ecx, [ebp - 0x68]
lea edx, [esi + 0x34]
call fcn.00406546
pop ecx
lea ecx, [esi + 0x64]
push ecx
mov ecx, eax
call fcn.004050ae
mov byte [ebp - 8], bl
lea ecx, [ebp - 0x50]
push dword [ebp - 8]
mov dword [ebp - 0x40], ebx
push eax
mov dword [ebp - 0x3c], ebx
call fcn.0040567a
mov esi, str.utm_mediumpc_pregameutm_campaignbutton
push esi
call fcn.00426d80
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.004055af
mov byte [ebp - 8], bl
lea ecx, [ebp - 0x38]
push dword [ebp - 8]
mov dword [ebp - 0x28], ebx
push eax
mov dword [ebp - 0x24], ebx
call fcn.0040567a
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.004050f9
lea ecx, [ebp - 0x38]
call fcn.004054db
lea ecx, [ebp - 0x50]
call fcn.004054db
jmp 0x4043b8
mov eax, dword [0x44ad8c]
lea ecx, [ebp - 0x68]
add eax, 0x64
mov edx, str.:__www.gametop.com__utm_source
push eax
call fcn.00406596
mov edi, str.utm_mediumpc_pregameutm_campaignlogo
mov esi, eax
push edi
call fcn.00426d80
pop ecx
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004055af
mov byte [ebp - 8], bl
lea ecx, [ebp - 0x50]
push dword [ebp - 8]
mov dword [ebp - 0x40], ebx
push eax
mov dword [ebp - 0x3c], ebx
call fcn.0040567a
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.004050f9
lea ecx, [ebp - 0x50]
call fcn.004054db
lea ecx, [ebp - 0x68]
call fcn.004054db
lea eax, [ebp - 0x20]
mov edx, str.https
push eax
lea ecx, [ebp - 0x68]
call fcn.00406596
pop ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004050f9
lea ecx, [ebp - 0x68]
call fcn.004054db
cmp dword [ebp - 0xc], 0x10
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
cmovae ecx, dword [ebp - 0x20]
add eax, ecx
cmp dword [ebp - 0xc], 0x10
lea ecx, [ebp - 0x20]
cmovae ecx, dword [ebp - 0x20]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.00406509
cmp dword [eax + 0x14], 8
jb 0x4043ee
mov eax, dword [eax]
push 5
push ebx
push ebx
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x68]
call fcn.0040545f
lea ecx, [ebp - 0x20]
call fcn.004054db
pop edi
pop esi
pop ebx
leave
ret