Function at 0x45e150
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x448
mov ecx, dword [0x4edfe8]
push esi
push edi
lea eax, [esp + 0x48]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [0x4d9540]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
mov dword [esp + 0xc], 0x3c
test eax, eax
mov dword [esp + 8], edx
je 0x45e269
lea ecx, [esp + 0x48]
shr ecx, 0x10
jne 0x45e231
xor edi, edi
lea edx, [esp + 0x48]
lea eax, [esp + 0x250]
mov di, dx
push 0x100
push eax
push edi
call fcn.0040e810
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x45e1e5
lea edx, [esp + 0x250]
lea ecx, [esp + 8]
push edx
call fcn.004016e0
jmp 0x45e269
push 0x1ff
lea ecx, [esp + 0xc]
mov esi, 0x200
call fcn.0040f900
test eax, eax
je 0x45e224
push esi
push eax
push edi
call fcn.0040e810
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x45e224
add esi, 0x100
lea ecx, [esp + 8]
lea edx, [esi - 1]
push edx
call fcn.0040f900
test eax, eax
jne 0x45e1fc
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00401970
jmp 0x45e269
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x45e269
push esi
lea ecx, [esp + 0xc]
call fcn.004012f0
test eax, eax
je 0x45e269
mov edi, dword [esp + 8]
lea ecx, [esi + esi]
mov edx, ecx
lea esi, [esp + 0x48]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 8]
push ebx
xor eax, eax
push ebp
lea ebx, [ecx - 0xc]
mov dword [esp + 0x18], eax
cmp dword [ebx], 1
jg 0x45e282
cmp dword [ecx - 4], eax
jge 0x45e2d6
mov ebp, dword [ecx - 8]
test ebp, ebp
jle 0x45e28b
mov eax, ebp
push eax
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x45e2da
mov edi, dword [esp + 0x10]
lea ecx, [ebp + ebp + 2]
mov eax, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebp
mov eax, dword [0x4d9544]
cmp ebx, eax
je 0x45e2d6
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45e2d6
push ebx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x45c]
mov esi, dword [esp + 0x460]
mov dword [esp + 0x24], eax
xor eax, eax
neg edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], eax
sbb edx, edx
lea eax, [esp + 0x14]
and edx, 0x4d9e98
push eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop ebp
pop ebx
test eax, eax
je 0x45e32c
push 0xfefe
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 8]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45e35b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45e35b
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov ecx, dword [0x4d9544]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x45e37f
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45e37f
push esi
call fcn.004c5432
add esp, 4
pop edi
pop esi
add esp, 0x448
ret