Function at 0x446680
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57888d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x5c49f4]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x4468ba
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.VjBu7awFZ8ACMCWZD5L0Zx5e
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0042f750
test al, al
jne 0x4466e7
push 0x18
push str.VjBu7awFZ8ACMCWZD5L0Zx5e
lea ecx, [ebp - 0x10]
call fcn.0042fa90
push 0
push 0
push 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
push 0
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x20], esi
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.0042ee10
add eax, 0x10
lea ecx, [ebp - 0x18]
mov dword [esi], eax
call fcn.00445a80
add esp, 4
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
mov edi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x446743
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x446890
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
cmp dword [eax - 0xc], 0
jne 0x446760
mov eax, dword [esi + 0x84]
push 0
push 0x1bb
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x446890
mov byte [ebp - 4], 2
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x4468c4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
cmp dword [ecx - 0xc], 0
jne 0x4467b9
mov ecx, dword [esi + 0x88]
push edx
push dword [ebp - 0x1c]
push dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
lea eax, [ebp - 0x14]
push dword [esi + 4]
push dword [esi]
push ecx
push dword [esi + 0x8c]
push eax
call fcn.00421db0
mov esi, dword [ebp - 0x14]
add esp, 0x2c
push 0x800000
push 0
push 0
push 0
push esi
push 0x599274
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x446847
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x446847
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
push dword [ebp - 0x18]
call edi
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x446890
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x446890
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44685e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x44688b
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x446888
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
push edi
call esi
push dword [ebp - 0x18]
call esi
mov edx, dword [ebp - 0x20]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4468a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0042fa70
push 0x80004005
call fcn.0042fa70
int3