Function at 0x40f1b0
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x486336
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
push eax
lea ecx, [esp + 0x18]
call fcn.00401bd0
lea ecx, [esp + 0x38]
xor ebp, ebp
push ecx
mov dword [esp + 0xb4], ebp
call fcn.0040b270
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
mov byte [esp + 0xb8], 1
call fcn.00401660
add eax, 0x10
mov dword [esi], eax
mov edi, dword [esp + 0x40]
add edi, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push edi
mov byte [esp + 0xbc], 2
mov dword [esp + 0x38], edi
call fcn.00401660
add eax, 0x10
lea edx, [esp + 0x24]
add esp, 4
mov dword [esi], eax
push edx
mov byte [esp + 0xbc], 1
call fcn.0040c060
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 3
call fcn.00401ab0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xb0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f297
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0040cf80
add esp, 4
test al, al
je 0x40f2f0
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.00409130
add esp, 0x10
mov byte [esp + 0xb0], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f73e
mov ecx, dword [edi]
push edi
jmp 0x40f737
mov ecx, dword [esp + 0xbc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401bd0
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0xc]
mov byte [esp + 0xb0], 4
cmp eax, ebp
jne 0x40f377
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00401660
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x20]
add esp, 4
push eax
call fcn.00409e50
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 5
call fcn.00401ab0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xb0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f377
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00401660
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 6
call fcn.0044e082
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
mov bl, 7
push 0x48ef18
mov byte [esp + 0xb8], bl
call fcn.00401bd0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
mov byte [esp + 0xc0], 8
call fcn.00401660
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0xbc], bl
call fcn.00409b20
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, ebp
je 0x40f41d
lea ecx, [eax - 1]
cmp ecx, ebp
jl 0x40f5c9
cmp ecx, eax
jge 0x40f5c9
mov edx, dword [esp + 0x40]
lea eax, [edx + ecx*4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401ab0
push 0x4901e8
lea eax, [esp + 0x1c]
push eax
push 0x4901e4
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str.Run_file
call fcn.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.MAIN
mov byte [esp + 0xc8], 9
call fcn.00401bd0
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0xc8], bl
call fcn.00416a90
add esp, 0xc
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xc4], 0xa
call fcn.00403ce0
add esp, 0xc
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xc0], 0xb
call fcn.00403c20
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0xbc], 0xc
call fcn.00403ce0
add esp, 0xc
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0xb0], 0xe
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f4d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xb0], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f4fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xb0], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f524
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0xc0]
cmp edi, ebp
je 0x40f56b
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x40f534
sub eax, edx
sar eax, 1
je 0x40f56b
push 0x4901e4
lea ecx, [esp + 0x20]
call fcn.004050d0
push edi
lea ecx, [esp + 0x20]
call fcn.004050d0
push 0x4901e8
lea ecx, [esp + 0x20]
call fcn.004050d0
lea ecx, [esp + 0x90]
call fcn.00453c6b
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0xb8], 0x11
call fcn.00453d03
test eax, eax
jne 0x40f5ce
lea ecx, [esp + 0x90]
mov byte [esp + 0xb0], 0x10
call fcn.00453c94
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xb0], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40f6ac
call fcn.0044d954
mov eax, dword [esp + 0x1c]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00401660
mov ecx, dword [esp + 0xd0]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.0040c320
mov edx, dword [esp + 0x28]
push edx
call fcn.0040e570
push 0x38
lea eax, [esp + 0x6c]
push ebp
push eax
call fcn.0046e0a0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
xor edx, edx
add esp, 0x1c
cmp byte [0x4b127c], dl
mov dword [esp + 0x64], ecx
setne dl
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x58], 0x3c
mov dword [esp + 0x5c], 0x40
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
dec edx
and edx, 5
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [esp + 0xcc], ebp
je 0x40f67d
mov edx, dword [esp + 0x8c]
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x90]
mov byte [esp + 0xb0], 0x10
call fcn.00453c94
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xb0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f6b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 6
call fcn.0044e25f
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xb0], 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f6f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xb0], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f719
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xb0], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f73e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f769
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret