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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2078
call fcn.004825c0
mov eax, dword [0x55300c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x2014], ebx
mov dword [ebp - 0x2018], edi
mov eax, dword [ebx]
cmp dword [eax], 0x80000003
jne 0x47c998
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482225
mov esp, ebp
pop ebp
ret 4
push esi
lea ecx, [edi + 0x5a44]
xor esi, esi
test ecx, ecx
je 0x47cc25
mov eax, dword [0x559474]
mov esi, 0x559340
test al, 1
jne 0x47ca0c
or eax, 1
mov dword [0x559468], 1
push 0x55934c
mov dword [0x559474], eax
mov dword [0x55946c], 0
mov dword [0x559470], 0
mov dword [0x55934c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, esi
call fcn.0047cdc0
push 0x517ce0
call fcn.00482210
add esp, 4
lea ecx, [edi + 0x5a44]
cmp dword [0x559468], 1
je 0x47ca19
xor esi, esi
jmp 0x47ca24
xor eax, eax
cmp dword [0x559344], eax
cmove esi, eax
push ecx
push 0x5834
push 0
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov dword [ebp - 0x2008], esi
test esi, esi
je 0x47cc25
push 0x5834
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x200c], eax
test eax, eax
jne 0x47ca71
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
jmp 0x47cc2b
push 1
mov ecx, edi
call fcn.0047e340
mov eax, dword [edi + 4]
test eax, eax
je 0x47cb2e
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x47caf7
mov ecx, dword [ebx + 0xb8]
mov esi, eax
mov ebx, dword [ebx + 0xb4]
nop word [eax + eax]
push 0x1c
lea eax, [ebp - 0x2034]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x2030]
cmp eax, esi
je 0x47cb28
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x47cadb
mov ecx, dword [ebx + 4]
mov eax, ebx
mov ebx, dword [ebx]
test bl, 3
jne 0x47cadb
cmp ebx, eax
ja 0x47caa0
xor esi, esi
lea eax, [edi + 0x5c60]
cmp dword [eax], 0
je 0x47cb19
inc esi
add eax, 8
cmp esi, 4
jl 0x47cae3
mov esi, dword [ebp - 0x2008]
xor ebx, ebx
push 0
mov ecx, edi
call fcn.0047e340
push dword [ebp - 0x200c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47cc2d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + esi*8 + 0x5c60], eax
jmp 0x47caf1
mov ebx, dword [ebp - 0x2014]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 0x1c], eax
mov ecx, 0xb3
mov dword [edi + 0x10], ebx
mov eax, dword [ebx]
push 0x5834
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
add edi, 0x20
mov esi, dword [ebx + 4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2018]
lea eax, [edi + 8]
push eax
push dword [ebp - 0x200c]
call fcn.004b57b0
push 0x40
lea eax, [ebp - 0x2074]
mov dword [ebp - 0x2078], 0x44
push 0
push eax
call fcn.004b62b0
lea eax, [edi + 0x5a44]
xorps xmm0, xmm0
push eax
lea esi, [edi + 0x583c]
push esi
push 0x519be4
lea eax, [ebp - 0x2004]
push 0xffffffffffffffff
push eax
movups xmmword [ebp - 0x2028], xmm0
call fcn.0047b990
add esp, 0x2c
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x2078]
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 0x47caf1
push 0xffffffffffffffff
push dword [ebp - 0x2028]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x2024]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x2028]
call ebx
mov esi, dword [ebp - 0x2008]
mov ebx, 1
jmp 0x47caf9
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
test esi, esi
je 0x47cc34
push esi
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00482225
mov esp, ebp
pop ebp
ret 4