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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57438d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x5b9344]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
call fcn.0042b460
mov ecx, eax
test ecx, ecx
je 0x44227a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.VWdsRlJSTh4vLC4
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0042b6d0
test al, al
jne 0x4420a7
push 0x10
push str.VWdsRlJSTh4vLC4
lea ecx, [ebp - 0x10]
call fcn.0042b9f0
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.0042b170
add eax, 0x10
lea ecx, [ebp - 0x18]
mov dword [esi], eax
call fcn.004418d0
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 0x442103
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x442250
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
cmp dword [eax - 0xc], 0
jne 0x442120
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 0x442250
mov byte [ebp - 4], 2
call fcn.0042b460
mov ecx, eax
test ecx, ecx
je 0x442284
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 0x442179
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.0041e770
mov esi, dword [ebp - 0x14]
add esp, 0x2c
push 0x800000
push 0
push 0
push 0
push esi
push 0x591e08
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x442207
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x442207
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 0x442250
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x442250
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44221e
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 0x44224b
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 0x442248
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 0x442265
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.0042b9d0
push 0x80004005
call fcn.0042b9d0
int3