Function at 0x4853e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x448
mov ecx, dword [0x55e300]
push esi
push edi
lea eax, [esp + 0x48]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [0x546560]
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 0x4854f9
lea ecx, [esp + 0x48]
shr ecx, 0x10
jne 0x4854c1
xor edi, edi
lea edx, [esp + 0x48]
lea eax, [esp + 0x250]
mov di, dx
push 0x100
push eax
push edi
call fcn.00412530
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x485475
lea edx, [esp + 0x250]
lea ecx, [esp + 8]
push edx
call fcn.00405920
jmp 0x4854f9
push 0x1ff
lea ecx, [esp + 0xc]
mov esi, 0x200
call fcn.00413620
test eax, eax
je 0x4854b4
push esi
push eax
push edi
call fcn.00412530
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x4854b4
add esi, 0x100
lea ecx, [esp + 8]
lea edx, [esi - 1]
push edx
call fcn.00413620
test eax, eax
jne 0x48548c
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00405bb0
jmp 0x4854f9
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x4854f9
push esi
lea ecx, [esp + 0xc]
call fcn.00405530
test eax, eax
je 0x4854f9
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 0x485512
cmp dword [ecx - 4], eax
jge 0x485566
mov ebp, dword [ecx - 8]
test ebp, ebp
jle 0x48551b
mov eax, ebp
push eax
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x48556a
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 [0x546564]
cmp ebx, eax
je 0x485566
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x485566
push ebx
call fcn.00531732
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, 0x547140
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 0x4855bc
push 0xfefe
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 8]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4855eb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4855eb
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov ecx, dword [0x546564]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x48560f
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x48560f
push esi
call fcn.00531732
add esp, 4
pop edi
pop esi
add esp, 0x448
ret