Function at 0x447df0
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [0x4edfe8]
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 0x447e85
lea edx, [esp + 0x54]
test edx, edx
jne 0x447e2b
xor ebx, ebx
jmp 0x447e38
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push ebx
lea ecx, [esp + 0x264]
call fcn.00401420
test eax, eax
je 0x447e7e
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 0x447eaf
push eax
mov dword [esp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x447ed4
mov eax, dword [0x4d9540]
mov esi, edx
test edx, edx
mov dword [esp + 0x10], eax
jne 0x447ec2
xor eax, eax
jmp 0x447ec9
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00401630
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 0x447ef4
mov edx, dword [eax - 4]
test edx, edx
jge 0x447f4c
mov ebp, dword [eax - 8]
test ebp, ebp
jle 0x447efd
mov ecx, ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x447f4c
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 [0x4d9544]
cmp ebx, eax
je 0x447f48
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x447f48
push ebx
call fcn.004c5432
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 0x447f7d
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x447f9f
mov ecx, dword [0x4d9540]
mov esi, eax
test eax, eax
mov dword [esp + 0x14], ecx
je 0x447f94
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401630
mov eax, dword [esp + 0x268]
mov edx, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x2c], edx
je 0x447fba
mov dword [esp + 0x24], 0x4d9e98
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [0x4d9544]
mov esi, eax
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x447ffa
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x448000
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
jmp 0x448000
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x44802b
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x44802b
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x260]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x44805c
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x44805c
mov edx, dword [esp + 0x260]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
lea ecx, [esp + 0x264]
call fcn.004014c0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c