Function at 0x452f40
Capabilities:
Access peb ldr_data
Create process on windows
Create process suspended
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50fa36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x674
mov eax, dword [0x5580a0]
push ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x688], ebx
mov esi, dword [esp + 0x690]
mov byte [esp + 0x688], 1
mov eax, dword [esi + 0x30]
cmp eax, 2
je 0x452f9b
cmp eax, 3
je 0x452f9b
cmp eax, 5
jne 0x45316a
push edi
push ebx
mov ecx, ebp
call fcn.0044eeb0
lea eax, [esp + 0x180]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x70]
lea edx, [esp + 0x180]
push ecx
push ebx
push 0x5563e4
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
call fcn.004f7db8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x884]
mov dword [esp + 0x18], eax
call fcn.004f7db8
mov eax, dword [eax + 4]
push 4
mov ecx, 0x55e068
mov dword [eax + 0x884], ebx
call fcn.004445f0
call fcn.004f7db8
mov eax, dword [eax + 4]
cmp dword [eax + 0x7f0], ebx
je 0x453062
call fcn.004f7db8
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x9f8]
call fcn.004f7db8
mov eax, dword [eax + 4]
add esi, 0x14
lea ecx, [esp + 0x14]
push esi
mov dword [eax + 0x9f8], ebx
mov eax, dword [esi - 4]
mov ebx, dword [esi - 8]
lea edx, [esp + 0x74]
push ecx
push edx
push eax
call fcn.004c28bf
add esp, 4
mov ecx, ebp
push eax
push 2
push ebx
call fcn.00472040
call fcn.004f7db8
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [eax + 0x9f8], edi
jmp 0x45308c
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
lea ecx, [esi + 0x14]
lea edx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x74]
push edx
push ecx
push eax
call fcn.004c28bf
mov edx, dword [esi + 0x30]
add esp, 4
mov ecx, ebp
push eax
push edx
push edi
call fcn.00472040
call fcn.004f7db8
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
push 0x22
mov dword [eax + 0x884], ecx
lea ecx, [esp + 0x14]
call fcn.004d34b1
call fcn.004f7db8
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
add eax, 0x7d0
push eax
call fcn.004dd529
push 0x22
lea ecx, [esp + 0x14]
call fcn.004dd514
push 0x20
lea ecx, [esp + 0x14]
call fcn.004dd514
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.004dd529
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x284]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x11
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov eax, 1
xor ecx, ecx
mov dword [esp + 0x5c], eax
mov word [esp + 0x60], ax
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x30]
mov dword [esp + 0x24], ecx
push eax
push ebx
mov dword [esp + 0x30], ecx
push ebx
push 0x20
mov dword [esp + 0x3c], ecx
push ebx
push ebx
lea ecx, [esp + 0x2a0]
push ebx
push ecx
push ebx
mov dword [esp + 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push ebx
mov ecx, ebp
call fcn.0044efb0
pop edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x688], 0
call fcn.004dd111
lea ecx, [esp + 0x10]
mov dword [esp + 0x688], 0xffffffff
call fcn.004dd111
mov ecx, dword [esp + 0x680]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x680
ret 4