Function at 0x610dd0
Capabilities:
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6609f0
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x6feae4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x28]
call fcn.004470b0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.006105b0
movzx ecx, al
test ecx, ecx
jne 0x610e5f
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00447030
mov eax, dword [ebp - 0x64]
or eax, 1
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00446fe0
mov eax, dword [ebp + 8]
jmp 0x61109e
mov ecx, dword [ebp - 0x60]
call fcn.00610990
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x60]
cmp dword [edx + 8], 0x194
jne 0x610e8e
mov dword [ebp - 0x7c], 5
push 0x6f5bc0
lea eax, [ebp - 0x7c]
push eax
call fcn.0062c21d
push 0x1000
call fcn.006394f3
add esp, 4
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x59], 0
cmp dword [ebp + 0x10], 2
jne 0x610fcd
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x78], 0
push 0
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0
push 0x16
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x610fa1
mov eax, dword [ebp - 0x74]
shr eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006096b2
add esp, 4
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], eax
push 0
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
push 0
push 0x16
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x610f7d
mov edx, dword [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x40]
call fcn.0044d7a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0060ef40
add esp, 8
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
push edx
lea ecx, [ebp - 0x28]
call fcn.00449940
lea ecx, [ebp - 0x58]
call fcn.00446fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0044d6c0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
push edx
call fcn.006096ad
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00447030
mov ecx, dword [ebp - 0x64]
or ecx, 1
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00446fe0
mov eax, dword [ebp + 8]
jmp 0x61109e
mov edx, 1
test edx, edx
je 0x61105b
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x610ff1
jmp 0x61105b
cmp dword [ebp - 0x70], 0
ja 0x610ffd
mov byte [ebp - 0x59], 1
jmp 0x61105b
cmp dword [ebp - 0x70], 0x1000
jbe 0x611021
mov eax, dword [ebp - 0x68]
push eax
call fcn.00632f24
add esp, 4
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.006394f3
add esp, 4
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x611043
jmp 0x61105b
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x68]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044b4c0
jmp 0x610fcd
mov eax, dword [ebp - 0x68]
push eax
call fcn.00632f24
add esp, 4
movzx ecx, byte [ebp - 0x59]
test ecx, ecx
jne 0x611077
lea ecx, [ebp - 0x28]
call fcn.004a5ce0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00447030
mov eax, dword [ebp - 0x64]
or eax, 1
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00446fe0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0060963b
mov esp, ebp
pop ebp
ret 0x14