Function at 0x4a6374
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4a637c
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a6e68
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x28], 0xa
mov eax, dword [ebp - 4]
call fcn.004aae6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
xor edx, edx
call fcn.0045e2f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
mov eax, dword [eax + 0x254]
call fcn.0045c9d0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
mov eax, dword [eax + 0x254]
call fcn.0045c9d0
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4fac0]
jge 0x4a6cbf
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x670]
call fcn.00431384
mov eax, dword [ebp - 0x2c]
mov edx, 0x4a6e80
call fcn.00403f50
jne 0x4a6450
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6fc]
mov dl, 1
call fcn.0043129c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6fc]
call fcn.004315c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
xor edx, edx
call fcn.0043129c
lea eax, [ebp - 0x14]
mov edx, 0x4a6e8c
call fcn.00403c58
jmp 0x4a647e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
mov dl, 1
call fcn.0043129c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
call fcn.004315c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6fc]
xor edx, edx
call fcn.0043129c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xa4e4]
test ebx, ebx
je 0x4a653b
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa4e8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0040946c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x1c]
call fcn.00408d90
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6e9c
call fcn.00403f50
je 0x4a6516
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6eac
call fcn.00403f50
je 0x4a6516
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6ebc
call fcn.00403f50
je 0x4a6516
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6ecc
call fcn.00403f50
je 0x4a6516
mov edx, dword [ebp - 0x1c]
mov eax, 0x4a6edc
call fcn.0040412c
test eax, eax
jg 0x4a6516
mov edx, dword [ebp - 0x1c]
mov eax, 0x4a6eec
call fcn.0040412c
test eax, eax
jle 0x4a653b
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa4e8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4e4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
call fcn.00409434
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
cmp byte [eax + 0x47], 1
jne 0x4a6651
xor ebx, ebx
xor esi, esi
jmp 0x4a658f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
mov edx, esi
call fcn.004683dc
lea eax, [eax + esi + 1]
mov esi, eax
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
mov eax, dword [eax + 0x23c]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
call fcn.00408f2c
inc ebx
cmp dword [ebp - 0x14], 0
jne 0x4a65ad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jl 0x4a6554
dec esi
test esi, esi
jle 0x4a6651
xor eax, eax
push ebp
push 0x4a6647
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0xc4]
call fcn.0042c42c
lea edx, [ebp - 0x24]
call fcn.0042c04c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
call fcn.00428070
call fcn.0042c42c
lea edx, [ebp - 0x40]
call fcn.0042c04c
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x14]
call fcn.00408f2c
call fcn.0042c42c
mov edx, dword [ebp - 0x24]
call fcn.0042c0cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a6651
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x14]
call fcn.00408f2c
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x14]
call fcn.00403c58
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x50
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404048
mov eax, dword [ebp - 0x14]
call fcn.00403e40
mov esi, eax
test esi, esi
jle 0x4a6798
mov ebx, 1
lea eax, [ebp - 0x1c]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.00404048
lea eax, [ebp - 0x20]
push eax
mov ecx, 2
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.00404048
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6efc
call fcn.00403f50
je 0x4a677a
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6f08
call fcn.00403f50
je 0x4a677a
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6f14
call fcn.00403f50
je 0x4a677a
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6f20
call fcn.00403f50
je 0x4a677a
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6f2c
call fcn.00403f50
je 0x4a677a
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6f38
call fcn.00403f50
je 0x4a677a
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6f44
call fcn.00403f50
je 0x4a677a
mov eax, dword [ebp - 0x20]
mov edx, 0x4a6f50
call fcn.00403f50
je 0x4a677a
mov eax, dword [ebp - 0x20]
mov edx, 0x4a6f5c
call fcn.00403f50
je 0x4a677a
mov eax, dword [ebp - 0x20]
mov edx, 0x4a6f68
call fcn.00403f50
je 0x4a677a
mov eax, dword [ebp - 0x20]
mov edx, 0x4a6f74
call fcn.00403f50
je 0x4a677a
mov eax, dword [ebp - 0x20]
mov edx, 0x4a6f80
call fcn.00403f50
jne 0x4a6790
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404048
jmp 0x4a6798
inc ebx
dec esi
jne 0x4a6694
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa588]
call fcn.00408d90
mov edx, dword [ebp - 0x48]
mov eax, 0x4a6f8c
call fcn.0040412c
test eax, eax
jle 0x4a68b1
mov eax, dword [ebp - 4]
cmp dword [eax + 0xa4e4], 0
je 0x4a68b1
mov ebx, 1
xor esi, esi
lea eax, [ebp - 0x4c]
call fcn.00404284
push eax
lea eax, [ebp - 0x50]
call fcn.00405f7c
push eax
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x728]
mov edx, 0xcb
call fcn.0046c304
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406078
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [eax]
call dword [eax + pe_nt_image_headers32]
call fcn.00406078
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
call fcn.00403e08
lea eax, [ebp - 0x14]
call fcn.00403bc0
jmp 0x4a6898
cmp esi, 1
jne 0x4a6847
mov eax, dword [ebp - 0x18]
cmp byte [eax + ebx - 1], 0xd
jne 0x4a6847
mov esi, 2
jmp 0x4a6898
test esi, esi
jne 0x4a6878
mov eax, dword [ebp - 0x18]
cmp byte [eax + ebx - 1], 0xa1
je 0x4a6878
mov eax, dword [ebp - 0x18]
cmp byte [eax + ebx - 1], 0x20
je 0x4a6878
mov eax, dword [ebp - 0x18]
cmp byte [eax + ebx - 1], 0xd
je 0x4a6878
mov eax, dword [ebp - 0x18]
cmp byte [eax + ebx - 1], 0xa
je 0x4a6878
mov esi, 1
cmp esi, 1
jne 0x4a6897
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x18]
mov dl, byte [edx + ebx - 1]
call fcn.00403d68
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x14]
call fcn.00403e48
inc ebx
cmp esi, 2
jge 0x4a68b1
cmp ebx, 0x2710
jge 0x4a68b1
mov eax, dword [ebp - 0x18]
call fcn.00403e40
cmp ebx, eax
jl 0x4a6831
cmp dword [ebp - 0x14], 0
jne 0x4a68c4
lea eax, [ebp - 0x14]
mov edx, 0x4a6e8c
call fcn.00403c58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
mov eax, dword [eax + 0x254]
call fcn.0045c9d0
test eax, eax
jne 0x4a68fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
mov eax, dword [eax + 0x254]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.0045ca70
mov dword [ebp - 0xc], eax
jmp 0x4a699d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4fac0]
cmp eax, dword [ebp - 0x10]
jle 0x4a699d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
call fcn.0045e570
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 2
jne 0x4a695b
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 3
jge 0x4a693c
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0045bc70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
mov eax, dword [eax + 0x254]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.0045ca54
mov dword [ebp - 0xc], eax
jmp 0x4a699d
cmp dword [ebp - 8], 1
jne 0x4a6980
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
mov eax, dword [eax + 0x254]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.0045ca70
mov dword [ebp - 0xc], eax
jmp 0x4a699d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
mov eax, dword [eax + 0x254]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.0045caf8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
mov edx, dword [ebp - 0xc]
call fcn.0045e5b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
call fcn.0045e570
call fcn.0045c228
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xaea0], ebx
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + 0x50bd5]
add cl, 2
mov byte [edx + eax*8 + 0xb068], cl
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xaea0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
mov eax, dword [eax + 0x254]
call fcn.0045ce38
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xaea0]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx*8 + 0xb068]
call fcn.0045bc70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
mov eax, dword [eax + 0x254]
call fcn.0045c9d0
mov ebx, eax
sub ebx, 2
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xaea0]
sub esi, ebx
jg 0x4a6a75
dec esi
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 4]
push esi
lea esi, [edx + eax*8 + 0xb054]
lea edi, [ecx + eax*8 + 0xb08c]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
pop esi
dec ebx
inc esi
jne 0x4a6a4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xaea0]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + eax*8 + 0xb06c], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xaea0]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + eax*8 + 0xb070], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xaea0]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov byte [edx + eax*8 + 0xb075], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xaea0]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + eax*8 + 0xb078], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x474]
cmp byte [eax + 0x2c], 0
jne 0x4a6b0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xaea0]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov byte [edx + eax*8 + 0xb075], 0xa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f8]
cmp byte [eax + 0x47], 1
jne 0x4a6b74
mov eax, dword [ebp - 4]
cmp dword [eax + 0xa470], 0
jne 0x4a6b3f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68c]
mov eax, dword [eax + 0x23c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa470], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0xa3f8], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xaea0]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov byte [edx + eax*8 + 0xb062], 0
jmp 0x4a6bb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xaea0]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov byte [edx + eax*8 + 0xb062], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xaea0]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + eax*8 + 0xb064], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0xa4ec], 1
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004aaeac
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xa4e4]
test ebx, ebx
jne 0x4a6be8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xaea0]
mov eax, dword [ebp - 4]
call fcn.004a73a0
jmp 0x4a6c9c
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa4e8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.0040946c
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x1c]
call fcn.00408d90
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6ebc
call fcn.00403f50
je 0x4a6c6f
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6eac
call fcn.00403f50
je 0x4a6c6f
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6e9c
call fcn.00403f50
je 0x4a6c6f
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a6ecc
call fcn.00403f50
je 0x4a6c6f
mov edx, dword [ebp - 0x1c]
mov eax, 0x4a6edc
call fcn.0040412c
test eax, eax
jg 0x4a6c6f
mov edx, dword [ebp - 0x1c]
mov eax, 0x4a6eec
call fcn.0040412c
test eax, eax
jle 0x4a6c8b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xa588]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xaea0]
mov eax, dword [ebp - 4]
call fcn.004b8944
jmp 0x4a6c9c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xaea0]
mov eax, dword [ebp - 4]
call fcn.004a73a0
mov eax, dword [ebp - 4]
call fcn.004aae6c
mov eax, dword [ebp - 4]
call fcn.004a4484
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x698]
call fcn.0045e570
call fcn.0045c654
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004aaeac
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x4fac0]
cmp ebx, dword [ebp - 0x10]
jl 0x4a6ce3
cmp ebx, dword [ebp - 0x10]
jne 0x4a6e13
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4fabc], 0xb
jne 0x4a6dcd
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa4e4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x790]
mov dl, 1
call fcn.00452844
push 0x4a6f9c
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4fac0]
call fcn.004090ac
push dword [ebp - 0x64]
push 0x4a6f08
push 0x4a6fc0
push 0x4a6f08
push 0x4a6fe4
mov eax, dword [ebp - 4]
add eax, 0xa55c
mov edx, 6
call fcn.00403f00
push 9
lea edx, [ebp - 0x6c]
mov eax, dword [0x4c3254]
mov eax, dword [eax]
call fcn.0044fd68
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00409400
mov eax, dword [ebp - 0x68]
call fcn.00404004
push eax
mov eax, dword [0x4c63a4]
mov edx, dword [eax + 0x4fa8c]
lea eax, [ebp - 0x70]
mov ecx, 0x4a7018
call fcn.00403e8c
mov eax, dword [ebp - 0x70]
call fcn.00404004
push eax
lea edx, [ebp - 0x78]
mov eax, dword [0x4c3254]
mov eax, dword [eax]
call fcn.0044fd68
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.00409434
mov eax, dword [ebp - 0x74]
call fcn.00404004
push eax
push 0x4a7034
mov eax, dword [0x4c3254]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4a6e13
push 0
push 0x4a7044
lea edx, [ebp - 0x80]
mov eax, ebx
call fcn.004090ac
push dword [ebp - 0x80]
push 0x4a6f08
push 0x4a7060
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.00403f00
mov eax, dword [ebp - 0x7c]
call fcn.00404004
mov edx, eax
mov ecx, 0x4a7070
mov eax, dword [0x4c3254]
mov eax, dword [eax]
call fcn.0044f9f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6e6f
lea eax, [ebp - 0x80]
mov edx, 0xb
call fcn.00403be4
lea eax, [ebp - 0x54]
call fcn.00405f7c
lea eax, [ebp - 0x50]
call fcn.00405f7c
lea eax, [ebp - 0x4c]
call fcn.00404284
lea eax, [ebp - 0x48]
mov edx, 7
call fcn.00403be4
lea eax, [ebp - 0x2c]
call fcn.00403bc0
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00403be4
ret