Function at 0x452ec0
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [0x55e300]
sub esp, 0x24c
lea eax, [esp + 0x44]
push ebx
push ebp
push esi
push edi
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [esp + 0x260]
mov eax, dword [edx - 8]
test eax, eax
jne 0x452f55
lea edx, [esp + 0x54]
test edx, edx
jne 0x452efb
xor ebx, ebx
jmp 0x452f08
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push ebx
lea ecx, [esp + 0x264]
call fcn.00405660
test eax, eax
je 0x452f4e
mov edi, dword [esp + 0x260]
lea eax, [ebx + ebx]
mov ecx, eax
lea esi, [esp + 0x54]
mov edx, ecx
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 + 0x260]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x260]
mov word [eax + edx], 0
mov edx, dword [esp + 0x260]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [edx - 0xc]
mov dword [esp + 0x18], 0x3c
cmp dword [eax], 0
jl 0x452f7f
push eax
mov dword [esp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x452fa4
mov eax, dword [0x546560]
mov esi, edx
test edx, edx
mov dword [esp + 0x10], eax
jne 0x452f92
xor eax, eax
jmp 0x452f99
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00405870
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x452fc4
mov edx, dword [eax - 4]
test edx, edx
jge 0x45301c
mov ebp, dword [eax - 8]
test ebp, ebp
jle 0x452fcd
mov ecx, ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x45301c
mov edi, dword [esp + 0x10]
lea ecx, [ebp + ebp + 2]
mov edx, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov dword [eax - 8], ebp
mov eax, dword [0x546564]
cmp ebx, eax
je 0x453018
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x453018
push ebx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x264]
xor edx, edx
mov dword [esp + 0x34], 1
lea ecx, [eax - 0xc]
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], edx
cmp dword [ecx], edx
jl 0x45304d
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x45306f
mov ecx, dword [0x546560]
mov esi, eax
test eax, eax
mov dword [esp + 0x14], ecx
je 0x453064
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00405870
mov eax, dword [esp + 0x268]
mov edx, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x2c], edx
je 0x45308a
mov dword [esp + 0x24], 0x547140
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [0x546564]
mov esi, eax
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4530ca
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4530d0
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
jmp 0x4530d0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4530fb
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4530fb
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x260]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45312c
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45312c
mov edx, dword [esp + 0x260]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x264]
call fcn.00405700
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret