Function at 0x407320
Capabilities:
Access peb ldr_data
Copy file
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x412098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x41ac08]
push ebx
push ebp
push esi
push edi
mov ecx, 0x41ac08
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [0x41ac08]
mov ecx, 0x41ac08
mov dword [esp + 0x2c], 0
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [0x41ac08]
mov ecx, 0x41ac08
mov byte [esp + 0x2c], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov edx, dword [0x41ac08]
mov ecx, 0x41ac08
mov byte [esp + 0x2c], 2
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x41ac08]
mov ecx, 0x41ac08
mov byte [esp + 0x2c], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x30], 4
call fcn.00404730
mov edi, dword [esp + 0x3c]
mov edx, dword [edi]
push edx
lea eax, [esp + 0x20]
push str._s.exe
push eax
call fcn.00402a90
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
add esp, 0x10
push edx
call fcn.004044a0
push eax
lea eax, [esp + 0x24]
push 0x4136b0
push eax
call fcn.00402a90
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
push ecx
push esi
lea edx, [esp + 0x28]
push 0x4136b0
push edx
call fcn.00402a90
add esp, 0x1c
lea ebx, [esi - 0x10]
mov dword [esp + 0x3c], esp
mov ebp, esp
push ebx
call fcn.00401270
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.004045d0
mov eax, dword [esp + 0x14]
add esp, 4
push 0
push eax
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
mov edx, dword [esp + 0x10]
push edx
call fcn.00408ee0
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00408400
mov ecx, dword [esp + 0x48]
mov al, byte [ecx]
add esp, 0xc
test al, al
jne 0x40747b
lea edx, [esp + 0x10]
push edx
push edi
call fcn.00408520
add esp, 8
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push str._P___s_
push ecx
call fcn.00402a90
mov edi, dword [esp + 0x24]
add esp, 0xc
push 0
push esi
mov esi, dword [esp + 0x28]
push esi
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esi - 0x10]
mov byte [esp + 0x2c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4074cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40750d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x2c], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407529
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40754f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0xc