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

Disassembly:
mov eax, 0x42d180
call fcn.0042b150
sub esp, 0x1dc
push ebx
push esi
push edi
call fcn.004018db
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push str.WlLoader
push 8
xor esi, esi
push esi
push 4
push esi
push 0xffffffffffffffff
mov dword [0x43ed44], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 8
push esi
push esi
push 0xf001f
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
je 0x4015d0
push 8
pop eax
mov ecx, 0x43ed44
call fcn.00406fb0
push 0x44
pop edi
push edi
lea eax, [ebp - 0xe0]
push esi
push eax
call fcn.0040e6b0
mov ax, word [ebp + 0x10]
add esp, 0xc
push 0x10
mov word [ebp - 0xb0], ax
lea eax, [ebp - 0x34]
push esi
push eax
mov dword [ebp - 0xe0], edi
call fcn.0040e6b0
lea eax, [ebp - 0x58]
add esp, 0xc
push eax
call fcn.004064b0
pop ecx
mov dword [ebp - 4], esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004068a0
mov byte [ebp - 4], 1
mov esi, 0x7fffffff
push esi
lea eax, [ebp - 0x14]
push eax
mov edi, str._app
call fcn.004052a0
push 0x43188c
mov edx, 0x431888
lea ecx, [ebp - 0x14]
call fcn.00405410
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00406800
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x98]
push ecx
mov edx, eax
call fcn.00406170
mov byte [ebp - 4], 3
push eax
lea ebx, [ebp - 0x58]
call fcn.0040114c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
call fcn.004010d1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.004010d1
push 0x103
lea eax, [ebp - 0x1e8]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x1e8]
lea eax, [ebp - 0x10]
call fcn.004045a0
mov byte [ebp - 4], 4
push 0x22
lea eax, [ebp - 0x10]
push eax
xor eax, eax
call fcn.00404980
push 0x22
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00404980
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x401514
cmp byte [edi], bl
je 0x401514
push 0x20
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00404980
push esi
lea eax, [ebp - 0x10]
push eax
call fcn.00404a40
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x1c]
push eax
call fcn.00401056
pop ecx
mov byte [ebp - 4], 5
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0xe0]
push ecx
push ebx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
call fcn.004050a0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x40158d
push dword [ebp - 0x30]
call esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040186d
pop ecx
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x34]
call esi
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x18]
call esi
call fcn.0040180a
xor eax, eax
cmp edi, ebx
sete al
mov esi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
call fcn.004050a0
mov byte [ebp - 4], bl
lea eax, [ebp - 0x14]
call fcn.004050a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004010d1
mov eax, esi
jmp 0x4015dc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret