Function at 0x42a6f0
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490d1d
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x4c7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x2c]
mov ebx, dword [ebp + 8]
push eax
mov dword [ebp - 0xcc], ebx
call fcn.00409ab0
lea eax, [ebp - 0xb0]
mov dword [edi + 0x30], 1
push eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 4
push eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xb0], 0
push eax
push 0x20000013
push ebx
mov dword [ebp - 0xd0], 0
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0xb0], 0
test eax, eax
je 0x42a792
mov eax, dword [ebp - 0xd0]
mov dword [edi + 8], eax
mov dword [ebp - 0xb4], 0x3fff
mov dword [ebp - 0xc8], vtable.pcutil::CAutoBuffer.0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
push 0x4000
call fcn.0042d100
mov esi, dword [ebp - 0xc0]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
push 5
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0xb0], 0
test eax, eax
je 0x42a813
push esi
call fcn.0046e2da
add esp, 4
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], 1
push dword [ebp - 0xc4]
mov dword [ebp - 0xb0], 0
push 0
push esi
mov dword [ebp - 0xb4], 0x3fff
call fcn.004640b0
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
push 0x35
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x42a901
push esi
lea ecx, [ebp - 0xb8]
call fcn.00408c40
mov byte [ebp - 4], 1
push 0x2f
push dword [ebp - 0xb8]
call fcn.00463cb1
add esp, 8
test eax, eax
jne 0x42a881
or eax, 0xffffffff
jmp 0x42a889
sub eax, dword [ebp - 0xb8]
sar eax, 1
inc eax
lea ecx, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.0041ead0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
push eax
call fcn.00409ab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.00408c20
mov eax, dword [ebp - 0xb8]
cmp dword [eax - 4], 1
jle 0x42a8dc
push dword [eax - 0xc]
lea ecx, [ebp - 0xb8]
call fcn.004098d0
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0046e2da
add esp, 4
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
mov dword [edi + 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.00408c20
push dword [ebp - 0xc4]
mov dword [ebp - 0xb0], 0
push 0
push esi
mov dword [ebp - 0xb4], 0x3fff
call fcn.004640b0
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
push 0x2b
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x42ab16
push 3
lea eax, [ebp - 0xa8]
push esi
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xac], eax
call fcn.00409b20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push dword [ebp - 0xac]
call fcn.004088d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa8]
mov eax, dword [ebp - 0xac]
cmp eax, ecx
je 0x42a98f
push eax
call fcn.004671f7
add esp, 4
lea ecx, [ebp - 0xf0]
call fcn.00408d30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xec]
call fcn.00408d30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.00408d30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe4]
call fcn.00408d30
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe0]
call fcn.00408d30
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xdc]
call fcn.00408d30
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd8]
call fcn.00408d30
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd4]
call fcn.00408d30
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00429ac0
test eax, eax
je 0x42aa2a
lea eax, [ebp - 0xf0]
push eax
lea ecx, [edi + 0x20]
call fcn.0042b000
cmp dword [ebp - 0xb0], 0x2f76
je 0x42aafb
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xd4]
call fcn.00408c20
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xd8]
call fcn.00408c20
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xdc]
call fcn.00408c20
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xe0]
call fcn.00408c20
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xe4]
call fcn.00408c20
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xe8]
call fcn.00408c20
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xec]
call fcn.00408c20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf0]
call fcn.00408c20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408790
push dword [ebp - 0xc4]
mov dword [ebp - 0xb4], 0x3fff
push 0
push esi
call fcn.004640b0
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
push 0x2b
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x42a946
jmp 0x42ab16
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf0]
call fcn.0042ae60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408790
push dword [ebp - 0xc4]
mov dword [ebp - 0xb0], 0
push 0
push esi
mov dword [ebp - 0xb4], 0x3fff
call fcn.004640b0
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
push 0x21
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x42ab8d
test esi, esi
jne 0x42ab5f
xor ecx, ecx
jmp 0x42ab83
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0xbc], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ab70
sub ecx, dword [ebp - 0xbc]
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x34]
call fcn.0040a2a0
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
push 0x1d
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x42abdd
test esi, esi
jne 0x42abb1
xor ecx, ecx
jmp 0x42abd3
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0xbc], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42abc0
sub ecx, dword [ebp - 0xbc]
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x48]
call fcn.0040a2a0
push dword [ebp - 0xc4]
mov dword [ebp - 0xb0], 0
push 0
push esi
mov dword [ebp - 0xb4], 0x3fff
call fcn.004640b0
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
push 0x2e
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x42ad0f
push esi
lea ecx, [ebp - 0xb8]
call fcn.00408c40
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xb8]
call fcn.00416b70
mov ecx, eax
call fcn.00416ac0
mov eax, dword [ebp - 0xb8]
cmp dword [eax - 0xc], 0
je 0x42ad00
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xbc]
push 0x4a68b0
call fcn.00408c40
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0xb8]
call fcn.0041db60
add esp, 8
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xbc]
call fcn.00408c20
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x42acee
mov ecx, eax
mov dword [edi + 0x40], 1
call fcn.00416b70
mov ecx, eax
call fcn.00416ac0
push dword [eax]
call fcn.0046e304
add esp, 4
mov dword [edi + 0x38], eax
cmp ebx, 1
jbe 0x42acee
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 0x3c]
add eax, 4
push eax
call fcn.00409ab0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1c]
call fcn.0040eb60
mov ebx, dword [ebp - 0xcc]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.00408c20
push dword [ebp - 0xc4]
mov dword [ebp - 0xb0], 0
push 0
push esi
mov dword [ebp - 0xb4], 0x3fff
call fcn.004640b0
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
push 1
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x42ad97
test esi, esi
jne 0x42ad58
xor ecx, ecx
jmp 0x42ad76
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0xcc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ad63
sub ecx, dword [ebp - 0xcc]
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x44]
call fcn.0040a2a0
lea ecx, [edi + 0x44]
call fcn.00416b70
mov ecx, eax
call fcn.00416ac0
lea ecx, [edi + 0x44]
call fcn.0040ef90
push dword [ebp - 0xc4]
mov dword [ebp - 0xb0], 0
push 0
push esi
mov dword [ebp - 0xb4], 0x3fff
call fcn.004640b0
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
push 0x2f
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x42ae0d
test esi, esi
jne 0x42ade0
xor ecx, ecx
jmp 0x42adf4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ade5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x4c]
call fcn.0040a2a0
lea ecx, [edi + 0x4c]
call fcn.00416b70
mov ecx, eax
call fcn.00416ac0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xc8], vtable.pcutil::CAutoBuffer.0
mov dword [ebp - 0xc4], 0
test esi, esi
je 0x42ae35
push esi
call fcn.0044bc91
add esp, 4
mov dword [ebp - 0xc0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b43a
mov esp, ebp
pop ebp
ret 8