Function at 0x46eea0
Capabilities:
Create process on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.004ba8b0
mov eax, dword [0x589ed0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x2010], edi
mov eax, dword [eax]
cmp dword [eax], 0x80000003
jne 0x46eee0
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba2f5
mov esp, ebp
pop ebp
ret 4
push ebx
xor eax, eax
lea edx, [edi + 0x5a44]
xor ebx, ebx
mov dword [ebp - 0x2008], eax
push esi
test edx, edx
je 0x46f0b6
mov eax, dword fs:[0x2c]
mov esi, 0x58eb50
mov ecx, dword [0x59508c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x58ec84]
cmp eax, dword [ecx + 8]
jg 0x46f0da
jmp 0x46ef27
lea edx, [edi + 0x5a44]
cmp dword [0x58ec78], 1
je 0x46ef34
xor esi, esi
jmp 0x46ef3f
xor eax, eax
cmp dword [0x58eb54], eax
cmove esi, eax
push edx
push 0x5834
push 0
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x46f0b6
push 0x5834
push 0
push 0
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x200c], eax
test eax, eax
jne 0x46ef86
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
jmp 0x46f0bc
push 1
mov ecx, edi
call fcn.004709f0
cmp dword [edi + 4], 0
jne 0x46f093
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebp + 8]
mov ecx, 0xb3
mov dword [edi + 0x1c], eax
mov dword [edi + 0x10], edx
push 0x5834
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov eax, dword [edx]
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
add edi, 0x20
mov esi, dword [edx + 4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2010]
lea eax, [edi + 8]
push eax
push dword [ebp - 0x200c]
call fcn.004d85f0
push 0x40
lea eax, [ebp - 0x2060]
mov dword [ebp - 0x2064], 0x44
push 0
push eax
call fcn.004d90f0
lea eax, [edi + 0x5a44]
xorps xmm0, xmm0
push eax
lea esi, [edi + 0x583c]
push esi
push 0x551cb4
lea eax, [ebp - 0x2004]
push 0xffffffffffffffff
push eax
movups xmmword [ebp - 0x2020], xmm0
call fcn.0046dfe0
add esp, 0x2c
lea eax, [ebp - 0x2020]
push eax
lea eax, [ebp - 0x2064]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x46f08b
push 0xffffffffffffffff
push dword [ebp - 0x2020]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x201c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2020]
call esi
mov dword [ebp - 0x2008], 1
jmp 0x46f093
xor eax, eax
mov dword [ebp - 0x2008], eax
push 0
mov ecx, edi
call fcn.004709f0
push dword [ebp - 0x200c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x2008]
jmp 0x46f0c2
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
test ebx, ebx
je 0x46f0c5
push ebx
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.004ba2f5
mov esp, ebp
pop ebp
ret 4
push 0x58ec84
call fcn.004ba7ac
add esp, 4
cmp dword [0x58ec84], 0xffffffff
jne 0x46ef21
push 0x58eb5c
mov dword [0x58ec78], 1
mov dword [0x58ec7c], ebx
mov dword [0x58ec80], ebx
mov dword [0x58eb5c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, esi
call fcn.0046f270
push 0x54e740
call fcn.004ba2e0
push 0x58ec84
call fcn.004ba762
add esp, 8
jmp 0x46ef21