Function at 0x1000a36d
Capabilities:
Resolve dns

Disassembly:
push ebp
sub esp, 0x5c
mov eax, 0x100877e4
call fcn.10062ce0
mov eax, 0x1124
call fcn.10062ed0
push ebx
push esi
push edi
lea eax, [ebp + 0x78]
mov ebx, ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100096a6
pop ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10001da8
add esp, 0xc
lea ecx, [ebx + 2]
push str.http
call fcn.1000746a
test al, al
je 0x1000b0c5
push 8
xor eax, eax
lea edi, [ebp - 0x118]
pop ecx
rep stosd dword es:[edi], eax
movzx eax, byte [ebx + 1]
push eax
call fcn.10009343
mov dword [ebp - 0x114], eax
xor eax, eax
inc eax
mov dword [ebp - 0x110], eax
lea eax, [ebx + 0x4a]
cmp dword [eax + 0x14], 0x10
pop ecx
jb 0x1000a3ef
mov eax, dword [eax]
lea esi, [ebx + 0x32]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1000a3fc
mov ecx, dword [esi]
lea edx, [ebp - 0x70]
push edx
lea edx, [ebp - 0x118]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1000a44e
push esi
lea eax, [ebp - 0xd4]
push str.Failed_to_get_address_info_of
push eax
call fcn.10001d60
add esp, 0xc
and dword [ebp - 4], 0
push eax
call fcn.1000b616
push eax
call sub.WS2_32.dll_WSAGetLastError
push eax
lea ecx, [ebp - 0x4c]
call fcn.100039ba
push 0x100b34e0
lea eax, [ebp - 0x4c]
jmp 0x1000b0da
mov eax, dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x84], eax
xor eax, eax
inc eax
push 0x1008a790
push dword [ebp + 0x6c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x130]
push eax
call fcn.10001d14
lea ecx, [ebx + 0x62]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10001cdc
add esp, 0x18
push 0xb
push str._HTTP_1.1_r_n
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10007c3a
push eax
lea ecx, [ebp - 0x6c]
call fcn.10002ddd
lea ecx, [ebp - 0x24]
call fcn.10007b04
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call fcn.10007b04
mov eax, dword [ebp + 0x74]
mov esi, dword [eax]
mov edi, dword [eax + 4]
jmp 0x1000a50b
push 0x1008a794
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.10001d14
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 7
jb 0x1000a4f0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.10007c3a
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 6
call fcn.10007b04
add esi, 0x18
cmp esi, edi
jne 0x1000a4d0
mov esi, dword [ebp + 0x70]
mov eax, dword [esi + 4]
sub eax, dword [esi]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.10002805
lea eax, [ebx + 0x1a]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xd4]
push str.Host:
push eax
call fcn.10001d60
add esp, 0x14
push 0x12
push str._r_nContent_Length:
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.10007c3a
push eax
lea ecx, [ebp + 0x20]
call fcn.10002ddd
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp + 0x20]
push eax
push dword [ebp + 0x68]
lea ecx, [ebp + 4]
call fcn.10002e6d
push 4
push str._r_n_r_n
lea ecx, [ebp + 4]
mov byte [ebp - 4], 0xb
call fcn.10007c3a
push eax
lea ecx, [ebp + 0x38]
call fcn.10002ddd
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
lea ecx, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0xc
call fcn.10007c3a
lea ecx, [ebp + 0x38]
call fcn.10007b04
lea ecx, [ebp + 4]
call fcn.10007b04
lea ecx, [ebp + 0x20]
call fcn.10007b04
lea ecx, [ebp - 0xd4]
call fcn.10007b04
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.10007b04
cmp dword [ebp - 0x58], 0x10
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x6c]
push dword [ebp + 0x68]
add eax, ecx
cmp dword [ebp - 0x58], 0x10
lea ecx, [ebp - 0x6c]
cmovae ecx, dword [ebp - 0x6c]
xor edx, edx
push eax
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
call fcn.10002417
push dword [ebp + 0x68]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
push dword [esi + 4]
push dword [esi]
push dword [ebp - 0x40]
call fcn.10002167
movzx eax, byte [ebx + 1]
lea ecx, [ebp + 0x54]
push eax
call fcn.1000358d
xor ebx, ebx
mov byte [ebp - 4], 0xe
cmp dword [ebp + 0x7c], ebx
jl 0x1000a64d
jg 0x1000a63e
cmp dword [ebp + 0x78], ebx
jb 0x1000a64d
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.1000937f
pop ecx
pop ecx
jmp 0x1000a652
or eax, 0xffffffff
or edx, eax
push edx
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp + 0x54]
push dword [eax + 0x10]
push dword [eax + 0x18]
call fcn.10008ea8
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
sub esi, eax
je 0x1000a6a3
mov edi, eax
cmp dword [ebp + 0x7c], ebx
jl 0x1000a68c
jg 0x1000a67d
cmp dword [ebp + 0x78], ebx
jb 0x1000a68c
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.1000937f
pop ecx
pop ecx
jmp 0x1000a691
or eax, 0xffffffff
or edx, eax
push edx
push eax
push esi
push edi
lea ecx, [ebp + 0x54]
call fcn.1000b0e1
add edi, eax
sub esi, eax
jne 0x1000a671
lea ecx, [ebp - 0xbc]
mov word [ebp + 0x5c], 0xa0d
call fcn.10003511
xor ebx, ebx
xor edi, edi
and dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
xor esi, esi
mov byte [ebp - 4], 0x10
and dword [ebp - 0x54], esi
and dword [ebp], esi
xor al, al
mov dword [ebp + 0x50], esi
mov byte [ebp + 0x77], bl
mov byte [ebp + 0x6f], bl
mov dword [ebp + 0x1c], eax
jmp 0x1000a6e0
mov esi, dword [ebp + 0x50]
cmp dword [ebp + 0x7c], 0
jl 0x1000a6fd
jg 0x1000a6ee
cmp dword [ebp + 0x78], 0
jb 0x1000a6fd
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.1000937f
pop ecx
pop ecx
jmp 0x1000a702
or eax, 0xffffffff
or edx, eax
push edx
push eax
push 0x1000
lea eax, [ebp - 0x1130]
push eax
lea ecx, [ebp + 0x54]
call fcn.10009a2b
test eax, eax
je 0x1000b001
push dword [ebp + 0x68]
lea ecx, [ebp - 0x1130]
add eax, ecx
push eax
mov eax, ecx
lea ecx, [ebp - 0x18]
push eax
push edi
call fcn.10002167
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
cmp esi, 2
je 0x1000ab8a
lea eax, [ebp + 0x5e]
push eax
lea eax, [ebp + 0x5c]
push eax
push edi
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.10002967
mov esi, dword [ebp - 0x38]
add esp, 0x14
cmp esi, edi
je 0x1000ab7b
lea eax, [ebp + 0x20]
mov dword [ebp - 0xf8], eax
xor eax, eax
mov dword [ebp + 0x34], 0xf
mov dword [ebp + 0x20], eax
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x30], eax
mov byte [ebp + 0x20], al
mov eax, esi
sub eax, ebx
push eax
call fcn.10009a93
mov edi, ebx
mov byte [ebp - 4], 0x12
jmp 0x1000a7a5
movzx eax, byte [edi]
lea ecx, [ebp + 0x20]
push eax
call fcn.100099ef
inc edi
cmp edi, esi
jne 0x1000a798
add esi, 2
mov byte [ebp - 4], 0x13
push esi
push ebx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x18]
call fcn.100091ac
mov esi, dword [ebp + 0x30]
test esi, esi
je 0x1000ac63
mov eax, dword [ebp + 0x50]
test eax, eax
jne 0x1000a8d6
mov ebx, dword [ebp + 0x34]
lea ecx, [ebp + 0x20]
mov edi, dword [ebp + 0x20]
lea edx, [ebp + 0x73]
inc eax
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
cmp ebx, 0x10
mov dword [ebp + 0x50], eax
push edx
cmovae ecx, edi
mov byte [ebp + 0x73], 0x20
add ecx, esi
lea eax, [ebp + 0x20]
cmp ebx, 0x10
push ecx
cmovae eax, edi
push eax
call fcn.10002126
add esp, 0x10
lea ecx, [ebp + 0x20]
cmp ebx, 0x10
cmovae ecx, edi
add ecx, esi
cmp eax, ecx
je 0x1000ab1e
lea esi, [eax + 1]
mov byte [ebp + 0x73], 0x20
cmp ebx, 0x10
lea eax, [ebp + 0x20]
lea ecx, [ebp + 0x73]
cmovae eax, edi
xor ebx, ebx
add eax, dword [ebp + 0x30]
mov byte [ebp - 0x78], bl
push dword [ebp - 0x78]
push ecx
push eax
push esi
call fcn.10002126
add esp, 0x10
lea ecx, [ebp + 0x38]
mov edi, eax
lea eax, [ebp + 0x73]
push eax
push edi
push esi
call fcn.1000190d
push 0xa
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 0x14
push ebx
push eax
call fcn.1000b52a
mov edx, dword [ebp + 0x30]
add esp, 0xc
cmp dword [ebp + 0x34], 0x10
mov dword [ebp - 0xbc], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
add eax, edx
cmp edi, eax
je 0x1000a8c9
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
lea ecx, [edi + 1]
cmovae eax, dword [ebp + 0x20]
add eax, edx
lea edx, [ebp + 0x73]
push edx
push eax
push ecx
lea ecx, [ebp - 0xd4]
call fcn.1000190d
lea ecx, [ebp - 0xb8]
cmp ecx, eax
je 0x1000a8be
mov byte [ebp - 0x7c], bl
push dword [ebp - 0x7c]
push eax
call fcn.1000792a
lea ecx, [ebp - 0xd4]
call fcn.10007b04
lea ecx, [ebp + 0x38]
call fcn.10007b04
jmp 0x1000ab18
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x1000ab18
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0xa0]
call fcn.100028d6
cmp dword [ebp + 0x34], 0x10
lea edi, [ebp + 0x20]
mov ebx, dword [ebp + 0x30]
cmovae edi, dword [ebp + 0x20]
test ebx, ebx
je 0x1000a918
push ebx
push 0x3a
push edi
call fcn.10065be0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1000a918
sub esi, edi
jmp 0x1000a91b
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x1000aee9
xor eax, eax
mov ecx, esi
push 0xf
pop edi
cmp ebx, esi
mov dword [ebp + 0x38], eax
push 0x10
cmovb ecx, ebx
mov dword [ebp + 0x48], eax
pop ebx
cmp dword [ebp + 0x34], ebx
mov byte [ebp + 0x38], al
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push ecx
push eax
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x4c], edi
call fcn.10007cee
cmp dword [ebp + 0x4c], ebx
lea ecx, [ebp + 0x38]
push dword [ebp + 0x68]
cmovae ecx, dword [ebp + 0x38]
lea edx, [ebp + 0x38]
cmovae edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x48]
add eax, ecx
mov byte [ebp - 4], 0x16
cmp dword [ebp + 0x4c], ebx
lea ecx, [ebp + 0x38]
push edx
cmovae ecx, dword [ebp + 0x38]
push eax
push ecx
lea eax, [ebp + 0x70]
push eax
call fcn.100029d4
xor eax, eax
mov dword [ebp + 0x18], edi
add esp, 0x14
mov dword [ebp + 4], eax
mov dword [ebp + 0x14], eax
lea ecx, [ebp + 4]
mov byte [ebp + 4], al
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.10007c93
cmp dword [ebp + 0x18], ebx
lea ecx, [ebp + 4]
mov eax, dword [ebp + 0x14]
cmovae ecx, dword [ebp + 4]
push dword [ebp + 0x68]
add eax, ecx
mov byte [ebp - 4], 0x17
cmp dword [ebp + 0x18], ebx
lea ecx, [ebp + 4]
push eax
cmovae ecx, dword [ebp + 4]
lea eax, [ebp - 0xdc]
push ecx
push eax
call fcn.100028fe
add esp, 0x10
lea ecx, [ebp + 4]
cmp dword [ebp + 0x18], ebx
cmovae ecx, dword [ebp + 4]
push dword [eax]
lea eax, [ebp - 0xe0]
push ecx
push eax
lea ecx, [ebp + 4]
call fcn.1000914e
cmp dword [ebp + 0x18], ebx
lea esi, [ebp + 4]
cmovae esi, dword [ebp + 4]
add esi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], ebx
lea edx, [ebp + 4]
push dword [ebp + 0x68]
cmovae edx, dword [ebp + 4]
lea eax, [ebp + 4]
cmovae eax, dword [ebp + 4]
add eax, dword [ebp + 0x14]
push edx
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.1000291c
add esp, 0x10
lea ecx, [ebp + 4]
push esi
push dword [eax]
lea eax, [ebp - 0xe8]
push eax
call fcn.1000914e
mov ebx, dword [ebp + 0x4c]
lea eax, [ebp + 0x38]
mov edi, dword [ebp + 0x38]
cmp ebx, 0x10
cmovae eax, edi
cmp dword [ebp + 0x48], 0xe
jne 0x1000ac00
push 0xe
push str.content_length
push eax
call fcn.10065c8d
add esp, 0xc
test eax, eax
jne 0x1000ac00
push 0xa
push eax
lea eax, [ebp + 4]
push eax
call fcn.1000b589
xor ecx, ecx
mov dword [ebp - 0x54], eax
add esp, 0xc
inc ecx
mov byte [ebp + 0x77], cl
lea ecx, [ebp - 0x94]
push eax
call fcn.10009ad5
mov ebx, dword [ebp + 0x4c]
mov edi, dword [ebp + 0x38]
mov esi, dword [ebp + 0x18]
cmp esi, 0x10
jb 0x1000aad6
mov eax, dword [ebp + 4]
inc esi
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x58], eax
cmp esi, 0x1000
jb 0x1000aac7
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.100071d7
mov esi, dword [ebp + 0x70]
mov eax, dword [ebp + 0x58]
pop ecx
pop ecx
push esi
push eax
call fcn.10062ac3
mov ebx, dword [ebp + 0x4c]
mov edi, dword [ebp + 0x38]
pop ecx
pop ecx
and dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0xf
mov byte [ebp + 4], 0
cmp ebx, 0x10
jb 0x1000ab18
lea eax, [ebx + 1]
mov dword [ebp + 0x58], edi
mov dword [ebp + 0x70], eax
cmp eax, 0x1000
jb 0x1000ab0f
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.100071d7
mov eax, dword [ebp + 0x70]
mov edi, dword [ebp + 0x58]
pop ecx
pop ecx
push eax
push edi
call fcn.10062ac3
pop ecx
pop ecx
mov ebx, dword [ebp + 0x34]
mov edi, dword [ebp + 0x20]
mov byte [ebp - 4], 0x10
cmp ebx, 0x10
jb 0x1000ab54
inc ebx
mov dword [ebp + 0x58], edi
mov dword [ebp + 0x70], ebx
cmp ebx, 0x1000
jb 0x1000ab4b
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.100071d7
mov ebx, dword [ebp + 0x70]
mov edi, dword [ebp + 0x58]
pop ecx
pop ecx
push ebx
push edi
call fcn.10062ac3
pop ecx
pop ecx
mov edi, dword [ebp - 0x14]
lea eax, [ebp + 0x5e]
mov ebx, dword [ebp - 0x18]
push eax
lea eax, [ebp + 0x5c]
push eax
push edi
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.10002967
mov esi, dword [ebp - 0x38]
add esp, 0x14
cmp esi, edi
jne 0x1000a771
mov esi, dword [ebp + 0x50]
mov dword [ebp + 0x50], esi
cmp esi, 2
jne 0x1000a6e0
cmp byte [ebp + 0x6f], 0
je 0x1000add4
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x1c]
test ecx, ecx
je 0x1000acaf
push dword [ebp + 0x68]
sub edi, ebx
mov dword [ebp + 0x70], edi
mov edi, ecx
cmp dword [ebp + 0x70], ecx
lea ecx, [ebp - 0x94]
cmovb edi, dword [ebp + 0x70]
lea esi, [ebx + edi]
push esi
push ebx
push dword [ebp - 0x90]
call fcn.10002167
push esi
push ebx
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x18]
call fcn.100091ac
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x1c]
sub ecx, edi
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
push 1
movzx eax, al
pop edx
cmove eax, edx
mov dword [ebp], ecx
mov dword [ebp + 0x1c], eax
cmp ebx, edi
jne 0x1000ab9a
jmp 0x1000a6dd
cmp ebx, 0x10
lea eax, [ebp + 0x38]
cmovae eax, edi
cmp dword [ebp + 0x48], 0x11
jne 0x1000aa98
push 0x11
push str.transfer_encoding
push eax
call fcn.10065c8d
add esp, 0xc
test eax, eax
jne 0x1000aa98
mov esi, dword [ebp + 0x18]
lea eax, [ebp + 4]
cmp esi, 0x10
cmovae eax, dword [ebp + 4]
cmp dword [ebp + 0x14], 7
jne 0x1000aeb7
push 7
push str.chunked
push eax
call fcn.10065c8d
add esp, 0xc
test eax, eax
jne 0x1000aeb7
inc eax
mov byte [ebp + 0x6f], al
jmp 0x1000aa9b
mov eax, dword [ebp + 0x34]
mov byte [ebp - 4], 0x10
push 2
pop esi
mov dword [ebp + 0x50], esi
cmp eax, 0x10
jb 0x1000aca4
mov ecx, dword [ebp + 0x20]
inc eax
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x58], ecx
cmp eax, 0x1000
jb 0x1000ac9b
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.100071d7
mov eax, dword [ebp + 0x70]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x58]
push eax
push ecx
call fcn.10062ac3
pop ecx
pop ecx
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
jmp 0x1000ab8a
test al, al
je 0x1000acf6
mov esi, dword [ebp + 0x50]
mov eax, edi
sub eax, ebx
cmp eax, 2
jb 0x1000a6e0
lea eax, [ebp + 0x5c]
mov ax, word [eax]
cmp ax, word [ebx]
sete al
test al, al
je 0x1000af07
xor al, al
lea ecx, [ebp - 0x18]
mov dword [ebp + 0x1c], eax
lea eax, [ebx + 2]
push eax
push ebx
lea eax, [ebp - 0xf0]
push eax
call fcn.100091ac
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
lea eax, [ebp + 0x5e]
push eax
lea eax, [ebp + 0x5c]
push eax
push edi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.10002967
mov esi, dword [ebp - 0x80]
add esp, 0x14
cmp esi, edi
je 0x1000a6dd
xor eax, eax
mov dword [ebp + 0x4c], 0xf
mov dword [ebp + 0x38], eax
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x48], eax
mov byte [ebp + 0x38], al
mov eax, esi
sub eax, ebx
push eax
call fcn.10009a93
lea eax, [ebp + 0x38]
mov edi, ebx
mov dword [ebp + 0x70], eax
mov byte [ebp - 4], 0x19
jmp 0x1000ad51
movzx eax, byte [edi]
lea ecx, [ebp + 0x38]
push eax
call fcn.100099ef
inc edi
cmp edi, esi
jne 0x1000ad44
add esi, 2
mov byte [ebp - 4], 0x1a
push esi
push ebx
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x18]
call fcn.100091ac
push 0x10
xor ebx, ebx
lea eax, [ebp + 0x38]
push ebx
push eax
call fcn.1000b589
mov ecx, eax
add esp, 0xc
mov dword [ebp], ecx
test ecx, ecx
je 0x1000af16
mov eax, dword [ebp + 0x4c]
mov byte [ebp - 4], 0x10
cmp eax, 0x10
jb 0x1000adc9
mov ecx, dword [ebp + 0x38]
inc eax
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x58], ecx
cmp eax, 0x1000
jb 0x1000adbd
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.100071d7
mov eax, dword [ebp + 0x70]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x58]
push eax
push ecx
call fcn.10062ac3
pop ecx
pop ecx
mov ecx, dword [ebp]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
jmp 0x1000ab97
push dword [ebp + 0x68]
lea ecx, [ebp - 0x94]
push edi
push ebx
push dword [ebp - 0x90]
call fcn.10002167
cmp byte [ebp + 0x77], 0
mov edi, ebx
mov dword [ebp - 0x14], edi
je 0x1000a6dd
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x54]
jb 0x1000a6e0
mov ecx, dword [ebp + 0x68]
lea eax, [ebp - 0xbc]
push eax
call fcn.100034da
test ebx, ebx
je 0x1000ae51
mov eax, dword [ebp - 0x10]
sub eax, ebx
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x6c], eax
cmp eax, 0x1000
jb 0x1000ae48
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x74]
push eax
call fcn.100071d7
mov eax, dword [ebp + 0x6c]
mov ebx, dword [ebp + 0x74]
pop ecx
pop ecx
push eax
push ebx
call fcn.10062ac3
pop ecx
pop ecx
lea ecx, [ebp - 0xbc]
call fcn.10003d4b
cmp dword [ebp + 0x54], 0xffffffff
je 0x1000ae6b
push dword [ebp + 0x54]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1000aea3
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x6c], ecx
cmp ecx, 0x1000
jb 0x1000ae9a
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x74]
push eax
call fcn.100071d7
mov eax, dword [ebp + 0x74]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x6c]
push ecx
push eax
call fcn.10062ac3
pop ecx
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.10007b04
mov dword [ebp - 4], 0x1c
jmp 0x1000b0a5
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0xd4]
push str.Unsupported_transfer_encoding:
push eax
call fcn.10001d60
add esp, 0xc
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x34]
call fcn.1000354f
push 0x100b35f4
lea eax, [ebp - 0x34]
jmp 0x1000b0da
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0xd4]
push str.Invalid_header:
push eax
call fcn.10001d60
add esp, 0xc
mov byte [ebp - 4], 0x15
jmp 0x1000aed3
push str.Invalid_chunk
lea ecx, [ebp - 0x34]
call fcn.1000356e
jmp 0x1000aedc
mov ecx, dword [ebp + 0x68]
lea eax, [ebp - 0xbc]
push eax
call fcn.100034da
mov eax, dword [ebp + 0x4c]
mov esi, 0x1000
cmp eax, 0x10
jb 0x1000af5e
mov ecx, dword [ebp + 0x38]
inc eax
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x74], ecx
cmp eax, esi
jb 0x1000af55
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x74]
push eax
call fcn.100071d7
mov eax, dword [ebp + 0x6c]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x74]
push eax
push ecx
call fcn.10062ac3
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], bl
test ecx, ecx
je 0x1000af9f
mov eax, dword [ebp - 0x10]
sub eax, ecx
mov dword [ebp + 0x74], ecx
mov dword [ebp + 0x6c], eax
cmp eax, esi
jb 0x1000af96
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x74]
push eax
call fcn.100071d7
mov eax, dword [ebp + 0x6c]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x74]
push eax
push ecx
call fcn.10062ac3
pop ecx
pop ecx
lea ecx, [ebp - 0xbc]
call fcn.10003d4b
cmp dword [ebp + 0x54], 0xffffffff
je 0x1000afb9
push dword [ebp + 0x54]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1000afed
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x6c], ecx
cmp ecx, esi
jb 0x1000afe4
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x74]
push eax
call fcn.100071d7
mov eax, dword [ebp + 0x74]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x6c]
push ecx
push eax
call fcn.10062ac3
pop ecx
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.10007b04
mov dword [ebp - 4], 0x1b
jmp 0x1000b0a5
mov ecx, dword [ebp + 0x68]
lea eax, [ebp - 0xbc]
push eax
call fcn.100034da
test ebx, ebx
je 0x1000b044
mov eax, dword [ebp - 0x10]
sub eax, ebx
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x6c], eax
cmp eax, 0x1000
jb 0x1000b03b
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x74]
push eax
call fcn.100071d7
mov eax, dword [ebp + 0x6c]
mov ebx, dword [ebp + 0x74]
pop ecx
pop ecx
push eax
push ebx
call fcn.10062ac3
pop ecx
pop ecx
lea ecx, [ebp - 0xbc]
call fcn.10003d4b
cmp dword [ebp + 0x54], 0xffffffff
je 0x1000b05e
push dword [ebp + 0x54]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1000b096
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x6c], ecx
cmp ecx, 0x1000
jb 0x1000b08d
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x74]
push eax
call fcn.100071d7
mov eax, dword [ebp + 0x74]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x6c]
push ecx
push eax
call fcn.10062ac3
pop ecx
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.10007b04
mov dword [ebp - 4], 0x11
push dword [ebp - 0x28]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x68]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x60
leave
ret 0x18
push str.Only_HTTP_scheme_is_supported
lea ecx, [ebp - 0x44]
call fcn.100034bb
push 0x100b359c
lea eax, [ebp - 0x44]
push eax
call fcn.100657bc
int3