Function at 0x10012960
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [edi + 0x30]
mov dword [ebp - 8], eax
nop word [eax + eax]
cmp dword [edi + 0x10], 0x123
mov dword [ebp - 0x14], esi
jne 0x10012c36
mov eax, dword [edi + 0x18]
push edi
mov dword [ebp - 0x10], eax
call fcn.1000ec00
mov esi, dword [edi + 0x44]
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0xc], ecx
push str.local_variables
mov edx, dword [esi + 4]
mov eax, edx
sub eax, dword [ecx + 0x28]
cmp eax, 0xc8
jge 0x10012c6c
push 0xffff
push 0x18
lea eax, [esi + 8]
push eax
lea eax, [edx + 1]
push eax
push dword [esi]
push dword [edi + 0x34]
call fcn.1000fd90
mov edx, dword [esi + 4]
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 [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0xc]
mov byte [ecx + 9], 0
mov edx, dword [esi + 4]
sub edx, dword [eax + 0x28]
cmp dword [edi + 0x10], 0x3c
mov dword [ebp - 0xc], edx
jne 0x10012aa7
push edi
call fcn.1000ec00
cmp dword [edi + 0x10], 0x123
jne 0x10012c36
mov esi, dword [edi + 0x18]
push edi
call fcn.1000ec00
add esi, 0x10
cmp dword [edi + 0x10], 0x3e
jne 0x10012c59
push edi
call fcn.1000ec00
mov ecx, str.const
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10012a60
test dl, dl
je 0x10012a5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10012a60
add eax, 2
add ecx, 2
test dl, dl
jne 0x10012a40
xor eax, eax
jmp 0x10012a65
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10012a6e
lea edx, [eax + 1]
jmp 0x10012aa9
mov eax, str.close
mov ecx, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10012a95
test dl, dl
je 0x10012a91
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10012a95
add ecx, 2
add eax, 2
test dl, dl
jne 0x10012a75
xor eax, eax
jmp 0x10012a9a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10012c41
lea edx, [eax + 2]
jmp 0x10012aa9
xor edx, edx
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0xc]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x44]
mov eax, dword [eax]
mov byte [eax + ecx*8 - 0xf], dl
cmp edx, 2
jne 0x10012ada
cmp ebx, 0xffffffff
jne 0x10012c61
movzx ebx, byte [esi + 0x32]
mov esi, dword [ebp - 4]
add ebx, esi
jmp 0x10012add
mov esi, dword [ebp - 4]
inc esi
cmp dword [edi + 0x10], 0x2c
mov dword [ebp - 4], esi
jne 0x10012af2
push edi
call fcn.1000ec00
jmp 0x10012980
cmp dword [edi + 0x10], 0x3d
jne 0x10012b0d
push edi
call fcn.1000ec00
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.10011fa0
mov edx, dword [ebp - 0x2c]
jmp 0x10012b14
xor edx, edx
xor eax, eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x10], eax
cmp esi, eax
jne 0x10012b65
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0xc]
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 0x10012b65
push esi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call fcn.10005bb0
test eax, eax
je 0x10012b62
push dword [ebp - 0x14]
mov byte [esi + 9], 3
push edi
call fcn.10011450
mov edx, dword [ebp - 8]
inc byte [edx + 0x32]
jmp 0x10012bdc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x10]
mov esi, dword [edi + 0x30]
mov dword [ebp - 0xc], eax
cmp edx, 0x12
je 0x10012ba8
cmp edx, 0x13
je 0x10012ba8
test edx, edx
je 0x10012b8c
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.10005ce0
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x10012bcd
push eax
movzx eax, byte [esi + 0x34]
push eax
push esi
call fcn.10006550
mov eax, dword [ebp - 0xc]
push eax
push esi
call fcn.10006d00
jmp 0x10012bd0
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
cmovns eax, ecx
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.10006f20
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x10012bcd
push eax
push esi
call fcn.10006d00
jmp 0x10012bd0
add byte [esi + 0x34], al
push dword [ebp - 4]
push edi
call fcn.10011450
mov edx, dword [ebp - 8]
cmp ebx, 0xffffffff
je 0x10012c26
mov eax, dword [edx + 0xc]
mov byte [eax + 0xd], 1
mov byte [eax + 0xf], 1
mov byte [edx + 0x36], 1
test ebx, ebx
jle 0x10012c15
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 0x10012c2f
test ebx, ebx
jg 0x10012c07
xor eax, eax
push 0
push 0
push 0
push eax
push 0x37
push edx
call fcn.10005540
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, byte [eax + 0xa]
inc eax
jmp 0x10012c17
push 0x123
push edi
call fcn.10011f20
push esi
push str.unknown_attribute__s
push dword [edi + 0x34]
call fcn.10010610
add esp, 0xc
push eax
push edi
call fcn.10006e50
push 0x3e
push edi
call fcn.10011f20
push str.multiple_to_be_closed_variables_in_local_list
push edi
call fcn.10006e50
push 0xc8
push ecx
call fcn.10011f50
int3