Function at 0x40ace0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c625e
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4fa534]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x9c], edi
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xac], esi
mov dword [ebp - 0x94], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x40], al
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x90], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ad75
sub ecx, dword [ebp - 0x90]
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00406f50
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00406250
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40add3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40adc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b158
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
test edx, edx
jne 0x40adf3
xor ecx, ecx
jmp 0x40ae6c
mov ecx, edx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x94], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ae17
sub ecx, dword [ebp - 0x94]
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00406f50
mov byte [ebp - 4], 4
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xa8], 1
call fcn.00406250
mov ecx, eax
mov dword [ebp - 4], 5
mov eax, 3
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa8], eax
jb 0x40ae6c
mov ecx, dword [ecx]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push 1
cmovae eax, dword [ebp - 0x70]
push ecx
push ecx
push dword [ebp - 0xa4]
mov ecx, edi
push dword [ebp + 0x10]
push eax
call fcn.0040c590
test al, al
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x98]
sete byte [ebp - 0x89]
test al, 2
je 0x40af09
mov edx, dword [ebp - 0x74]
and eax, 0xfffffffd
mov dword [ebp - 0x98], eax
cmp edx, 8
jb 0x40aef2
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aee2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b15d
push edx
push ecx
call fcn.0043c464
mov eax, dword [ebp - 0x98]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], cx
mov dword [ebp - 4], 3
test al, 1
je 0x40af48
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x40af48
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40af3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b15d
push edx
push ecx
call fcn.0043c464
add esp, 8
cmp byte [ebp - 0x89], 0
je 0x40afb3
movups xmm0, xmmword [ebp - 0x28]
mov edx, dword [ebp - 0x5c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
cmp edx, 8
jb 0x40b139
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b12f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b162
jmp 0x40b12f
push 0x1000
call fcn.00470500
add esp, 4
mov edi, eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x9c]
push dword [eax + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x40b0ad
xor esi, esi
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x40b11e
cmp eax, 0x1000
jbe 0x40b013
push edi
call fcn.004704e5
push dword [ebp - 0x90]
call fcn.00470500
mov edi, eax
add esp, 8
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0xac]
push ecx
push eax
mov eax, dword [ebp - 0x9c]
push edi
push dword [eax + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x40b0a7
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0xac]
sub eax, esi
mov dword [ebp - 0xa4], ecx
push ecx
push edi
cmp ecx, eax
ja 0x40b06f
lea eax, [esi + ecx]
cmp edx, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
add esi, eax
push esi
call fcn.00464650
mov eax, dword [ebp - 0xa4]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x40b085
mov byte [ebp - 0x94], 0
push dword [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404a40
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x9c]
push dword [eax + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x40b0a7
mov esi, dword [ebp - 0x18]
jmp 0x40afe2
mov esi, dword [ebp - 0xa0]
push edi
call fcn.004704e5
add esp, 4
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
movups xmm0, xmmword [ebp - 0x28]
mov edx, dword [ebp - 0x5c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
cmp edx, 8
jb 0x40b139
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b12f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b167
jmp 0x40b12f
push edi
call fcn.004704e5
mov esi, dword [ebp - 0xa0]
add esp, 4
jmp 0x40b0cb
push edx
push ecx
call fcn.0043c464
add esp, 8
mov eax, esi
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.0043c480
mov esp, ebp
pop ebp
ret 0x18
call fcn.00470977
call fcn.00470977
call fcn.00470977
call fcn.00470977
int3