Function at 0x495608
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x495610
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x495deb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 0xa
mov eax, ebx
call fcn.00499994
xor edx, edx
mov eax, dword [ebx + 0x2fc]
call fcn.0045d3b8
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x254]
call fcn.0045bb84
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x254]
call fcn.0045bb84
cmp eax, dword [ebx + 0x23814]
jge 0x495c70
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x518]
call fcn.004305e4
mov eax, dword [ebp - 0x28]
mov edx, 0x495e04
call fcn.00403e80
jne 0x4956cb
mov dl, 1
mov eax, dword [ebx + 0x574]
call fcn.004304fc
mov eax, dword [ebx + 0x574]
call fcn.00430828
xor edx, edx
mov eax, dword [ebx + 0x44c]
call fcn.004304fc
lea eax, [ebp - 0x10]
mov edx, 0x495e10
call fcn.00403b88
jmp 0x4956f0
mov dl, 1
mov eax, dword [ebx + 0x44c]
call fcn.004304fc
mov eax, dword [ebx + 0x44c]
call fcn.00430828
xor edx, edx
mov eax, dword [ebx + 0x574]
call fcn.004304fc
mov esi, dword [ebx + 0xa380]
test esi, esi
je 0x4957a1
lea ecx, [ebp - 0x30]
mov edx, dword [ebx + 0xa384]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00409064
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x18]
call fcn.00408954
mov eax, dword [ebp - 0x18]
mov edx, 0x495e20
call fcn.00403e80
je 0x495782
mov eax, dword [ebp - 0x18]
mov edx, 0x495e30
call fcn.00403e80
je 0x495782
mov eax, dword [ebp - 0x18]
mov edx, 0x495e40
call fcn.00403e80
je 0x495782
mov eax, dword [ebp - 0x18]
mov edx, 0x495e50
call fcn.00403e80
je 0x495782
mov edx, dword [ebp - 0x18]
mov eax, 0x495e60
call fcn.0040405c
test eax, eax
jg 0x495782
mov edx, dword [ebp - 0x18]
mov eax, 0x495e70
call fcn.0040405c
test eax, eax
jle 0x4957a1
lea ecx, [ebp - 0x34]
mov edx, dword [ebx + 0xa384]
mov eax, dword [ebx + 0xa380]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x10]
call fcn.0040902c
mov eax, dword [ebx + 0x44c]
cmp byte [eax + 0x47], 1
jne 0x495883
xor esi, esi
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x4957f1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x44c]
call fcn.0046730c
add eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x38]
mov eax, dword [ebx + 0x44c]
mov eax, dword [eax + 0x23c]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x10]
call fcn.00408af0
inc esi
cmp dword [ebp - 0x10], 0
jne 0x49580c
mov eax, dword [ebx + 0x44c]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp esi, eax
jl 0x4957ba
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x495883
xor edx, edx
mov eax, dword [ebx + 0x44c]
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x44c]
mov ecx, dword [eax]
call dword [ecx + 0xc4]
call fcn.0042b68c
lea edx, [ebp - 0x20]
call fcn.0042b2ac
mov eax, dword [ebx + 0x44c]
call fcn.004272fc
call fcn.0042b68c
lea edx, [ebp - 0x3c]
call fcn.0042b2ac
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x10]
call fcn.00408af0
call fcn.0042b68c
mov edx, dword [ebp - 0x20]
call fcn.0042b32c
xor edx, edx
mov eax, dword [ebx + 0x44c]
mov ecx, dword [eax]
call dword [ecx + 0xc4]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x10]
call fcn.00408af0
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x10]
call fcn.00403b88
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x50
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00403f78
mov eax, dword [ebp - 0x10]
call fcn.00403d70
mov edi, eax
test edi, edi
jle 0x4959ca
mov esi, 1
lea eax, [ebp - 0x18]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.00403f78
lea eax, [ebp - 0x1c]
push eax
mov ecx, 2
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.00403f78
mov eax, dword [ebp - 0x18]
mov edx, 0x495e80
call fcn.00403e80
je 0x4959ac
mov eax, dword [ebp - 0x18]
mov edx, 0x495e8c
call fcn.00403e80
je 0x4959ac
mov eax, dword [ebp - 0x18]
mov edx, 0x495e98
call fcn.00403e80
je 0x4959ac
mov eax, dword [ebp - 0x18]
mov edx, 0x495ea4
call fcn.00403e80
je 0x4959ac
mov eax, dword [ebp - 0x18]
mov edx, 0x495eb0
call fcn.00403e80
je 0x4959ac
mov eax, dword [ebp - 0x18]
mov edx, 0x495ebc
call fcn.00403e80
je 0x4959ac
mov eax, dword [ebp - 0x18]
mov edx, 0x495ec8
call fcn.00403e80
je 0x4959ac
mov eax, dword [ebp - 0x1c]
mov edx, 0x495ed4
call fcn.00403e80
je 0x4959ac
mov eax, dword [ebp - 0x1c]
mov edx, 0x495ee0
call fcn.00403e80
je 0x4959ac
mov eax, dword [ebp - 0x1c]
mov edx, 0x495eec
call fcn.00403e80
je 0x4959ac
mov eax, dword [ebp - 0x1c]
mov edx, 0x495ef8
call fcn.00403e80
je 0x4959ac
mov eax, dword [ebp - 0x1c]
mov edx, 0x495f04
call fcn.00403e80
jne 0x4959c2
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00403f78
jmp 0x4959ca
inc esi
dec edi
jne 0x4958c6
cmp dword [ebp - 0x10], 0
jne 0x4959dd
lea eax, [ebp - 0x10]
mov edx, 0x495e10
call fcn.00403b88
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x254]
call fcn.0045bb84
test eax, eax
jne 0x495a10
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x254]
mov ecx, dword [ebp - 0x10]
xor edx, edx
call fcn.0045bc24
mov dword [ebp - 8], eax
jmp 0x495a94
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebx + 0x23814]
jge 0x495a94
mov eax, dword [ebx + 0x2fc]
call fcn.0045d630
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 2
jne 0x495a58
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0045ae24
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x254]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0045bc08
mov dword [ebp - 8], eax
jmp 0x495a94
cmp dword [ebp - 4], 1
jne 0x495a7a
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x254]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0045bc24
mov dword [ebp - 8], eax
jmp 0x495a94
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x254]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0045bcac
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x2fc]
call fcn.0045d678
mov eax, dword [ebx + 0x2fc]
call fcn.0045d630
call fcn.0045b3dc
mov dword [ebx + 0xab94], eax
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x254]
call fcn.0045bb84
mov esi, eax
sub esi, 2
mov edi, dword [ebx + 0xab94]
sub edi, esi
jg 0x495afc
dec edi
lea eax, [esi + esi*4]
lea edx, [esi + esi*4]
push esi
push edi
lea esi, [ebx + eax*4 + 0xad48]
lea edi, [ebx + edx*4 + 0xad5c]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
dec esi
inc edi
jne 0x495ad9
mov eax, dword [ebx + 0x44c]
cmp byte [eax + 0x47], 1
jne 0x495b49
cmp dword [ebx + 0xa2e4], 0
jne 0x495b24
mov eax, dword [ebx + 0x430]
mov eax, dword [eax + 0x23c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor eax, eax
mov dword [ebx + 0xa2e4], eax
mov dword [ebx + 0xa26c], 1
mov eax, dword [ebx + 0xab94]
lea eax, [eax + eax*4]
mov byte [ebx + eax*4 + 0xad56], 0
jmp 0x495b76
mov eax, dword [ebx + 0xab94]
lea eax, [eax + eax*4]
mov byte [ebx + eax*4 + 0xad56], 1
mov eax, dword [ebx + 0xab94]
lea eax, [eax + eax*4]
xor edx, edx
mov dword [ebx + eax*4 + 0xad58], edx
mov dword [ebx + 0xa388], 1
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.004999d4
mov esi, dword [ebx + 0xa380]
test esi, esi
jne 0x495b9e
mov edx, dword [ebx + 0xab94]
mov eax, ebx
call fcn.00495fec
jmp 0x495c44
lea ecx, [ebp - 0x48]
mov edx, dword [ebx + 0xa384]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00409064
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x18]
call fcn.00408954
mov eax, dword [ebp - 0x18]
mov edx, 0x495e40
call fcn.00403e80
je 0x495c22
mov eax, dword [ebp - 0x18]
mov edx, 0x495e30
call fcn.00403e80
je 0x495c22
mov eax, dword [ebp - 0x18]
mov edx, 0x495e20
call fcn.00403e80
je 0x495c22
mov eax, dword [ebp - 0x18]
mov edx, 0x495e50
call fcn.00403e80
je 0x495c22
mov edx, dword [ebp - 0x18]
mov eax, 0x495e60
call fcn.0040405c
test eax, eax
jg 0x495c22
mov edx, dword [ebp - 0x18]
mov eax, 0x495e70
call fcn.0040405c
test eax, eax
jle 0x495c37
mov ecx, dword [ebx + 0xa390]
mov edx, dword [ebx + 0xab94]
mov eax, ebx
call fcn.004a66cc
jmp 0x495c44
mov edx, dword [ebx + 0xab94]
mov eax, ebx
call fcn.00495fec
mov eax, ebx
call fcn.00499994
mov eax, dword [ebx + 0x2fc]
call fcn.0045d630
mov edx, 2
call fcn.0045ae24
mov eax, dword [ebx + 0x2fc]
call fcn.0045d630
call fcn.0045b808
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.004999d4
mov esi, dword [ebx + 0x23814]
cmp esi, dword [ebp - 0xc]
jl 0x495c90
cmp esi, dword [ebp - 0xc]
jne 0x495db3
cmp dword [ebx + 0x23810], 0xb
jne 0x495d6d
push 0
push 0x495f10
lea edx, [ebp - 0x50]
mov eax, esi
call fcn.00408ca4
push dword [ebp - 0x50]
push 0x495e8c
push 0x495f34
push 0x495e8c
push 0x495f58
lea eax, [ebp - 0x4c]
mov edx, 6
call fcn.00403e30
mov eax, dword [ebp - 0x4c]
call fcn.00403f34
mov edx, eax
mov ecx, 0x495f84
mov eax, dword [0x4acb28]
mov eax, dword [eax]
call fcn.0044eb9c
push 9
lea edx, [ebp - 0x58]
mov eax, dword [0x4acb28]
mov eax, dword [eax]
call fcn.0044ef0c
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00408ff8
mov eax, dword [ebp - 0x54]
call fcn.00403f34
push eax
mov eax, dword [0x4ada04]
mov edx, dword [eax + 0x237e8]
lea eax, [ebp - 0x5c]
mov ecx, 0x495f94
call fcn.00403dbc
mov eax, dword [ebp - 0x5c]
call fcn.00403f34
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x4acb28]
mov eax, dword [eax]
call fcn.0044ef0c
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.0040902c
mov eax, dword [ebp - 0x60]
call fcn.00403f34
push eax
push 0x495fb0
mov eax, dword [0x4acb28]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x495db3
push 0
push 0x495fc0
lea edx, [ebp - 0x6c]
mov eax, esi
call fcn.00408ca4
push dword [ebp - 0x6c]
push 0x495e8c
push 0x495fdc
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.00403e30
mov eax, dword [ebp - 0x68]
call fcn.00403f34
mov edx, eax
mov ecx, 0x495f84
mov eax, dword [0x4acb28]
mov eax, dword [eax]
call fcn.0044eb9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495df2
lea eax, [ebp - 0x6c]
mov edx, 0x11
call fcn.00403b14
lea eax, [ebp - 0x28]
call fcn.00403af0
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403b14
lea eax, [ebp - 0x10]
call fcn.00403af0
ret