Function at 0x409880
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b57d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x48f244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov edi, 0xf
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], cl
push 1
push ecx
push eax
push edx
push dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push esi
mov esi, dword [ebp - 0x48]
mov ecx, esi
call fcn.00409cd0
test al, al
je 0x409b27
push 0x1000
call fcn.00447d93
add esp, 4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov esi, dword [ebp - 0x28]
test eax, eax
je 0x409b08
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x409b6c
cmp eax, 0x1000
jbe 0x40994d
push dword [ebp - 0x2c]
call fcn.00447d78
push dword [ebp - 0x44]
call fcn.00447d93
mov dword [ebp - 0x2c], eax
add esp, 8
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x54]
push ecx
push eax
mov eax, dword [ebp - 0x48]
push dword [ebp - 0x2c]
push dword [eax + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x409b08
mov edx, dword [ebp - 0x3c]
mov eax, edi
mov ecx, dword [ebp - 0x54]
sub eax, edx
mov dword [ebp - 0x30], ecx
cmp ecx, eax
ja 0x4099b1
lea eax, [ecx + edx]
cmp edi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, esi
push ecx
push dword [ebp - 0x2c]
lea esi, [eax + edx]
push esi
call fcn.00444600
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov byte [esi + eax], 0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
jmp 0x409aed
mov eax, closesocket
mov dword [ebp - 0x38], edx
sub eax, edx
cmp eax, ecx
jb 0x409b83
lea eax, [ecx + edx]
mov esi, edi
mov edi, eax
mov dword [ebp - 0x3c], eax
or edi, 0xf
mov dword [ebp - 0x40], esi
cmp edi, 0x7fffffff
jbe 0x4099e5
mov edi, closesocket
lea eax, [edi + 0x24]
jmp 0x409a1d
shr esi, 1
mov eax, closesocket
sub eax, esi
cmp dword [ebp - 0x40], eax
jbe 0x4099fd
mov edi, closesocket
lea eax, [edi + 0x24]
jmp 0x409a1d
mov eax, dword [ebp - 0x40]
add eax, esi
cmp edi, eax
cmovb edi, eax
lea esi, [edi + 1]
cmp esi, 0x1000
jb 0x409a3f
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x409b79
push eax
call fcn.00439065
add esp, 4
test eax, eax
je 0x409b7e
mov ecx, dword [ebp - 0x30]
lea esi, [eax + 0x23]
mov edx, dword [ebp - 0x38]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x409a58
test esi, esi
je 0x409a56
push esi
call fcn.00439065
mov ecx, dword [ebp - 0x30]
add esp, 4
mov edx, dword [ebp - 0x38]
mov esi, eax
jmp 0x409a58
xor esi, esi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
lea eax, [edx + esi]
mov dword [ebp - 0x38], eax
lea eax, [ecx + edx]
add eax, esi
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0x4c], eax
push edx
jb 0x409ac8
push dword [ebp - 0x34]
push esi
call fcn.00444600
mov eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
call fcn.00444600
mov eax, dword [ebp - 0x4c]
add esp, 0x18
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
inc edx
mov byte [eax], 0
mov eax, ecx
cmp edx, 0x1000
jb 0x409abc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409b7e
push edx
push ecx
call fcn.00439095
add esp, 8
jmp 0x409aea
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00444600
mov eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
call fcn.00444600
mov eax, dword [ebp - 0x4c]
add esp, 0x18
mov byte [eax], 0
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], esi
push eax
mov eax, dword [ebp - 0x48]
push dword [eax + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x409922
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00447d78
add esp, 4
mov dword [ebp - 0x18], 0
cmp edi, 0x10
lea eax, [ebp - 0x28]
cmovae eax, esi
mov byte [eax], 0
mov eax, dword [ebp - 0x50]
movups xmm0, xmmword [ebp - 0x28]
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004390b1
mov esp, ebp
pop ebp
ret 0x18
push dword [ebp - 0x2c]
call fcn.00447d78
add esp, 4
jmp 0x409b27
call fcn.00405680
call fcn.004480ba
call fcn.00405500
int3