Function at 0x300047cf
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3e4]
sub esp, 0x464
mov eax, dword [section..cdata]
push ebx
push edi
push dword [ebp + 0x3ec]
xor edi, edi
mov dword [ebp + 0x3e0], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x44], 0x200
call fcn.30001d3e
test eax, eax
je 0x30004824
mov ebx, 0x80070057
jmp 0x30004a61
push esi
mov esi, dword [ebp + 0x3f8]
push esi
call fcn.30001d3e
test eax, eax
je 0x3000483f
mov ebx, 0x80070057
jmp 0x30004a60
lea eax, [ebp - 0x24]
push eax
push edi
push esi
call fcn.30004667
test eax, eax
jl 0x3000487e
mov eax, dword [ebp - 0x24]
add eax, eax
push eax
push edi
call dword [0x30001080]
cmp eax, edi
mov dword [ebp - 0x28], eax
je 0x3000487e
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push esi
call fcn.30004667
test eax, eax
jge 0x3000487e
push dword [ebp - 0x28]
call fcn.300032f7
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
xor ebx, ebx
cmp eax, edi
mov dword [ebp - 0x24], eax
jne 0x3000488d
mov dword [ebp - 0x24], esi
push dword [ebp + 0x3f4]
call fcn.30001d3e
test eax, eax
jne 0x3000498f
lea eax, [ebp - 0x34]
push eax
mov esi, 0x20019
push esi
push edi
push dword [ebp - 0x24]
push 0x80000000
call dword [fcn.300010ac]
push eax
call fcn.3000192c
mov ebx, eax
cmp ebx, edi
jl 0x30004a60
lea eax, [ebp - 0x40]
push eax
push esi
push dword [0x30006034]
push dword [ebp - 0x34]
call fcn.30001d56
mov ebx, eax
cmp ebx, edi
jl 0x30004a60
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp + 0x3f4]
push dword [ebp - 0x40]
call fcn.30001d56
mov ebx, eax
cmp ebx, edi
jl 0x30004a60
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [0x30006038]
push dword [ebp - 0x38]
call fcn.30001d56
mov ebx, eax
cmp ebx, edi
jl 0x30004a60
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x3c]
push eax
push edi
push dword [ebp - 0x2c]
call fcn.300037e2
mov ebx, eax
cmp ebx, edi
mov eax, 0x80070002
jge 0x30004945
cmp ebx, eax
jne 0x30004a60
cmp ebx, eax
je 0x3000495f
cmp ebx, edi
jl 0x3000498f
push dword [ebp - 0x3c]
call fcn.300037cd
test eax, eax
je 0x3000495f
cmp dword [ebp - 0x30], 2
ja 0x3000498f
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x3c]
push eax
push dword [0x3000604c]
push dword [ebp - 0x2c]
call fcn.300037e2
mov ebx, eax
cmp ebx, edi
jl 0x30004a60
cmp dword [ebp - 0x30], edi
ja 0x3000498f
mov ebx, 0x80004005
jmp 0x30004a60
push dword [ebp + 0x3f0]
call fcn.30001d3e
test eax, eax
jne 0x300049d1
lea eax, [ebp + 0x3f8]
push eax
push dword [ebp + 0x3f4]
mov dword [ebp + 0x3f8], edi
push dword [ebp - 0x24]
call fcn.3000427b
mov ebx, eax
cmp ebx, edi
jl 0x300049d1
cmp dword [ebp + 0x3f8], edi
je 0x300049d1
mov edx, dword [ebp + 0x3f0]
cmp edx, edi
jne 0x30004a13
push 3
push dword [ebp + 0x3ec]
call dword [0x300010d8]
test eax, eax
je 0x30004a0d
xor eax, eax
mov ecx, pe_nt_image_headers32
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x3ec]
call dword [0x300010d4]
test eax, eax
lea edx, [ebp - 0x20]
jge 0x30004a13
mov edx, dword [ebp + 0x3ec]
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x3f4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x7c], 0x101
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x64], 1
call dword [0x300010c4]
test eax, eax
jne 0x30004a60
call dword [0x30001074]
push eax
call fcn.3000192c
mov ebx, eax
pop esi
push dword [ebp - 0x28]
call fcn.300032f7
lea eax, [ebp - 0x34]
push eax
call fcn.30001d77
lea eax, [ebp - 0x40]
push eax
call fcn.30001d77
lea eax, [ebp - 0x38]
push eax
call fcn.30001d77
lea eax, [ebp - 0x2c]
push eax
call fcn.30001d77
mov ecx, dword [ebp + 0x3e0]
pop edi
mov eax, ebx
pop ebx
call fcn.300050a1
add ebp, 0x3e4
leave
ret 0x10