Function at 0x1000ce80
Capabilities:
Check http status code

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
cmp eax, 1
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov ebp, 2
je 0x1000cea3
cmp eax, ebp
jne 0x1000ceae
mov dword [edi + 0xc], 0x60
mov byte [esi + 0x14], 1
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1000ceba
mov byte [esi + 0x15], 1
mov ecx, dword [edi + 0xc]
mov ebx, dword [esp + 0x2c]
or ecx, 0x18
test ebx, ebx
mov edx, 0xff
mov dword [edi + 0xc], ecx
mov eax, edx
je 0x1000ced4
mov eax, ebx
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x20]
add eax, 0x1b
cmp eax, 0x78
mov byte [edi + 0x16], dl
mov byte [edi + 0x17], dl
mov word [edi + 0x14], 0
ja case.0x1000ceff.6
movzx eax, byte [eax + 0x1000d21c]
mov edx, 8
jmp dword [eax*4 + 0x1000d1c4]
or ecx, 0x82
mov dword [edi + 0xc], ecx
mov word [esi], 0xfffe
mov dword [esi + 0xc], ebx
mov word [edi + 0x14], 0x80
jmp 0x1000cf6b
mov word [esi], 0xfffe
mov dword [esi + 0xc], ebx
mov word [edi + 0x14], 0x80
jmp 0x1000cf6f
mov word [esi], 0xfff5
mov dword [esi + 0xc], ebx
mov word [edi + 0x14], 0x48
jmp 0x1000cf6f
or ecx, 0x82
mov dword [edi + 0xc], ecx
mov word [esi], 1
mov al, byte [edi + 0xc]
test al, al
jns 0x1000cf59
mov dword [esi + 8], ebx
jmp 0x1000cf5f
lea ecx, [ebx + 1]
mov dword [esi + 8], ecx
mov edx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov word [edi + 0x14], 0x81
and dword [edi + 0xc], 0xffffffef
cmp ebx, 0xc8
jle 0x1000cf80
mov dword [esi + 8], 0xc8
jmp 0x1000cf86
mov eax, dword [esi + 0xc]
mov dword [esi + 8], eax
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.10008950
test al, al
je case.0x1000ceff.6
cmp ebx, 1
jle case.0x1000ceff.6
mov ecx, edi
call fcn.10008950
pop edi
mov byte [esi + 0x16], al
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov ecx, 0x13
mov word [esi], bp
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 0x10]
cmp eax, ecx
ja 0x1000cfcb
mov eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x30]
push eax
push ebx
mov byte [edi + 0x16], bl
mov byte [edi + 0x17], al
call fcn.10008910
neg al
sbb eax, eax
and eax, 0xffffff83
add eax, 0x83
mov word [edi + 0x14], ax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov word [esi], 5
mov word [edi + 0x14], bp
mov byte [edi + 0x16], 5
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov word [esi], 0xffef
mov word [edi + 0x14], 0x12
mov byte [edi + 0x16], 5
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov eax, 4
mov word [esi], ax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov word [edi + 0x14], 3
mov byte [edi + 0x16], 0xa
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov eax, 4
mov word [esi], 0xffee
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov word [edi + 0x14], 0x13
mov byte [edi + 0x16], 0xa
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov eax, 4
mov word [esi], 7
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov word [edi + 0x14], ax
mov byte [edi + 0x16], 7
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov eax, 4
cmp ebx, eax
jne 0x1000d0b9
mov word [esi], 7
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov word [edi + 0x14], ax
mov byte [edi + 0x16], 7
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
cmp ebx, edx
jne case.0x1000ceff.6
mov word [esi], dx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov word [edi + 0x14], 5
mov byte [edi + 0x16], 0xf
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov eax, 1
mov word [esi], 0xfff9
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov word [edi + 0x14], 0xb
mov byte [edi + 0x16], 0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov eax, 1
mov word [esi], 0xffe4
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov word [edi + 0x14], 0x11
mov byte [edi + 0x16], 3
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov edx, 8
mov word [esi], 0xffe7
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov word [edi + 0x14], 0x14
mov byte [edi + 0x16], 0x13
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov edx, 8
mov word [esi], 0xffe5
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov word [edi + 0x14], 0x15
mov byte [edi + 0x16], 0x13
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov eax, 0xa
mov word [esi], 0x5b
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov word [edi + 0x14], 0x85
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov edx, 8
mov word [esi], 0x5c
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov word [edi + 0x14], 0x86
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
mov ecx, 0x13
mov word [esi], 0x5d
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov word [edi + 0x14], 0x87
mov byte [edi + 0x16], bl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c