Function at 0x406d10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x45bcbf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x488
mov eax, dword [0x47bdb8]
push ebx
push ebp
push esi
mov dword [esp + 0x490], eax
push edi
mov al, byte [0x49bd08]
xor ebp, ebp
test al, 1
mov dword [esp + 0x4a0], ebp
jne 0x406d87
or dword [0x49bd08], 1
push ebp
push ebp
push 0xffffffffffffffff
push 1
push ebp
push 0x462808
mov ecx, 0x49bad0
mov byte [esp + 0x4b8], 1
call fcn.0042bf80
push 0x45fa00
call fcn.0041822c
add esp, 4
mov byte [esp + 0x4a0], 0
mov edi, dword [esp + 0x4a8]
cmp dword [edi - 0xc], ebp
je 0x406ddb
mov ebx, dword [esp + 0x4ac]
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.00405950
add esp, 8
mov eax, dword [esp + 0x28]
cmp dword [eax - 0xc], ebp
mov byte [esp + 0x4a0], 2
jne 0x406e08
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ddb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add edi, 0xfffffff0
mov dword [esp + 0x4a0], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x406e00
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
or eax, 0xffffffff
jmp 0x407555
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x294]
push edx
lea ecx, [esp + 0x198]
push ecx
lea edx, [esp + 0x48]
push edx
push eax
call fcn.00417cbc
lea eax, [esp + 0x34]
push 5
push eax
call fcn.00405950
add esp, 0x1c
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x4a8], 3
call fcn.00403230
push 4
push str..lnk
lea ecx, [esp + 0x28]
call fcn.00403230
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x30]
call fcn.00401b00
lea eax, [esp + 0x190]
mov byte [esp + 0x4a0], 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406e80
sub eax, edx
push eax
lea edx, [esp + 0x194]
push edx
lea ecx, [esp + 0x34]
call fcn.00403230
lea eax, [esp + 0x290]
push eax
lea ecx, [esp + 0x34]
call fcn.00401b00
lea eax, [esp + 0x90]
mov byte [esp + 0x4a0], 5
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406ec0
sub eax, ecx
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x38]
call fcn.00403230
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x4a0], 6
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x4a0], 7
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x4a0], 8
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x4a0], 9
call fcn.00456eb3
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push 0x4620ac
push edx
call fcn.004032f0
mov eax, dword [esp + 0x24]
push eax
push edi
lea ecx, [esp + 0x30]
push str.__s___s
push ecx
call fcn.004032f0
add esp, 0x1c
lea ecx, [esp + 0x7c]
call fcn.00425260
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x4a4], 0xa
call fcn.004018d0
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x390]
push eax
push ebp
push ebp
push ebp
push esi
call fcn.00417cbc
lea eax, [esp + 0x3a4]
add esp, 0x14
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406fc0
sub eax, ecx
mov dword [esp + 0x10], eax
jne 0x406fe1
push str..exe
lea ecx, [esp + 0x28]
call fcn.004034b0
mov esi, dword [esp + 0x24]
push ebx
push ecx
mov dword [esp + 0x18], esp
lea ebx, [edi - 0x10]
mov dword [esp + 0x18], esp
push ebx
mov dword [esp + 0x40], ebx
call fcn.00401290
mov ecx, dword [esp + 0x1c]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
call fcn.00405b80
mov ecx, dword [esp + 0x4b8]
add esp, 8
cmp ecx, ebp
jne 0x40718d
cmp eax, 0xffffff9c
jne 0x40718d
lea ecx, [esp + 0x7c]
mov byte [esp + 0x4a0], 9
call fcn.00424ef0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40705b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407081
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4070a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x4a0], 5
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4070c9
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4070ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407115
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40713b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407161
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x4a0], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407183
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, 0xffffff9c
jmp 0x407555
mov ecx, eax
call fcn.00406a20
mov eax, dword [esp + 0x4ac]
push 0xffffffffffffff9c
push eax
push ecx
mov dword [esp + 0x1c], esp
mov edi, esp
push ebx
call fcn.00401290
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00405cd0
add esp, 0xc
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x1c]
push ebx
push esi
lea eax, [esp + 0x1c]
push 0x4627e8
push eax
mov byte [esp + 0x4b0], 0xb
call fcn.004032f0
mov ecx, dword [esp + 0x24]
add esp, 0x10
push 0xffffffffffffffff
push 0x462014
push ecx
mov ecx, 0x49bad0
call fcn.0042c070
xor eax, eax
lea edx, [esp + 0x40]
mov ecx, 0xe
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x44], 0x3c
mov dword [esp + 0x48], 0x40
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], 5
mov dword [esp + 0x64], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4072b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [esp + 0x1c]
push 0x4627d0
push eax
call fcn.004032f0
mov edi, dword [esp + 0x24]
add esp, 0x10
push ebx
push 0x462014
push edi
mov ecx, 0x49bad0
call fcn.0042c070
mov ecx, dword [esp + 0x4ac]
mov edx, dword [esp + 0x34]
push 0x7b
push ecx
push ecx
mov dword [esp + 0x1c], esp
mov ebp, esp
push edx
call fcn.00401290
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.00405cd0
add esp, 0xc
jmp 0x407361
mov ebp, 1
jmp 0x4072c0
mov eax, dword [esp + 0x4ac]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], esp
mov edi, esp
push ecx
dec ebp
call fcn.00401290
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00405b80
add esp, 8
cmp eax, 0xffffffff
je 0x4072f4
cmp eax, 0xffffff9c
jne 0x407330
push ebx
push eax
push esi
lea edx, [esp + 0x20]
push 0x4627bc
push edx
call fcn.004032f0
mov edi, dword [esp + 0x28]
add esp, 0x14
push 0xffffffffffffffff
push 0x462014
push edi
mov ecx, 0x49bad0
call fcn.0042c070
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebp, ebp
jne 0x4072c0
jmp 0x40735c
push eax
push esi
mov ebx, eax
lea eax, [esp + 0x1c]
push 0x4627ac
push eax
call fcn.004032f0
mov edi, dword [esp + 0x24]
add esp, 0x10
push 0xffffffffffffffff
push 0x462014
push edi
mov ecx, 0x49bad0
call fcn.0042c070
cmp ebx, 0xffffffff
jne 0x4073ce
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x4a0], 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [esp + 0x18]
push 0x462794
push eax
call fcn.004032f0
mov ebp, dword [esp + 0x20]
add esp, 0x10
push 0xffffffffffffffff
push 0x462014
push ebp
mov ecx, 0x49bad0
call fcn.0042c070
lea eax, [ebp - 0x10]
mov byte [esp + 0x4a0], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4073ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add edi, 0xfffffff0
mov byte [esp + 0x4a0], 0xa
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4073f0
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x4a0], 9
call fcn.00424ef0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407427
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40744d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407473
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x4a0], 5
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407495
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407507
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40752d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4a0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407553
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x494]
call fcn.0041723c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x494
ret