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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bdfd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x5c8ab4]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
call fcn.0042efe0
mov ecx, eax
test ecx, ecx
je 0x44625a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.RW5TNbRIHfPSURZOgNNtdEBj
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0042f250
test al, al
jne 0x446087
push 0x18
push str.RW5TNbRIHfPSURZOgNNtdEBj
lea ecx, [ebp - 0x10]
call fcn.0042f580
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.0042e8d0
add eax, 0x10
lea ecx, [ebp - 0x18]
mov dword [esi], eax
call fcn.00445470
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 0x4460e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x446230
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
cmp dword [eax - 0xc], 0
jne 0x446100
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 0x446230
mov byte [ebp - 4], 2
call fcn.0042efe0
mov ecx, eax
test ecx, ecx
je 0x446264
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 0x446159
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.004218d0
mov esi, dword [ebp - 0x14]
add esp, 0x2c
push 0x800000
push 0
push 0
push 0
push esi
push 0x59c7dc
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x4461e7
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x4461e7
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 0x446230
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x446230
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4461fe
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 0x44622b
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 0x446228
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 0x446245
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.0042f560
push 0x80004005
call fcn.0042f560
int3