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

Disassembly:
push 0xffffffffffffffff
push 0x50fa76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x674
mov eax, dword [0x5581a0]
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 0x452fdb
cmp eax, 3
je 0x452fdb
cmp eax, 5
jne 0x4531aa
push edi
push ebx
mov ecx, ebp
call fcn.0044eed0
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 0x5564e4
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
call fcn.004f7df8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x884]
mov dword [esp + 0x18], eax
call fcn.004f7df8
mov eax, dword [eax + 4]
push 4
mov ecx, 0x55e168
mov dword [eax + 0x884], ebx
call fcn.00444610
call fcn.004f7df8
mov eax, dword [eax + 4]
cmp dword [eax + 0x7f0], ebx
je 0x4530a2
call fcn.004f7df8
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x9f8]
call fcn.004f7df8
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.004c28ff
add esp, 4
mov ecx, ebp
push eax
push 2
push ebx
call fcn.00472080
call fcn.004f7df8
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [eax + 0x9f8], edi
jmp 0x4530cc
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.004c28ff
mov edx, dword [esi + 0x30]
add esp, 4
mov ecx, ebp
push eax
push edx
push edi
call fcn.00472080
call fcn.004f7df8
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
push 0x22
mov dword [eax + 0x884], ecx
lea ecx, [esp + 0x14]
call fcn.004d34f1
call fcn.004f7df8
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
add eax, 0x7d0
push eax
call fcn.004dd569
push 0x22
lea ecx, [esp + 0x14]
call fcn.004dd554
push 0x20
lea ecx, [esp + 0x14]
call fcn.004dd554
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.004dd569
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.0044efd0
pop edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x688], 0
call fcn.004dd151
lea ecx, [esp + 0x10]
mov dword [esp + 0x688], 0xffffffff
call fcn.004dd151
mov ecx, dword [esp + 0x680]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x680
ret 4