Function at 0x4e7760
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ddbde
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x65a640]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x28]
call fcn.00407812
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x58]
call fcn.004077a2
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xac]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004e4e90
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0040772f
cmp dword [ebp + 0x18], 0
jne 0x4e7800
mov dword [ebp - 0xa0], 0
jmp 0x4e7880
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x88]
call fcn.004077a2
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0xb4]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.004e4e90
add esp, 8
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x8c]
or ecx, 2
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0xbc]
call fcn.00402ffe
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402ffe
push eax
mov ecx, dword [ebp - 0x94]
call fcn.004e7330
movzx edx, al
test edx, edx
jne 0x4e78b6
mov dword [ebp - 0xa4], 1
jmp 0x4e78c0
mov dword [ebp - 0xa4], 0
mov al, byte [ebp - 0xa4]
mov byte [ebp - 0x8e], al
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x8c]
and ecx, 2
je 0x4e78ed
and dword [ebp - 0x8c], 0xfffffffd
lea ecx, [ebp - 0x70]
call fcn.00403027
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x8c]
and edx, 1
je 0x4e7911
and dword [ebp - 0x8c], 0xfffffffe
lea ecx, [ebp - 0x88]
call fcn.0040772f
movzx eax, byte [ebp - 0x8e]
test eax, eax
je 0x4e795a
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407769
mov edx, dword [ebp - 0x8c]
or edx, 4
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403027
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040772f
mov eax, dword [ebp + 8]
jmp 0x4e7ac2
mov ecx, dword [ebp - 0x94]
call fcn.004e76a0
mov ecx, dword [ebp - 0x94]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x94]
cmp dword [edx + 4], 0x194
jne 0x4e7998
mov dword [ebp - 0xc0], 5
push 0x649658
lea eax, [ebp - 0xc0]
push eax
call fcn.005458a4
push 0x1000
call fcn.0057e78b
add esp, 4
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x8d], 0
mov ecx, 1
test ecx, ecx
je 0x4e7a67
lea edx, [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x4e79df
jmp 0x4e7a67
cmp dword [ebp - 0x9c], 0
ja 0x4e79f1
mov byte [ebp - 0x8d], 1
jmp 0x4e7a67
cmp dword [ebp - 0x9c], 0x1000
jbe 0x4e7a21
mov edx, dword [ebp - 0x98]
push edx
call fcn.0056b88b
add esp, 4
mov eax, dword [ebp - 0x9c]
push eax
call fcn.0057e78b
add esp, 4
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x4e7a4c
jmp 0x4e7a67
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407d16
jmp 0x4e79b2
mov edx, dword [ebp - 0x98]
push edx
call fcn.0056b88b
add esp, 4
movzx eax, byte [ebp - 0x8d]
test eax, eax
jne 0x4e7a89
lea ecx, [ebp - 0x28]
call fcn.004e7e60
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407769
mov edx, dword [ebp - 0x8c]
or edx, 4
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403027
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040772f
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.0052ef51
mov esp, ebp
pop ebp
ret 0x14