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

Disassembly:
sub esp, 0x2e8
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1f5]
mov byte [esp + 0x1f4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 4]
push eax
lea eax, [esp + 0x1f8]
push str.Map__s
push eax
call fcn.00422d0e
add esp, 0xc
lea ecx, [esp + 0x1f4]
push ecx
push 0x2ac
push ebx
push 4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [ebp + 0x434], eax
je 0x40d547
cmp eax, 0xffffffff
je 0x40d547
push ebx
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
cmp edx, ebx
je 0x40d54d
mov ecx, 0xab
xor eax, eax
mov edi, edx
lea esi, [ebp + 0x188]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0xab
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x4c]
mov byte [esp + 0x8c], bl
rep stosd dword es:[edi], eax
mov ecx, 0x11
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov ecx, 0x59
lea edi, [esp + 0x8d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edx, edx
push 0x168
stosb byte es:[edi], al
mov dword [esp + 0x18], edx
lea eax, [ebp + 0x84]
lea ecx, [esp + 0x90]
mov dword [esp + 0x1c], edx
push eax
push ecx
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], edx
call fcn.00423d60
mov edi, 0x463cbc
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x8c]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x8c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.EstRecycleDocument
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x8c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x463cbc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
mov dword [esp + 0x20], 0xc
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x8c]
and ecx, 3
mov dword [esp + 0x28], 1
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp + 4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x24], ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x24]
push ecx
push ebx
push ebx
push 0x30
push 1
push ebx
lea eax, [esp + 0xa8]
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40d4d0
mov ecx, dword [ebp + 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [ebp + 0x434], ebx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2e8
ret
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea edx, [esp + 0x34]
push ebx
push edx
call esi
test eax, eax
je 0x40d514
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
cmp dword [esp + 0x30], 0x843
je 0x40d514
lea eax, [esp + 0x2c]
push eax
call edi
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea edx, [esp + 0x34]
push ebx
push edx
call esi
test eax, eax
jne 0x40d4ea
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov edx, dword [ebp + 0x434]
push edx
call esi
pop edi
mov dword [ebp + 0x434], ebx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2e8
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [ebp + 0x434], ebx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2e8
ret