Function at 0x5b0117
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x110
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 2], 4
jne 0x5b0164
mov edx, dword [ebp - 0x2c]
cmp word [edx + 0xe], 0
je 0x5b015a
mov ecx, dword [ebp - 0x2c]
cmp word [ecx + 0xe], 0x40
jbe 0x5b0164
mov eax, 0x1770
jmp 0x5b0757
mov edx, dword [ebp - 0x2c]
cmp byte [edx + 2], 2
je 0x5b0176
mov ecx, dword [ebp - 0x2c]
cmp byte [ecx + 2], 3
jne 0x5b01ac
mov eax, dword [ebp - 0x2c]
movzx edx, word [eax + 0xc]
mov ecx, dword [ebp - 0x2c]
movzx eax, word [ecx + 0xe]
add edx, eax
cmp edx, 0xc8
jle 0x5b0198
mov eax, 6
jmp 0x5b0757
mov edx, dword [ebp - 0x2c]
cmp word [edx + 0xe], 0
jne 0x5b01ac
mov eax, 6
jmp 0x5b0757
mov word [ebp - 4], 0
mov word [ebp - 6], 0
lea edx, [ebp - 0x18]
push edx
push esi
call fcn.005b19b7
add esp, 8
push edi
push esi
call fcn.005b2166
add esp, 8
push edi
push esi
call fcn.005b22ca
add esp, 8
mov ebx, eax
test eax, eax
je 0x5b01e7
lea eax, [ebx + 0xa]
jmp 0x5b0757
push 0x2a
push edi
push esi
call fcn.005b1c77
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b0201
lea eax, [ebx + 0x14]
jmp 0x5b0757
mov word [ebp - 2], 0
movzx edx, word [ebp - 2]
cmp byte [ebp + edx - 0x18], 0xff
je 0x5b0236
movzx ecx, word [ebp - 2]
mov al, byte [ebp + ecx - 0x18]
push eax
push edi
push esi
call fcn.005b1c77
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x5b0236
inc word [ebp - 2]
cmp word [ebp - 2], 8
jb 0x5b0207
test ebx, ebx
je 0x5b0242
lea eax, [ebx + 0x1e]
jmp 0x5b0757
mov edx, dword [ebp - 0x2c]
cmp byte [edx + 2], 4
jne 0x5b03dd
push 1
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b0269
lea eax, [ebx + 0x28]
jmp 0x5b0757
mov byte [ebp - 0x19], 0
mov edx, dword [esi]
mov cx, word [edx + 0xe]
mov word [ebp - 0xc], cx
mov word [ebp - 2], 0
mov ax, word [ebp - 2]
cmp ax, word [ebp - 0xc]
jae 0x5b0347
movzx edx, word [ebp - 2]
mov ecx, dword [esi]
mov al, byte [ecx + edx + 0x10]
mov byte [ebp - 0x1a], al
xor edx, edx
mov dl, byte [ebp - 0x1a]
sar edx, 2
and dl, 0xfc
add dl, 2
push edx
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b02bf
lea eax, [ebx + 0x50]
jmp 0x5b0757
push 0x40
push esi
call fcn.005b23f3
add esp, 8
test al, 2
je 0x5b02da
lea edx, [edi + 1]
push edx
call fcn.005b23d2
pop ecx
jmp 0x5b0304
test al, 1
je 0x5b02eb
xor ecx, ecx
mov cl, al
sar ecx, 2
and cl, 0xf
add byte [ebp - 0x19], cl
push eax
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b0304
lea eax, [ebx + 0x50]
jmp 0x5b0757
movzx eax, word [ebp - 2]
inc eax
movzx edx, word [ebp - 0xc]
mov ecx, edx
cdq
idiv ecx
mov dl, byte [ebp - 0x1a]
shl edx, 2
add al, dl
add al, 2
push eax
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b0335
lea eax, [ebx + 0x50]
jmp 0x5b0757
inc word [ebp - 2]
mov dx, word [ebp - 2]
cmp dx, word [ebp - 0xc]
jb 0x5b028b
and byte [ebp - 0x19], 0xf
mov word [ebp - 8], 0
lea ecx, [ebp - 0x20]
push ecx
lea eax, [ebp - 8]
push eax
push edi
push esi
call fcn.005b20c5
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x5b0371
lea eax, [ebx + 0x5a]
jmp 0x5b0757
push edi
push esi
call fcn.005b225a
add esp, 8
mov edx, dword [ebp - 0x28]
mov ax, word [edx + 2]
mov edx, dword [ebp - 0x28]
mov dx, word [edx]
mov word [ebp - 2], 0
jmp 0x5b03b9
mov ecx, eax
and cl, 1
mov ebx, edx
and bl, 1
movzx eax, ax
sar eax, 1
movzx edx, dx
sar edx, 1
test cl, cl
je 0x5b03ad
or dx, 0x8000
test bl, bl
je 0x5b03b5
or ax, 0x8000
inc word [ebp - 2]
movzx ecx, word [ebp - 2]
xor ebx, ebx
mov bl, byte [ebp - 0x19]
cmp ecx, ebx
jl 0x5b0390
movzx edx, dx
movzx eax, ax
shl eax, 0x10
or edx, eax
mov ecx, dword [esi + 4]
mov dword [ecx], edx
xor eax, eax
jmp 0x5b0757
mov edx, dword [ebp - 0x2c]
cmp byte [edx + 2], 2
je 0x5b041c
mov ecx, dword [ebp - 0x2c]
cmp byte [ecx + 2], 5
je 0x5b041c
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 2], 0x1e
je 0x5b041c
mov edx, dword [ebp - 0x2c]
cmp byte [edx + 2], 0x14
je 0x5b041c
mov ecx, dword [ebp - 0x2c]
cmp byte [ecx + 2], 9
je 0x5b041c
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 2], 0xb
je 0x5b041c
mov edx, dword [ebp - 0x2c]
cmp byte [edx + 2], 0x2d
jne 0x5b042c
push 4
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
jmp 0x5b043a
push 6
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b0446
lea eax, [ebx + 0x28]
jmp 0x5b0757
mov edx, dword [ebp - 0x24]
movzx ecx, word [edx]
sar ecx, 2
and cl, 0x3c
push ecx
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b046b
lea eax, [ebx + 0x32]
jmp 0x5b0757
mov edx, dword [ebp - 0x24]
mov cl, byte [edx]
shl ecx, 2
and cl, 0x3c
push ecx
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b048f
lea eax, [ebx + 0x32]
jmp 0x5b0757
mov edx, dword [ebp - 0x24]
movzx ecx, word [edx]
sar ecx, 0xa
and cl, 0x3c
push ecx
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b04b4
lea eax, [ebx + 0x32]
jmp 0x5b0757
mov edx, dword [ebp - 0x24]
movzx ecx, word [edx]
sar ecx, 6
and cl, 0x3c
push ecx
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b04d9
lea eax, [ebx + 0x32]
jmp 0x5b0757
mov edx, dword [ebp - 0x2c]
movzx ecx, word [edx + 0xc]
movzx eax, word [ebp - 4]
add ecx, eax
sar ecx, 2
and cl, 0x3c
push ecx
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b0505
lea eax, [ebx + 0x3c]
jmp 0x5b0757
mov dl, byte [ebp - 4]
mov ecx, dword [ebp - 0x2c]
add dl, byte [ecx + 0xc]
shl edx, 2
and dl, 0x3c
push edx
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b052d
lea eax, [ebx + 0x3c]
jmp 0x5b0757
push pe_nt_image_headers32
push esi
call fcn.005b23f3
add esp, 8
mov byte [ebp - 0xe], al
xor edx, edx
mov dl, byte [ebp - 0xe]
sar edx, 2
and dl, 0x3c
push edx
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b0562
lea eax, [ebx + 0x46]
jmp 0x5b0757
mov dl, byte [ebp - 0xe]
shl edx, 2
and dl, 0x3c
push edx
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b0584
lea eax, [ebx + 0x46]
jmp 0x5b0757
mov word [ebp - 0xa], 0
mov edx, dword [ebp - 0x2c]
cmp byte [edx + 2], 2
je 0x5b05cd
mov ecx, dword [ebp - 0x2c]
cmp byte [ecx + 2], 5
je 0x5b05cd
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 2], 0x1e
je 0x5b05cd
mov edx, dword [ebp - 0x2c]
cmp byte [edx + 2], 0x14
je 0x5b05cd
mov ecx, dword [ebp - 0x2c]
cmp byte [ecx + 2], 9
je 0x5b05cd
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 2], 0xb
je 0x5b05cd
mov edx, dword [ebp - 0x2c]
cmp byte [edx + 2], 0x2d
jne 0x5b0717
mov word [ebp - 8], 0
jmp 0x5b0634
lea ecx, [ebp - 0xd]
push ecx
lea eax, [ebp - 8]
push eax
push edi
push esi
call fcn.005b1fed
add esp, 0x10
mov ebx, eax
test ebx, ebx
jne 0x5b0605
movzx eax, word [ebp - 4]
mov edx, dword [esi + 4]
mov cl, byte [ebp - 0xd]
xor cl, byte [ebp - 0xe]
mov byte [edx + eax], cl
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
jmp 0x5b0616
push edi
push esi
call fcn.005b225a
add esp, 8
mov eax, ebx
jmp 0x5b0757
inc word [ebp - 4]
inc word [ebp - 0xa]
cmp word [ebp - 0xa], 0x14
jne 0x5b0634
push edi
push esi
call fcn.005b225a
add esp, 8
jmp 0x5b0728
mov edx, dword [ebp - 0x2c]
mov cx, word [edx + 0xe]
cmp cx, word [ebp - 4]
ja 0x5b05d5
jmp 0x5b0728
movzx eax, word [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov bl, byte [edx + eax + 0x10]
xor bl, byte [ebp - 0xe]
mov byte [ebp - 0xe], bl
xor eax, eax
mov al, bl
sar eax, 2
and al, 0x3c
or al, 2
push eax
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
movzx edx, word [ebp - 4]
mov ecx, dword [ebp - 0x2c]
movzx eax, word [ecx + 0xe]
dec eax
cmp edx, eax
je 0x5b0684
cmp word [ebp - 0xa], 0x13
jne 0x5b069c
shl ebx, 2
and bl, 0x3c
or bl, 3
push ebx
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
jmp 0x5b06b2
shl ebx, 2
and bl, 0x3c
or bl, 2
push ebx
push edi
push esi
call fcn.005b1dc2
add esp, 0xc
mov ebx, eax
test ebx, ebx
jne 0x5b06ee
mov edx, dword [ebp - 0x2c]
movzx ecx, word [edx + 0xc]
movzx eax, word [ebp - 4]
add ecx, eax
and ecx, 7
cmp ecx, 7
je 0x5b06e2
movzx edx, word [ebp - 4]
mov ecx, dword [ebp - 0x2c]
movzx eax, word [ecx + 0xe]
dec eax
cmp edx, eax
je 0x5b06e2
cmp word [ebp - 0xa], 0x13
jne 0x5b06fc
push edi
push esi
call fcn.005b2371
add esp, 8
jmp 0x5b06fc
push edi
push esi
call fcn.005b225a
add esp, 8
mov eax, ebx
jmp 0x5b0757
inc word [ebp - 0xa]
inc word [ebp - 4]
cmp word [ebp - 0xa], 0x14
jne 0x5b0717
push edi
push esi
call fcn.005b225a
add esp, 8
jmp 0x5b0728
mov edx, dword [ebp - 0x2c]
mov cx, word [edx + 0xe]
cmp cx, word [ebp - 4]
ja 0x5b0646
mov eax, dword [ebp - 0x2c]
mov dx, word [eax + 0xe]
cmp dx, word [ebp - 4]
jne 0x5b0743
push edi
push esi
call fcn.005b225a
add esp, 8
xor eax, eax
jmp 0x5b0757
inc word [ebp - 6]
cmp word [ebp - 6], 0xf
jb 0x5b01b8
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret