Function at 0x4191c0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4673ed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x690
mov eax, dword [0x4b6100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0x30]
mov eax, dword [ebx + 0x10]
push esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x3c], eax
call fcn.00404c80
lea eax, [esi + 4]
mov ecx, 0x62
mov esi, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
lea edi, [ebp - 0x208]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
cmp dword [ebp - 0x1e0], 9
jne 0x419312
mov eax, dword [0x4ba18c]
mov esi, dword [0x4ba194]
mov al, byte [eax + 0x1c]
mov byte [ebp - 0x29], al
test esi, esi
je 0x41925e
lock inc dword [esi + 4]
mov esi, dword [0x4ba194]
mov ecx, dword [0x4ba190]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
test ecx, ecx
je 0x4192b1
sub esp, 8
mov dword [ebp - 0x50], 0
mov eax, esp
mov dword [ebp - 0x4c], 0
movq xmm0, qword [ebp - 0x50]
push 2
sub esp, 0xc
mov dword [eax], str.shutting_down
mov dword [eax + 4], 0xd
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00402270
push 0
push 0
push str._ExecutionPolicy_bypass__c_Remove_NetQosPolicy__Name_Destiny2_Limit__Confirm:_false
push str.powershell.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp byte [ebp - 0x29], 0
jne 0x4192de
push 9
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x419312
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x419312
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x419312
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebx + 0xc], 0
jne 0x41939d
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [0x4ba194]
test eax, eax
je 0x41933b
lock inc dword [eax + 4]
mov eax, dword [0x4ba190]
mov dword [ecx], eax
mov eax, dword [0x4ba194]
mov dword [ecx + 4], eax
call fcn.0040b970
add esp, 8
test al, al
jne 0x41939d
mov ecx, dword [0x4ba190]
sub esp, 8
mov eax, esp
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
movq xmm0, qword [ebp - 0x50]
push 2
sub esp, 0xc
mov dword [eax], str.hotkey_ignored:_d2_is_not_the_active_window_and_debug_mode_is_not_on
mov dword [eax + 4], 0x44
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00402270
jmp 0x4197fe
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.00404c80
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x208]
mov eax, dword [ebp - 0x30]
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
cmp byte [ebp - 0x8d], 0
jne 0x4197fe
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov dword [ebp - 0x30], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x419583
mov dword [ebp - 0x38], edx
nop dword [eax]
mov esi, dword [ecx + edx*4]
lea ecx, [ebp - 0x54]
push esi
call fcn.00404c80
mov eax, dword [ebp - 0x54]
lea edi, [ebp - 0x518]
add esi, 4
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
call fcn.00404c80
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x6a0]
mov eax, dword [ebp - 0x58]
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
lea ecx, [ebp - 0x518]
lea eax, [ebp - 0x6a0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x419461
test dl, dl
je 0x41945d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x419461
add eax, 2
add ecx, 2
test dl, dl
jne 0x419441
xor eax, eax
jmp 0x419466
sbb eax, eax
or eax, 1
test eax, eax
jne 0x419563
mov eax, dword [0x4b9d74]
mov esi, dword [ebp - 0x38]
mov edi, dword [eax + 0xc]
cmp byte [esi + edi], 0
je 0x4194e7
lea ecx, [ebp - 0x80]
call fcn.004187f0
push dword [ebp - 0x18]
xorps xmm0, xmm0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + edi + 0x10], ecx
lea ecx, [ebp - 0x5c]
mov dword [esi + edi + 0x14], eax
movsd qword [esi + edi + 8], xmm0
mov byte [esi + edi], 0
mov eax, dword [0x4ba190]
mov dword [ebp - 0x34], eax
call fcn.00404c80
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x208]
mov eax, dword [ebp - 0x5c]
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
push 0xd
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
movq xmm0, qword [ebp - 0x74]
push str.timer_stop_
jmp 0x419544
lea ecx, [ebp - 0x50]
call fcn.004187f0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + edi + 0x10], ecx
lea ecx, [ebp - 0x24]
mov dword [esi + edi + 0x14], eax
mov byte [esi + edi], 1
mov eax, dword [0x4ba190]
mov dword [ebp - 0x34], eax
call fcn.00404c80
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x208]
mov eax, dword [ebp - 0x24]
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
push 0xe
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
movq xmm0, qword [ebp - 0x68]
push str.timer_start_
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x208]
push eax
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00417dc0
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
add dword [ebp - 0x38], 0x18
inc edx
mov dword [ebp - 0x30], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x4193f0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00404c80
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x390]
mov eax, dword [ebp - 0x24]
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x215], 1
call fcn.00404c80
mov edi, dword [ebp - 0x1c]
lea esi, [ebp - 0x390]
mov eax, dword [ebp - 0x24]
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00404c80
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x208]
mov eax, dword [ebp - 0x24]
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00404c80
cmp dword [ebp - 0x1e0], 7
mov ecx, 0x62
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
jne 0x419687
lea edi, [ebp - 0x390]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
cmp byte [ebp - 0x214], 0
lea ecx, [ebp - 0x24]
push dword [ebp - 0x18]
sete byte [ebp - 0x214]
call fcn.00404c80
mov edi, dword [ebp - 0x1c]
lea esi, [ebp - 0x390]
mov eax, dword [ebp - 0x24]
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
cmp byte [ebp - 0x214], 0
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
je 0x419672
push str._ExecutionPolicy_bypass__noe__c_New_NetQosPolicy__Name_Destiny2_Limit__AppPathNameMatchCondition_destiny2.exe__ThrottleRateActionBitsPerSecond_0.801KB
push str.powershell.exe
push 0
push 0
call eax
jmp 0x41970b
push str._ExecutionPolicy_bypass__c_Remove_NetQosPolicy__Name_Destiny2_Limit__Confirm:_false
push str.powershell.exe
push 0
push 0
call eax
jmp 0x41970b
lea edi, [ebp - 0x208]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
cmp dword [ebp - 0x1e0], 8
jne 0x4196a6
mov ecx, dword [ebp - 0x18]
call fcn.0041b060
jmp 0x41970b
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00404c80
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x208]
mov eax, dword [ebp - 0x24]
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
cmp byte [ebp - 0x8c], 0
lea esi, [ebp - 0x208]
push dword [ebp - 0x18]
mov ecx, 0x62
lea edi, [ebp - 0x390]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x24]
sete byte [ebp - 0x214]
call fcn.00404c80
mov edi, dword [ebp - 0x1c]
lea esi, [ebp - 0x390]
mov eax, dword [ebp - 0x24]
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
mov eax, dword [0x4ba190]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
call fcn.00404c80
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x208]
mov eax, dword [ebp - 0x24]
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor edx, edx
xchg dword [eax], edx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00404c80
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x390]
mov eax, dword [ebp - 0x24]
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xchg dword [eax], ecx
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x8c]
push 0xf
push str.state_of_:_
push eax
lea eax, [ebp - 0x390]
mov dword [ebp - 0x68], 0
push eax
sub esp, 0x10
mov dword [ebp - 0x64], 0
movq xmm0, qword [ebp - 0x68]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.0041a810
mov esi, dword [ebp - 0x3c]
push 0x4b9d95
sub esp, 0xc
mov edi, esp
mov dword [ebp - 0x24], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
test eax, eax
je 0x4197ef
push eax
mov ecx, edi
call fcn.00419f20
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov edi, dword [edi]
sub esi, eax
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x24]
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov dword [ecx + 4], eax
call fcn.0041f5a0
push 0x4b9d95
call fcn.0041f830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004640a7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc