Function at 0x495058
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x495060
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404bd4
xor eax, eax
push ebp
push 0x495838
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, 1
mov dword [ebp - 0x28], 0xf
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x354]
call fcn.0040911c
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00494ad0
mov eax, dword [ebp - 0xc]
mov edx, 0x495850
call fcn.00404b30
je 0x4957f8
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499b54]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0xc]
call fcn.00404be4
mov ebx, eax
push ebx
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499984]
mov eax, dword [eax]
call eax
push dword [ebp - 8]
push 0x49585c
mov edx, ebx
lea eax, [ebp - 0x78]
call fcn.0040491c
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.00404aa4
mov edx, dword [ebp - 0x74]
mov eax, 0x495874
call fcn.00490e90
lea eax, [ebp - 0x10]
mov edx, 0x495880
call fcn.004047bc
mov eax, dword [ebp - 0x10]
call fcn.00404be4
push eax
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499bf0]
mov eax, dword [eax]
call eax
xor edx, edx
push ebp
push 0x49572a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xbb8
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499c64]
mov eax, dword [eax]
call eax
xor ebx, ebx
push 4
lea eax, [ebp - 0x28]
push eax
push 0x33
mov eax, dword [ebp - 8]
call fcn.00409258
push eax
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499ccc]
mov eax, dword [eax]
call eax
mov esi, eax
test esi, esi
je 0x4955e1
push esi
mov eax, dword [0x499824]
mov eax, dword [eax]
call eax
mov ebx, eax
push dword [ebp - 8]
push 0x495894
lea edx, [ebp - 0x80]
mov eax, ebx
call fcn.0040911c
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00404aa4
mov edx, dword [ebp - 0x7c]
mov eax, 0x495874
call fcn.00490e90
cmp ebx, 0xd
jne 0x495558
push esi
mov eax, dword [0x499704]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, 0x3c
cdq
idiv ecx
mov dword [ebp - 0x18], eax
push dword [ebp - 8]
push 0x4958ac
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x18]
call fcn.0040911c
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.00404aa4
mov edx, dword [ebp - 0x84]
mov eax, 0x495874
call fcn.00490e90
push dword [ebp - 8]
push 0x4958ac
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x18]
call fcn.0040911c
push dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.00404aa4
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 4]
call fcn.0049416c
cmp dword [ebp - 0x14], 0
jle 0x4955e1
mov eax, dword [ebp - 0x14]
call fcn.00402810
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [0x4998d0]
mov eax, dword [eax]
call eax
push esi
mov eax, dword [0x499980]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x495518
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x6c]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add dword [ebp - 0x20], 0x3c
lea eax, [ebp - 0x24]
call fcn.00404724
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x6c]
call fcn.0040911c
push dword [ebp - 0x94]
push 0x4958c8
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x68]
call fcn.0040911c
push dword [ebp - 0x98]
push 0x4958c8
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x64]
call fcn.0040911c
push dword [ebp - 0x9c]
push 0x4958c8
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x60]
call fcn.0040911c
push dword [ebp - 0xa0]
push 0x4958c8
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x5c]
call fcn.0040911c
push dword [ebp - 0xa4]
push 0x4958c8
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x58]
call fcn.0040911c
push dword [ebp - 0xa8]
push 0x4958d4
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x54]
call fcn.0040911c
push dword [ebp - 0xac]
push 0x4958d4
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x50]
call fcn.0040911c
push dword [ebp - 0xb0]
push 0x4958c8
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x4c]
call fcn.0040911c
push dword [ebp - 0xb4]
push 0x4958e0
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x48]
call fcn.0040911c
push dword [ebp - 0xb8]
push 0x4958e0
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x44]
call fcn.0040911c
push dword [ebp - 0xbc]
push 0x4958c8
lea eax, [ebp - 0x24]
mov edx, 0x16
call fcn.00404aa4
cmp byte [ebp - 0x40], 0
je 0x495402
lea eax, [ebp - 0x2c]
mov edx, 0x4958ec
call fcn.004047bc
jmp 0x49540f
lea eax, [ebp - 0x2c]
mov edx, 0x495850
call fcn.004047bc
cmp byte [ebp - 0x3e], 0
je 0x495424
lea eax, [ebp - 0x30]
mov edx, 0x4958ec
call fcn.004047bc
jmp 0x495431
lea eax, [ebp - 0x30]
mov edx, 0x495850
call fcn.004047bc
cmp byte [ebp - 0x3f], 0
je 0x495446
lea eax, [ebp - 0x34]
mov edx, 0x4958ec
call fcn.004047bc
jmp 0x495453
lea eax, [ebp - 0x34]
mov edx, 0x495850
call fcn.004047bc
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push 0x4958c8
push dword [ebp - 0x30]
push 0x4958c8
push dword [ebp - 0x34]
push 0x4958c8
push dword [ebp - 8]
lea eax, [ebp - 0x24]
mov edx, 8
call fcn.00404aa4
mov edx, dword [ebp - 0x24]
mov eax, 0x495874
call fcn.0049105c
cmp dword [ebp - 0x60], 0xffff
je 0x49550f
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 8]
call fcn.00409258
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x354]
call fcn.0040911c
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.00495974
test al, al
jne 0x49550f
mov eax, dword [ebp - 0x1c]
call fcn.00402830
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4957f8
dec dword [ebp - 0x38]
jne 0x4952ae
mov eax, dword [ebp - 0x1c]
call fcn.00402830
cmp ebx, 0xd
jne 0x4955e1
push 0
push 0
push 0x1d
mov eax, dword [ebp - 8]
call fcn.00409258
push eax
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499ccc]
mov eax, dword [eax]
call eax
mov esi, eax
push esi
mov eax, dword [0x499980]
mov eax, dword [eax]
call eax
jmp 0x4955e1
cmp ebx, 5
jne 0x495580
lea eax, [ebp - 0xc4]
mov ecx, 0x4958f8
mov edx, dword [ebp - 8]
call fcn.00404a30
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 4]
call fcn.0049416c
jmp 0x4955e1
cmp ebx, 0xe
jne 0x4955a8
lea eax, [ebp - 0xc8]
mov ecx, 0x495910
mov edx, dword [ebp - 8]
call fcn.00404a30
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 4]
call fcn.0049416c
jmp 0x4955e1
push dword [ebp - 8]
push 0x495894
lea edx, [ebp - 0xd0]
mov eax, ebx
call fcn.0040911c
push dword [ebp - 0xd0]
lea eax, [ebp - 0xcc]
mov edx, 3
call fcn.00404aa4
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 4]
call fcn.0049416c
cmp ebx, 0xd
jne 0x4955f0
mov edi, 6
jmp 0x495715
cmp ebx, 0xe
jne 0x495618
xor edi, edi
push esi
mov eax, dword [0x499980]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 8]
call fcn.00409258
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00494340
jmp 0x495715
push esi
mov eax, dword [0x499980]
mov eax, dword [eax]
call eax
mov edx, 0x49592c
mov eax, 0x495874
call fcn.00490e90
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499b24]
mov eax, dword [eax]
call eax
cmp ebx, 6
jne 0x4956ac
mov edx, 0x495944
mov eax, 0x495874
call fcn.00490e90
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499b54]
mov eax, dword [eax]
call eax
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499b24]
mov eax, dword [eax]
call eax
push 1
lea edx, [ebp - 0xd4]
mov eax, dword [0x499ac8]
mov eax, dword [eax]
call fcn.00462bd0
mov eax, dword [ebp - 0xd4]
call fcn.00404be4
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 4]
call fcn.0045ef10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4957f8
mov eax, dword [ebp - 4]
call fcn.00449678
push eax
push 0xff
mov eax, dword [0x4999dc]
mov eax, dword [eax]
call eax
mov dword [0x49ac94], eax
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499b54]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0xc]
call fcn.00404be4
push eax
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499984]
mov eax, dword [eax]
call eax
lea eax, [ebp - 0x10]
mov edx, 0x495880
call fcn.004047bc
mov eax, dword [ebp - 0x10]
call fcn.00404be4
push eax
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499bf0]
mov eax, dword [eax]
call eax
dec edi
test edi, edi
jne 0x495154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4957e9
mov eax, dword [0x49ac94]
push eax
mov eax, dword [0x499b54]
mov eax, dword [eax]
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49583f
lea eax, [ebp - 0xdc]
mov edx, 0x1c
call fcn.00404748
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404748
lea eax, [ebp - 0x24]
call fcn.00404724
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404748
ret