Function at 0x40c210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1fc
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ebx
xor eax, eax
mov dword [0x4799d4], eax
mov dword [0x4799d8], eax
mov dword [0x4799dc], eax
mov dword [0x4799e0], eax
mov ecx, 0x4799e4
call fcn.0040cf70
xor eax, eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0xe4], 0x44
lea ebx, [ebp - 0x164]
mov esi, 0x4762b8
xor edi, edi
mov dword [ebp - 0x20], ebx
push edi
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x1c], ebx
push edi
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x118], 0x4946ac
mov eax, dword [esi + 4]
mov dword [ebp - 0x50], edi
mov dword [eax + ebx], 0x494714
mov edx, dword [ebp - 0x164]
mov esi, dword [edx + 4]
add esi, ebx
mov dword [esi + 0x10], 0x201
mov dword [esi + 0x24], edi
mov dword [esi + 0x14], 6
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov ecx, esi
call fcn.00404fa0
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x4c], 0
push edi
mov dword [esp], 4
call fcn.0042e777
pop ecx
mov edi, eax
mov dword [ebp - 0x48], edi
test edi, edi
je 0x40c399
mov dword [ebp - 0x4c], 1
call fcn.004616ea
mov dword [edi], eax
call fcn.0046151e
mov ebx, eax
push 0
lea ecx, [ebp - 0x64]
call fcn.00461826
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40c388
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x64]
call fcn.00461847
mov dword [ebp - 0x4c], 0
jmp 0x40c39b
xor edi, edi
mov dword [ebp - 4], 1
lea ebx, [ebp - 0x160]
lea ecx, [ebp - 0x38]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], ebx
xor eax, eax
mov dword [esi + 0x2c], eax
push eax
mov ebx, dword [edi]
mov dword [ebp - 0x44], ebx
call fcn.00461826
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40c3cd
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x38]
call fcn.00461847
mov dword [ebp - 4], 2
push 0
lea ecx, [ebp - 0x40]
call fcn.00461826
mov dword [ebp - 4], 3
mov eax, dword [0x479a2c]
mov edi, dword [0x47c4b8]
mov dword [ebp - 0x3c], eax
test edi, edi
jne 0x40c436
push 0
lea ecx, [ebp - 0x84]
call fcn.00461826
mov eax, dword [0x47c4b8]
test eax, eax
jne 0x40c425
mov eax, dword [0x47c4b4]
inc eax
mov dword [0x47c4b4], eax
mov dword [0x47c4b8], eax
lea ecx, [ebp - 0x84]
call fcn.00461847
mov edi, dword [0x47c4b8]
mov edx, dword [ebp - 0x44]
cmp edi, dword [edx + 0xc]
jae 0x40c44a
mov eax, dword [edx + 8]
mov ebx, dword [eax + edi*4]
test ebx, ebx
jne 0x40c458
jmp 0x40c44c
xor ebx, ebx
movzx eax, byte [edx + 0x14]
test eax, eax
jne 0x40ce55
test ebx, ebx
jne 0x40c467
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40c9f4
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00461847
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x40c4b9
push 0
lea ecx, [ebp - 0x60]
call fcn.00461826
mov eax, dword [edi + 4]
cmp eax, 1
jb 0x40c49f
cmp eax, 0xfffffffe
ja 0x40c4a3
dec eax
mov dword [edi + 4], eax
test eax, eax
je 0x40c4a5
xor edi, edi
lea ecx, [ebp - 0x60]
call fcn.00461847
test edi, edi
je 0x40c4b9
push 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, dword [ebx]
mov edx, 0x494410
cmp eax, edx
jne 0x40c4cb
mov eax, 0x20
jmp 0x40c4d2
push 0x20
mov ecx, ebx
call dword [eax + 0x18]
mov byte [esi + 0x30], al
mov eax, dword [esi + 0x28]
test eax, eax
je 0x40ce40
mov dword [esi + 4], 0
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x164]
lea ebx, [ebp - 0x160]
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp + edx - 0x164], 0x49470c
mov dword [ebp - 0x160], 0x4944ec
lea ecx, [ebp - 0x15c]
call fcn.00461859
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x34], 0
push edi
mov dword [esp], 4
call fcn.0042e777
pop ecx
mov ebx, eax
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x40c584
mov dword [ebp - 0x34], 1
call fcn.004616ea
mov dword [ebx], eax
call fcn.0046151e
mov esi, eax
push 0
lea ecx, [ebp - 0x5c]
call fcn.00461826
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x40c573
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp - 0x5c]
call fcn.00461847
mov dword [ebp - 0x34], 0
jmp 0x40c586
xor ebx, ebx
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x128], ebx
lea edx, [ebp - 0x158]
mov dword [ebp - 0x150], edx
xor eax, eax
lea edx, [ebp - 0x154]
mov dword [ebp - 0x14c], edx
lea ecx, [ebp - 0x148]
push edi
mov dword [ebp - 0x140], ecx
mov dword [esp], 0x2c
lea ebx, [ebp - 0x144]
mov dword [ebp - 0x13c], ebx
lea esi, [ebp - 0x138]
mov dword [ebp - 0x130], esi
lea edi, [ebp - 0x134]
mov dword [ebp - 0x12c], edi
mov dword [edx], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x58], eax
mov dword [ecx], eax
mov ebx, dword [ebp - 0x12c]
mov dword [ebx], eax
mov esi, dword [ebp - 0x150]
mov dword [esi], eax
mov edi, dword [ebp - 0x140]
mov dword [edi], eax
mov edx, dword [ebp - 0x130]
mov dword [edx], eax
mov dword [ebp - 0x160], 0x4944b0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], 4
call fcn.0042e777
pop ecx
mov dword [ebp - 0x78], eax
test eax, eax
je 0x40c662
mov dword [eax], 0x4946cc
xor edx, edx
mov dword [eax + 0x24], edx
mov byte [eax + 0x14], dl
mov dword [eax + 0x28], 0xf
mov dword [ebp - 0x58], edx
mov esi, 0xffffffff
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], dx
jmp 0x40c664
xor eax, eax
mov dword [ebp - 4], 0x18
mov edx, dword [eax]
mov dword [0x4799f0], eax
mov ecx, eax
call dword [edx + 4]
movzx eax, al
test eax, eax
je 0x40cceb
mov edx, dword [ebp + 8]
mov ebx, dword [0x4799f0]
lea eax, [ebp - 0x164]
movzx ebx, word [ebx + 0xc]
add esp, 0xfffffff8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040bc20
add esp, 8
add esp, 0xfffffff8
mov dword [esp + 4], 0x4678f8
mov dword [esp], eax
call fcn.0040bc20
add esp, 8
add esp, 0xfffffff8
mov dword [esp + 4], 0x467920
mov dword [esp], eax
call fcn.0040bc20
add esp, 8
add esp, 0xfffffff8
mov dword [esp + 4], 0x4679a8
mov dword [esp], eax
call fcn.0040bc20
add esp, 8
add esp, 0xfffffff8
mov dword [esp + 4], 0x4678f8
mov dword [esp], eax
call fcn.0040bc20
add esp, 8
push ebx
mov ecx, eax
call fcn.0040d0a0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x160]
call fcn.0040a650
mov dword [ebp - 4], 0x19
mov eax, dword [ebp - 0x88]
cmp eax, 0x10
jb 0x40c733
mov edx, dword [ebp - 0x9c]
jmp 0x40c739
lea edx, [ebp - 0x9c]
push 0x4799d4
lea eax, [ebp - 0xe4]
xor ecx, ecx
push eax
push ecx
push ecx
push 0x8000000
push 1
push ecx
push ecx
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40c76c
mov dword [ebp - 4], 0x18
mov ebx, 1
jmp 0x40c775
mov dword [ebp - 4], 0x18
xor ebx, ebx
mov eax, dword [ebp - 0x88]
cmp eax, 0x10
jae 0x40ccda
mov dword [ebp - 0x88], 0xf
xor eax, eax
test ebx, ebx
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x9c], al
jne 0x40c8a9
mov dword [ebp - 4], 0x16
lea ebx, [ebp - 0x118]
lea edx, [ebp - 0x164]
mov esi, dword [edx]
mov eax, dword [esi + 4]
mov dword [ebp - 0x74], edx
mov dword [eax + edx], 0x49470c
lea esi, [ebp - 0x160]
mov ecx, dword [esi + 0x40]
test cl, 1
jne 0x40cc88
mov dword [ebp - 4], 0x17
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x70], esi
xor eax, eax
mov dword [edx], eax
mov ecx, dword [esi + 0x20]
mov dword [ecx], eax
mov edi, dword [esi + 0x30]
mov dword [edi], eax
mov edx, dword [esi + 0x14]
mov dword [edx], eax
mov ecx, dword [esi + 0x24]
mov dword [ecx], eax
mov edi, dword [esi + 0x34]
mov dword [edi], eax
mov edi, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
and dword [esi + 0x40], 0xfffffffe
test edi, edi
mov dword [esi], 0x4944ec
je 0x40c858
mov esi, dword [edi]
test esi, esi
je 0x40c851
push 0
lea ecx, [ebp - 0x80]
call fcn.00461826
mov eax, dword [esi + 4]
cmp eax, 1
jb 0x40c837
cmp eax, 0xfffffffe
ja 0x40c83b
dec eax
mov dword [esi + 4], eax
test eax, eax
je 0x40c83d
xor esi, esi
lea ecx, [ebp - 0x80]
call fcn.00461847
test esi, esi
je 0x40c851
push 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push edi
call fcn.0042e7a2
pop ecx
mov dword [ebp - 4], 0x16
lea ecx, [ebp - 0x15c]
call fcn.00461871
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x74]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov dword [edx + ecx], 0x494714
mov dword [ebx], 0x49444c
call fcn.00460d49
pop ecx
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0x13
lea ebx, [ebp - 0x118]
lea edx, [ebp - 0x164]
mov esi, dword [edx]
mov eax, dword [esi + 4]
mov dword [ebp - 0x6c], edx
mov dword [eax + edx], 0x49470c
lea esi, [ebp - 0x160]
mov ecx, dword [esi + 0x40]
test cl, 1
jne 0x40ccc3
mov dword [ebp - 4], 0x14
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x68], esi
xor eax, eax
mov dword [edx], eax
mov ecx, dword [esi + 0x20]
mov dword [ecx], eax
mov edi, dword [esi + 0x30]
mov dword [edi], eax
mov edx, dword [esi + 0x14]
mov dword [edx], eax
mov ecx, dword [esi + 0x24]
mov dword [ecx], eax
mov edi, dword [esi + 0x34]
mov dword [edi], eax
mov edi, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
and dword [esi + 0x40], 0xfffffffe
test edi, edi
mov dword [esi], 0x4944ec
je 0x40c95d
mov esi, dword [edi]
test esi, esi
je 0x40c956
push 0
lea ecx, [ebp - 0x7c]
call fcn.00461826
mov eax, dword [esi + 4]
cmp eax, 1
jb 0x40c93c
cmp eax, 0xfffffffe
ja 0x40c940
dec eax
mov dword [esi + 4], eax
test eax, eax
je 0x40c942
xor esi, esi
lea ecx, [ebp - 0x7c]
call fcn.00461847
test esi, esi
je 0x40c956
push 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push edi
call fcn.0042e7a2
pop ecx
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x15c]
call fcn.00461871
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x6c]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov dword [edx + ecx], 0x494714
mov dword [ebx], 0x49444c
call fcn.00460d49
pop ecx
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 4
mov dword [ebp - 0x17c], 0
push edi
mov dword [esp], 0x18
call fcn.0042e777
pop ecx
mov ebx, eax
mov dword [ebp - 0x178], ebx
test ebx, ebx
je 0x40cb82
mov dword [ebp - 4], 5
mov dword [ebp - 0x17c], 1
mov dword [ebp - 0x184], ebx
lea ecx, [ebp - 0x208]
mov dword [ebx + 4], 0
mov dword [ebx], 0x494410
push 0x4678ac
call fcn.004019b0
lea eax, [ebp - 0x194]
push eax
call fcn.00460faa
pop ecx
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x194]
mov edx, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x18c]
mov edi, dword [ebp - 0x188]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
lea eax, [ebp - 0x208]
mov dword [ebp - 0x180], eax
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edi
push edi
mov dword [esp], eax
call fcn.00461625
pop ecx
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x198]
cmp eax, 0x10
jae 0x40cbf7
mov dword [ebp - 4], 8
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x198], 0xf
xor eax, eax
cmp edx, 0x10
mov dword [ebp - 0x19c], eax
mov byte [ebp - 0x1ac], al
jae 0x40cbe6
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1b4], 0xf
xor eax, eax
cmp edx, 0x10
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 0x1c8], al
jae 0x40cbd5
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1d0], 0xf
xor eax, eax
cmp edx, 0x10
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 0x1e4], al
jae 0x40cbc4
mov dword [ebp - 4], 5
mov dword [ebp - 0x1ec], 0xf
lea ecx, [ebp - 0x208]
xor eax, eax
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 0x200], al
call fcn.00461847
mov dword [ebp - 4], 4
mov dword [ebp - 0x17c], 0
jmp 0x40cb84
xor ebx, ebx
mov dword [ebp - 4], 3
mov dword [0x479a2c], ebx
push 0
lea ecx, [ebp - 0x174]
call fcn.00461826
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40cbaa
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x174]
call fcn.00461847
push edi
mov dword [esp], ebx
call fcn.004615ec
pop ecx
jmp 0x40c467
push dword [ebp - 0x200]
call fcn.0042e7a2
pop ecx
jmp 0x40cb45
push dword [ebp - 0x1e4]
call fcn.0042e7a2
pop ecx
jmp 0x40cb17
push dword [ebp - 0x1c8]
call fcn.0042e7a2
pop ecx
jmp 0x40cae9
push dword [ebp - 0x1ac]
call fcn.0042e7a2
pop ecx
jmp 0x40cabb
mov edx, dword [esi + 0x10]
mov eax, 0x4944b0
mov dword [esi], eax
push dword [edx]
call fcn.0042e7a2
pop ecx
jmp 0x40c7d8
mov edx, dword [esi + 0x10]
mov eax, 0x4944b0
mov dword [esi], eax
push dword [edx]
call fcn.0042e7a2
pop ecx
jmp 0x40c8dd
push dword [ebp - 0x9c]
call fcn.0042e7a2
pop ecx
jmp 0x40c784
mov dword [ebp - 4], 0x10
lea ebx, [ebp - 0x118]
lea edx, [ebp - 0x164]
mov esi, dword [edx]
mov eax, dword [esi + 4]
mov dword [ebp - 0x16c], edx
mov dword [eax + edx], 0x49470c
lea esi, [ebp - 0x160]
mov ecx, dword [esi + 0x40]
test cl, 1
jne 0x40ce29
mov dword [ebp - 4], 0x11
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x168], esi
xor eax, eax
mov dword [edx], eax
mov ecx, dword [esi + 0x20]
mov dword [ecx], eax
mov edi, dword [esi + 0x30]
mov dword [edi], eax
mov edx, dword [esi + 0x14]
mov dword [edx], eax
mov ecx, dword [esi + 0x24]
mov dword [ecx], eax
mov edi, dword [esi + 0x34]
mov dword [edi], eax
mov edi, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
and dword [esi + 0x40], 0xfffffffe
test edi, edi
mov dword [esi], 0x4944ec
je 0x40cdab
mov esi, dword [edi]
test esi, esi
je 0x40cda4
push 0
lea ecx, [ebp - 0x170]
call fcn.00461826
mov eax, dword [esi + 4]
cmp eax, 1
jb 0x40cd87
cmp eax, 0xfffffffe
ja 0x40cd8b
dec eax
mov dword [esi + 4], eax
test eax, eax
je 0x40cd8d
xor esi, esi
lea ecx, [ebp - 0x170]
call fcn.00461847
test esi, esi
je 0x40cda4
push 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push edi
call fcn.0042e7a2
pop ecx
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x15c]
call fcn.00461871
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x16c]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov dword [edx + ecx], 0x494714
mov dword [ebx], 0x49444c
call fcn.00460d49
pop ecx
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
mov eax, 0x4944b0
mov dword [esi], eax
push dword [edx]
call fcn.0042e7a2
pop ecx
jmp 0x40cd22
push 0
mov eax, dword [esi + 8]
or eax, 4
mov ecx, esi
push eax
call fcn.00404fa0
jmp 0x40c4e0
call fcn.0046151e
cmp edi, dword [eax + 0xc]
jae 0x40ce6a
mov eax, dword [eax + 8]
mov ebx, dword [eax + edi*4]
jmp 0x40c458
xor ebx, ebx
jmp 0x40c458