Function at 0x4040d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4255b1
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x44d0b8]
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 eax, edx
mov dword [ebp - 0x284], eax
mov edx, ecx
mov dword [ebp - 0x27c], edx
mov edi, dword [ebp + 8]
xor bl, bl
xor esi, esi
test edi, edi
jle 0x40414e
nop dword [eax]
push str._run_as_standard
push dword [eax + esi*4]
call fcn.0040f116
add esp, 8
movzx ebx, bl
test eax, eax
mov eax, 1
cmove ebx, eax
mov eax, dword [ebp - 0x284]
inc esi
cmp esi, edi
jl 0x404120
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x230], 0
mov ecx, edx
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 0xffffffff
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404181
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00401f00
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.0040baf0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x218]
push str.__parent_pid__d
push eax
call fcn.00406770
lea edi, [ebp - 0x218]
add esp, 0xc
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4041e0
mov edx, dword [ebp - 0x21c]
sub edi, ecx
mov ecx, dword [ebp - 0x220]
mov eax, edx
sar edi, 1
sub eax, ecx
mov dword [ebp - 0x27c], ecx
cmp edi, eax
ja 0x404249
lea eax, [edi + ecx]
cmp edx, 8
mov dword [ebp - 0x220], eax
lea esi, [ebp - 0x230]
cmovae esi, dword [ebp - 0x230]
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + ecx*2]
push ecx
call fcn.0040b570
mov eax, dword [ebp - 0x27c]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x404263
push edi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x280]
lea ecx, [ebp - 0x230]
push edi
call fcn.004020d0
mov ecx, dword [ebp - 0x21c]
mov eax, ecx
mov edi, dword [ebp - 0x220]
sub eax, edi
cmp eax, 0x40
jb 0x4042b3
cmp ecx, 8
lea esi, [ebp - 0x230]
lea eax, [edi + 0x40]
cmovae esi, dword [ebp - 0x230]
push 0x80
mov dword [ebp - 0x220], eax
push str.___module_cfg_file_name_qgi_installer_module_cfg.bin__prefetch:6
lea eax, [esi + edi*2]
push eax
call fcn.0040b570
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0x80], ax
jmp 0x4042cd
push 0x40
push str.___module_cfg_file_name_qgi_installer_module_cfg.bin__prefetch:6
push dword [ebp - 0x280]
lea ecx, [ebp - 0x230]
push 0x40
call fcn.004020d0
mov dword [ebp - 0x248], 0
push 0xa
xor eax, eax
mov dword [ebp - 0x238], 0
push str.QQGame.exe
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 1
call fcn.00401f00
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.00407230
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x260]
call fcn.00407310
mov byte [ebp - 4], 3
add esp, 4
mov ecx, dword [ebp - 0x264]
cmp ecx, 8
jb 0x404378
mov edx, dword [ebp - 0x278]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40436e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40455a
push ecx
push edx
call fcn.00409232
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x4043bc
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4043b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40455f
push ecx
push edx
call fcn.00409232
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
xorps xmm0, xmm0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2a8], eax
movlpd qword [ebp - 0x2a0], xmm0
movlpd qword [ebp - 0x298], xmm0
movlpd qword [ebp - 0x290], xmm0
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x2c0], 0x3c
mov dword [ebp - 0x2bc], 0x540
call fcn.00406f40
cmp eax, 5
jl 0x404432
mov dword [ebp - 0x2b4], str.runas
test bl, bl
je 0x40443c
mov dword [ebp - 0x2b4], str.open
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov dword [ebp - 0x2a4], 5
cmovae eax, dword [ebp - 0x260]
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x2c0]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4044a5
push 0xffffffffffffffff
push dword [ebp - 0x288]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x288]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24c]
cmp ecx, 8
jb 0x4044e5
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4044db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404564
push ecx
push edx
call fcn.00409232
add esp, 8
mov ecx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp ecx, 8
jb 0x40453e
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404534
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404564
push ecx
push edx
call fcn.00409232
add esp, 8
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.004091ef
mov esp, ebp
pop ebp
ret
call fcn.0040da2f
call fcn.0040da2f
call fcn.0040da2f
int3