Function at 0x42f6f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [esp + 0x98]
push esi
mov esi, dword [esp + 0x98]
push edi
xor edi, edi
mov dword [eax], edi
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx + 0x18]
xor eax, eax
mov dword [esp + 0x4c], edi
mov word [esp + 0x50], ax
mov byte [esp + 0x30], al
test ecx, ecx
je 0x42f762
mov edx, dword [ecx]
lea eax, [esp + 0x4c]
push eax
lea eax, [esi + 0x18]
push eax
call dword [edx + 4]
mov edi, eax
test edi, edi
je 0x42f744
cmp edi, 0xffffaebe
jne 0x42fcff
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x42f756
cmp dword [eax - 8], 0
je 0x42f756
xor eax, eax
jmp 0x42f75b
mov eax, 1
test al, al
sete byte [esp + 0x30]
push ebx
push ebp
push 0
push str.HTTP_1.1
lea ecx, [esi + 4]
mov dword [esp + 0x1c], 0
call fcn.004292f0
test eax, eax
movzx eax, byte [esp + 0x38]
sete byte [esp + 0x20]
xor ebp, ebp
xor ebx, ebx
xor esi, esi
neg eax
sbb eax, eax
lea ecx, [esp + 0x54]
and eax, ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa4]
add eax, 0x18
mov byte [esp + 0x30], 1
mov dword [esp + 0x4c], 0xa
mov dword [esp + 0x9c], eax
lea esp, [esp]
mov byte [esp + 0x13], 0
test esi, esi
je 0x42f7d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test ebx, ebx
je 0x42f7f2
dec dword [ebx]
jne 0x42f7f2
push ebx
call fcn.00447dbf
add esp, 4
test ebp, ebp
je 0x42f7ee
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov bl, 1
jmp 0x42f7f6
mov bl, byte [esp + 0x13]
test esi, esi
je 0x42f80d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test bl, bl
je 0x42f80d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov edx, dword [esp + 0x1c]
xor ebx, ebx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x14], ebx
mov eax, dword [ecx]
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x24]
mov ecx, dword [edx + 0x20]
push dword [esp + 0x9c]
xor ebp, ebp
push edx
push dword [esp + 0xac]
xor esi, esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
call dword [eax + 4]
test eax, eax
jne 0x42fcae
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
mov esi, dword [edx + 4]
mov dword [esp + 0x40], esi
mov ecx, dword [edx + 8]
mov dword [esp + 0x44], ecx
mov al, byte [edx + 0xc]
mov byte [esp + 0x48], al
test ecx, ecx
je 0x42f889
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
test esi, esi
je 0x42f893
inc dword [esi]
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x42f89c
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 4]
mov al, byte [eax + 0xc]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], esi
mov byte [esp + 0x78], al
test esi, esi
je 0x42f8d2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test ebx, ebx
je 0x42f8d8
inc dword [ebx]
test esi, esi
je 0x42f8e3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push dword [esp + 0x14]
lea ecx, [esp + 0x28]
call fcn.0042c250
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x24]
mov byte [esp + 0x13], al
test ebx, ebx
je 0x42f9b9
lea ecx, [esp + 0x7c]
call fcn.00438b30
lea ecx, [esp + 0x88]
mov dword [esp + 0x84], 0
call fcn.00438b30
lea ecx, [esp + 0x7c]
mov dword [esp + 0x90], 0
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0xc]
lea eax, [esp + 0x7c]
push eax
mov ecx, ebx
call fcn.00428fa0
mov eax, dword [esp + 0x80]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x84]
mov dword [ebx + 8], eax
lea eax, [esp + 0x88]
push eax
lea ecx, [ebx + 0xc]
call fcn.00428fa0
mov eax, dword [esp + 0x8c]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x42f9a5
add eax, 0xfffffff8
push eax
call fcn.00447dbf
add esp, 4
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x42f9b9
add eax, 0xfffffff8
push eax
call fcn.00447dbf
add esp, 4
mov esi, dword [esp + 0xa4]
xor ebx, ebx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x68], 1
cmp byte [esp + 0x13], bl
je 0x42fa25
test ecx, ecx
je 0x42fa25
lea eax, [esp + 0x5c]
push eax
call fcn.0042d3e0
mov ebx, dword [esp + 0x5c]
test eax, eax
jne 0x42fa25
mov eax, dword [ebx]
push 0
push 0
mov ecx, ebx
call dword [eax + 0x10]
test eax, eax
je 0x42fa25
lea ecx, [esp + 0x5c]
call fcn.00426db0
lea ecx, [esp + 0x6c]
call fcn.00426db0
lea ecx, [esp + 0x3c]
call fcn.00426db0
mov esi, dword [esp + 0x1c]
jmp 0x42fc1e
mov al, byte [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x34], al
mov eax, dword [ecx]
add esi, 8
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], esi
call eax
test al, al
jne 0x42fa49
mov byte [esp + 0x34], al
jmp 0x42faa5
cmp byte [esp + 0x20], 0
je 0x42faa5
mov esi, dword [esi + 4]
test esi, esi
je 0x42faa1
jmp 0x42fa60
mov ecx, dword [esi + 8]
push 1
push str.Connection
call fcn.004292f0
test eax, eax
je 0x42fa7b
mov esi, dword [esi]
test esi, esi
jne 0x42fa60
jmp 0x42faa1
mov eax, dword [esi + 8]
test eax, eax
je 0x42faa1
lea ecx, [eax + 4]
test ecx, ecx
je 0x42faa1
push 0
push str.close
call fcn.004292f0
neg eax
sbb al, al
and al, byte [esp + 0x20]
mov byte [esp + 0x34], al
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx + 0x14]
test edi, edi
je 0x42fb22
cmp dword [edi - 8], 0
je 0x42fb22
mov esi, dword [esi + 4]
test esi, esi
je 0x42fae1
lea ecx, [ecx]
mov ecx, dword [esi + 8]
push 1
push str.User_Agent
call fcn.004292f0
test eax, eax
je 0x42fadb
mov esi, dword [esi]
test esi, esi
jne 0x42fac0
jmp 0x42fae1
cmp dword [esi + 8], 0
jne 0x42fb22
push 8
call fcn.00447d70
mov esi, eax
add esp, 4
test esi, esi
je 0x42fb0c
push str.User_Agent
mov ecx, esi
call fcn.00428ee0
push edi
lea ecx, [esi + 4]
call fcn.00428ee0
mov dword [esp + 0x50], esi
jmp 0x42fb14
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x50]
push eax
call fcn.0043b320
push dword [esp + 0x38]
mov esi, dword [esp + 0x38]
push esi
push dword [esp + 0xac]
push dword [esp + 0xa4]
call fcn.00431aa0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x42fb99
cmp byte [esp + 0x13], 0
je 0x42fc47
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0x30], 0
jne 0x42fc47
test ebx, ebx
je 0x42fb79
mov eax, dword [ebx]
push 0
push 0
mov ecx, ebx
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jne 0x42fc37
lea ecx, [esp + 0x5c]
call fcn.00426db0
lea ecx, [esp + 0x6c]
call fcn.00426db0
lea ecx, [esp + 0x3c]
call fcn.00426db0
jmp 0x42fc1e
mov ecx, dword [esp + 0xa4]
push 0
push str.HEAD
lea ecx, [ecx + 0x40]
call fcn.004292f0
test eax, eax
setne al
lea ecx, [esp + 0x24]
push ecx
push dword [esp + 0xac]
push eax
lea eax, [esp + 0x48]
push esi
push eax
call fcn.0042ea10
mov edi, eax
add esp, 0x14
test edi, edi
je 0x42fc85
cmp byte [esp + 0x13], 0
je 0x42fc43
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0x30], 0
jne 0x42fc43
test ebx, ebx
je 0x42fbff
mov eax, dword [ebx]
push 0
push 0
mov ecx, ebx
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jne 0x42fc3e
lea ecx, [esp + 0x5c]
call fcn.00426db0
lea ecx, [esp + 0x6c]
call fcn.00426db0
lea ecx, [esp + 0x3c]
call fcn.00426db0
mov ebp, dword [esp + 0x24]
dec dword [esp + 0x4c]
je 0x42fc6c
cmp byte [esi + 0x30], 0
jne 0x42fc6c
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
jmp 0x42f7c0
mov edi, 0xffffaeb9
jmp 0x42fc47
mov edi, 0xffffaeb9
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x5c]
call fcn.00426db0
lea ecx, [esp + 0x6c]
call fcn.00426db0
lea ecx, [esp + 0x3c]
call fcn.00426db0
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
jmp 0x42fcb0
test edi, edi
je 0x42fca4
cmp byte [esi + 0x30], 0
jne 0x42fca4
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edi, 0xffffaeba
jmp 0x42fcb0
lea ecx, [esp + 0x5c]
call fcn.00426db0
lea ecx, [esp + 0x6c]
call fcn.00426db0
lea ecx, [esp + 0x3c]
call fcn.00426db0
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
jmp 0x42fcb0
mov edi, eax
mov byte [esp + 0x13], 0
test esi, esi
je 0x42fcc0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test ebx, ebx
je 0x42fce2
dec dword [ebx]
jne 0x42fce2
push ebx
call fcn.00447dbf
add esp, 4
test ebp, ebp
je 0x42fcde
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov bl, 1
jmp 0x42fce6
mov bl, byte [esp + 0x13]
test esi, esi
je 0x42fcfd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test bl, bl
je 0x42fcfd
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x42fd13
add ecx, 0xfffffff8
push ecx
call fcn.00447dbf
add esp, 4
mov eax, edi
pop edi
pop esi
add esp, 0x90
ret 0xc