Function at 0x4077c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x43aac1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x120]
cmp eax, 1
jbe 0x4077fb
cmp eax, edi
jbe 0x40780b
mov eax, dword [esi + 0x124]
jmp 0x40780d
cmp dword [esi + 0x118], edi
jbe 0x40780b
mov eax, dword [esi + 0x11c]
jmp 0x40780d
xor eax, eax
push eax
lea ecx, [esp + 0x24]
call fcn.00406d20
push str.System32File_
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x40], edi
call fcn.00405580
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.00407030
mov eax, dword [esi + 0x15c]
sub eax, 0x10
push eax
mov byte [esp + 0x38], 2
call fcn.004030d0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0x38], 3
call fcn.00407150
mov eax, dword [ebx - 0xc]
cmp eax, edi
jne 0x4078a8
call fcn.00431cfd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
call fcn.00403010
lea ebp, [esp + 0x10]
mov byte [esp + 0x34], 5
mov dword [esp + 0x18], 1
jmp 0x4078ac
lea ebp, [esp + 0x24]
mov edi, dword [esp + 0x14]
push 0x5c
push edi
call fcn.00422892
add esp, 8
test eax, eax
jne 0x4078c4
or eax, 0xffffffff
jmp 0x4078c6
sub eax, edi
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404ae0
mov eax, dword [eax]
mov ecx, dword [ebp]
push 5
push eax
push ecx
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40790a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test byte [esp + 0x18], 1
mov dword [esp + 0x34], 3
je 0x407937
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407937
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esi]
push 0x2d9
push 0x43d898
call fcn.00402180
mov ecx, eax
call fcn.00406c80
push edi
push esi
push str.ExecPkg_PkgId_d_Exe_s
push 4
call fcn.00411820
lea eax, [ebx - 0x10]
add esp, 0x10
mov byte [esp + 0x34], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40797f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x34], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x4079a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4079c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4079eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x28
ret