Function at 0x455160
Capabilities:
Prepare http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8d20
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x52406c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 1
push ecx
push 0x4000
call fcn.0041bb80
movzx ecx, byte [ebp + 8]
lea edx, [ebp + 0x28]
shl ecx, 0x17
lea eax, [ebp + 0x10]
or ecx, 0x140
cmp dword [ebp + 0x3c], 8
push ecx
cmovae edx, dword [ebp + 0x28]
cmp dword [ebp + 0x24], 8
push 0
cmovae eax, dword [ebp + 0x10]
push 0
push 0
push edx
push eax
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [edi + 8], eax
test eax, eax
je 0x4551f1
push 0
push 0xffffffffffffffff
push 0x456400
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x45520f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4552f6
movzx esi, si
or esi, 0x80070000
jmp 0x4552f6
push 0x17
xor eax, eax
mov dword [ebp - 0x14], 0
push str.Cache_Control:_no_cache
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.00432030
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00454f90
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x45527f
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455275
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45538b
push edx
push ecx
call fcn.0046c951
add esp, 8
push 0x7e
xor eax, eax
mov dword [ebp - 0x14], 0
push str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_89.0.4389.90_Safari_537.36
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.00432030
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00454f90
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x4552eb
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4552e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455390
push edx
push ecx
call fcn.0046c951
add esp, 8
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor esi, esi
mov edx, dword [ebp + 0x24]
cmp edx, 8
jb 0x45532c
mov ecx, dword [ebp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455322
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455395
push edx
push ecx
call fcn.0046c951
add esp, 8
mov edx, dword [ebp + 0x3c]
xor eax, eax
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 7
mov word [ebp + 0x10], ax
cmp edx, 8
jb 0x455376
mov ecx, dword [ebp + 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45536c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45539a
push edx
push ecx
call fcn.0046c951
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x38
call fcn.004be3cc
call fcn.004be3cc
call fcn.004be3cc
call fcn.004be3cc
int3