Function at 0x1009f660
Capabilities:
Check http status code

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
or ebx, 0xffffffff
xor esi, esi
mov dword [esp + 0x38], esi
mov eax, dword [edi + 0x30]
mov dword [esp + 0x10], eax
nop dword [eax + eax]
cmp dword [edi + 0x10], 0x123
mov dword [esp + 0x18], esi
jne 0x1009f997
mov eax, dword [edi + 0x18]
push edi
mov dword [esp + 0x18], eax
call fcn.1009cdf0
mov esi, dword [edi + 0x44]
add esp, 4
mov ebp, dword [edi + 0x30]
mov ecx, dword [esi + 4]
mov eax, ecx
sub eax, dword [ebp + 0x28]
push str.local_variables
cmp eax, 0xc8
jge 0x1009f9cd
push 0xffff
push 0x18
lea eax, [esi + 8]
push eax
lea eax, [ecx + 1]
push eax
push dword [esi]
push dword [edi + 0x34]
call fcn.1009c200
mov edx, dword [esi + 4]
add esp, 0x1c
mov dword [esi], eax
lea ecx, [edx + edx*2]
lea ecx, [eax + ecx*8]
lea eax, [edx + 1]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov byte [ecx + 9], 0
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 4]
sub eax, dword [ebp + 0x28]
cmp dword [edi + 0x10], 0x3c
mov dword [esp + 0x14], eax
jne 0x1009f7b7
push edi
call fcn.1009cdf0
add esp, 4
cmp dword [edi + 0x10], 0x123
jne 0x1009f997
mov esi, dword [edi + 0x18]
push edi
call fcn.1009cdf0
add esp, 4
add esi, 0x10
cmp dword [edi + 0x10], 0x3e
jne 0x1009f9ba
push edi
call fcn.1009cdf0
add esp, 4
mov ecx, str.const
mov eax, esi
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1009f770
test dl, dl
je 0x1009f76c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1009f770
add eax, 2
add ecx, 2
test dl, dl
jne 0x1009f750
xor eax, eax
jmp 0x1009f775
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1009f77e
lea edx, [eax + 1]
jmp 0x1009f7b9
mov eax, str.close
mov ecx, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1009f7a5
test dl, dl
je 0x1009f7a1
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1009f7a5
add ecx, 2
add eax, 2
test dl, dl
jne 0x1009f785
xor eax, eax
jmp 0x1009f7aa
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1009f9a2
lea edx, [eax + 2]
jmp 0x1009f7b9
xor edx, edx
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x28]
add eax, dword [esp + 0x14]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov eax, dword [eax]
mov byte [eax + ecx*8 - 0xf], dl
cmp edx, 2
jne 0x1009f7ed
cmp ebx, 0xffffffff
jne 0x1009f9c2
movzx ebx, byte [ebp + 0x32]
mov esi, dword [esp + 0x38]
add ebx, esi
jmp 0x1009f7f1
mov esi, dword [esp + 0x38]
mov eax, dword [edi + 0x10]
inc esi
mov dword [esp + 0x38], esi
cmp eax, 0x2c
jne 0x1009f80c
push edi
call fcn.1009cdf0
add esp, 4
jmp 0x1009f680
cmp eax, 0x3d
jne 0x1009f82d
push edi
call fcn.1009cdf0
lea eax, [esp + 0x20]
push eax
push edi
call fcn.1009eb60
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ebp, eax
jmp 0x1009f835
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x1c], edx
cmp esi, ebp
jne 0x1009f893
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x28]
add eax, dword [esp + 0x14]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
lea esi, [ecx - 3]
mov eax, dword [eax + 0x44]
mov eax, dword [eax]
cmp byte [eax + esi*8 + 9], 1
lea esi, [eax + esi*8]
jne 0x1009f893
push esi
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
call fcn.100a3a40
add esp, 0xc
test eax, eax
je 0x1009f88f
push dword [esp + 0x18]
mov byte [esi + 9], 3
push edi
call fcn.1009e000
mov eax, dword [esp + 0x18]
add esp, 8
inc byte [eax + 0x32]
jmp 0x1009f920
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov esi, dword [edi + 0x30]
sub eax, ebp
mov dword [esp + 0x10], eax
cmp edx, 0x12
je 0x1009f8e3
cmp edx, 0x13
je 0x1009f8e3
test edx, edx
je 0x1009f8c0
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.100a3b50
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
jle 0x1009f910
push eax
movzx eax, byte [esi + 0x34]
push eax
push esi
call fcn.100a53f0
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
push esi
call fcn.100a5c80
add esp, 8
jmp 0x1009f913
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
cmovns eax, ecx
push eax
lea eax, [esp + 0x20]
push eax
push esi
call fcn.100a5ee0
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jle 0x1009f910
push eax
push esi
call fcn.100a5c80
add esp, 8
jmp 0x1009f913
add byte [esi + 0x34], al
push dword [esp + 0x38]
push edi
call fcn.1009e000
add esp, 8
cmp ebx, 0xffffffff
je 0x1009f988
mov edx, dword [edi + 0x30]
lea esi, [ebx + 1]
mov ecx, dword [edx + 0xc]
movzx eax, byte [ecx + 0xc]
cmp eax, esi
jle 0x1009f940
mov ecx, dword [ecx]
movzx eax, byte [ecx + 0xc]
cmp eax, esi
jg 0x1009f936
mov byte [ecx + 0xd], 1
mov eax, dword [edx + 0xc]
mov byte [edx + 0x36], 1
mov byte [eax + 0xf], 1
test ebx, ebx
jle 0x1009f974
mov eax, dword [edx + 0x28]
add eax, ebx
lea ecx, [eax + eax*2]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x44]
mov eax, dword [eax]
lea eax, [eax + ecx*8]
lea eax, [eax - 0x18]
dec ebx
cmp byte [eax + 9], 3
jne 0x1009f990
test ebx, ebx
jg 0x1009f966
xor eax, eax
push 0
push 0
push 0
push eax
push 0x37
push edx
call fcn.100a3400
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
movzx eax, byte [eax + 0xa]
inc eax
jmp 0x1009f976
push 0x123
push edi
call fcn.1009eae0
push esi
push str.unknown_attribute__s
push dword [edi + 0x34]
call fcn.1008ed30
add esp, 0xc
push eax
push edi
call fcn.100a5e00
push 0x3e
push edi
call fcn.1009eae0
push str.multiple_to_be_closed_variables_in_local_list
push edi
call fcn.100a5e00
push 0xc8
push ebp
call fcn.1009eb10
int3