Function at 0x485d10
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x448
mov ecx, dword [0x55f3b8]
push esi
push edi
lea eax, [esp + 0x48]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [0x547570]
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 0x485e29
lea ecx, [esp + 0x48]
shr ecx, 0x10
jne 0x485df1
xor edi, edi
lea edx, [esp + 0x48]
lea eax, [esp + 0x250]
mov di, dx
push 0x100
push eax
push edi
call fcn.00412380
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x485da5
lea edx, [esp + 0x250]
lea ecx, [esp + 8]
push edx
call fcn.00405920
jmp 0x485e29
push 0x1ff
lea ecx, [esp + 0xc]
mov esi, 0x200
call fcn.00413470
test eax, eax
je 0x485de4
push esi
push eax
push edi
call fcn.00412380
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x485de4
add esi, 0x100
lea ecx, [esp + 8]
lea edx, [esi - 1]
push edx
call fcn.00413470
test eax, eax
jne 0x485dbc
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00405bb0
jmp 0x485e29
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x485e29
push esi
lea ecx, [esp + 0xc]
call fcn.00405530
test eax, eax
je 0x485e29
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 0x485e42
cmp dword [ecx - 4], eax
jge 0x485e96
mov ebp, dword [ecx - 8]
test ebp, ebp
jle 0x485e4b
mov eax, ebp
push eax
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x485e9a
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 [0x547574]
cmp ebx, eax
je 0x485e96
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x485e96
push ebx
call fcn.00532222
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, 0x548150
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 0x485eec
push 0xfefe
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 8]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x485f1b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x485f1b
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov ecx, dword [0x547574]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x485f3f
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x485f3f
push esi
call fcn.00532222
add esp, 4
pop edi
pop esi
add esp, 0x448
ret