Function at 0x4964e8
Capabilities:
Receive http response

Disassembly:
push 0xa8
mov eax, 0x55dd80
call fcn.004cd142
mov edi, ecx
cmp byte [edi + 0x4c], 0
je 0x49651e
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x80]
mov edx, dword [edi + 0x78]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x84]
mov dword [eax], edx
mov dword [eax + 0xc], ecx
jmp 0x49670b
xor esi, esi
cmp byte [edi + 0x11], 0
jne 0x49653a
mov eax, dword [ebp + 8]
mov dword [eax], 6
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
jmp 0x49670b
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
mov dword [edi + 0x48], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
lea eax, [edi + 0x90]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
lock inc dword [ebp - 0x44]
cmp dword [edi + 0x34], 0
jne 0x49658c
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov eax, dword [ebp - 0x30]
push 6
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
pop ebx
mov dword [ebp - 0x14], eax
jmp 0x4965d9
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x4965ad
xorps xmm0, xmm0
mov dword [ebp - 0x64], esi
movlpd qword [ebp - 0x5c], xmm0
lea ecx, [ebp - 0x64]
jmp 0x4965c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00495240
mov ecx, eax
mov eax, dword [ecx + 8]
mov ebx, dword [ecx]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x48]
call fcn.00411e33
test ebx, ebx
jne 0x4966d3
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
test eax, eax
je 0x4966bb
mov ebx, dword [ebp - 0x10]
add eax, ebx
push eax
call fcn.0043ccf1
lea eax, [edi + 0x90]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
lock inc dword [ebp - 0x50]
cmp dword [edi + 0x34], 0
jne 0x49663c
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov eax, dword [ebp - 0x30]
push 6
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
pop ebx
mov dword [ebp - 0x14], eax
jmp 0x4966a1
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
add eax, ebx
push eax
push dword [edi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x49666c
xorps xmm0, xmm0
mov dword [ebp - 0x84], esi
movlpd qword [ebp - 0x7c], xmm0
lea ecx, [ebp - 0x84]
jmp 0x496681
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00495240
mov ecx, eax
mov eax, dword [ecx + 8]
mov ebx, dword [ecx]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x54]
call fcn.00411e33
test ebx, ebx
jne 0x4966d3
mov ebx, dword [ebp - 0x10]
add ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ebx
jmp 0x496552
mov esi, dword [ebp - 0x10]
push esi
call fcn.0043ccf1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x3c]
call fcn.0040f414
mov dword [edi + 0x48], esi
mov esi, dword [ebp + 8]
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov byte [edi + 0x4c], 1
mov dword [edi + 0x80], eax
mov eax, dword [ebp - 0x18]
mov dword [esi], ecx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x84], eax
mov ecx, dword [edi + 0x80]
mov dword [esi + 8], ecx
mov ecx, eax
mov dword [esi + 0xc], ecx
lea ecx, [ebp - 0x2c]
call fcn.0041193a
mov eax, esi
call fcn.004cd113
ret 4