Function at 0x452bc0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3378
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x51c100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 4], 1
call fcn.00452ae0
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.004535d0
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [edi + 8]
call fcn.004535d0
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.004299d0
mov dword [ebp - 0x30], eax
lea edx, [esi + 0x34]
mov byte [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
jb 0x452c3c
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0x78]
call fcn.004193b0
add esp, 8
mov byte [ebp - 4], 3
lea edx, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
push 0xfde9
cmovae edx, dword [ebp - 0x78]
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x60]
call fcn.0040a720
add esp, 0xc
push dword [ebp - 0x30]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.0044abe0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x452cbe
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x452cb4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452eb2
push ecx
push edx
call fcn.004a05b3
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
lea ecx, [ebp - 0x78]
call fcn.0040a590
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x452d13
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x452d09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452eb2
push ecx
push edx
call fcn.004a05b3
add esp, 8
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
jb 0x452d33
mov esi, dword [esi]
push 5
push str.https
mov ecx, esi
call fcn.00429fe0
movzx esi, al
lea edx, [ebp - 0x28]
shl esi, 0x17
lea ecx, [ebp - 0x48]
or esi, 0x40
cmp dword [ebp - 0x14], 0x10
push 0xfde9
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
call fcn.004193b0
add esp, 0x10
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
cmovae eax, dword [ebp - 0x48]
cmp dword [ebx + 0x14], 8
jb 0x452d7b
mov ebx, dword [ebx]
push esi
push 0
push 0
push 0
push eax
push ebx
push dword [edi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea ecx, [ebp - 0x48]
mov dword [edi + 0x10], eax
call fcn.0040a590
mov eax, dword [edi + 0x10]
test eax, eax
je 0x452eb7
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push ecx
push 0x2d
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x452ed9
push 0
push 0xffffffffffffffff
push 0x453760
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
je 0x452efb
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x452e0c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x452e02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452f1d
push ecx
push edx
call fcn.004a05b3
add esp, 8
mov edi, dword [ebp + 0xc]
or ebx, 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test edi, edi
je 0x452e5b
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x452e5b
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4e933c]
mov ecx, edi
call esi
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x452e5b
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e933c]
mov ecx, edi
call esi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x452e94
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x452e94
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4e933c]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x452e94
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e933c]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a057b
mov esp, ebp
pop ebp
ret 0x18
call fcn.004ace5f
push str.Unable_to_initialize_WinHTTP_request_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x44]
call fcn.0048def0
push 0x518f50
lea eax, [ebp - 0x44]
push eax
call fcn.004a2f8b
push str.Unable_to_set_WinHTTP_context_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x44]
call fcn.0048def0
push 0x518f50
lea eax, [ebp - 0x44]
push eax
call fcn.004a2f8b
push str.Unable_to_set_WinHTTP_status_callback_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x44]
call fcn.0048def0
push 0x518f50
lea eax, [ebp - 0x44]
push eax
call fcn.004a2f8b
call fcn.004ace5f
int3