Function at 0x5bf2f1
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, dword [esi]
mov al, byte [ebx + 2]
cmp al, 4
jne 0x5bf31f
mov cx, word [ebx + 0xe]
test cx, cx
je 0x5bf315
cmp cx, 0x40
jbe 0x5bf31f
mov eax, 0x1770
jmp 0x5bf9e6
cmp al, 2
je 0x5bf327
cmp al, 3
jne 0x5bf352
mov ax, word [ebx + 0xe]
movzx ecx, word [ebx + 0xc]
movzx edx, ax
add ecx, edx
cmp ecx, 0xc8
jle 0x5bf343
push 6
jmp 0x5bf9e5
test ax, ax
jne 0x5bf352
mov eax, 0x2716
jmp 0x5bf9e6
and dword [ebp - 8], 0
and dword [ebp - 0x1c], 0
mov edi, dword [ebp + 0xc]
cmp byte [ebx + 2], 0xb
je 0x5bf40a
cmp byte [ebx + 3], 0
je 0x5bf40a
mov eax, dword [ebp + 0x10]
xor cl, cl
movzx edx, cl
imul edx, edx, 0xe
cmp word [eax + edx], di
je 0x5bf389
inc cl
cmp cl, 3
jb 0x5bf376
movzx ecx, cl
imul ecx, ecx, 0xe
add eax, ecx
mov dword [ebp + 8], eax
mov eax, dword [eax + 2]
cmp eax, dword [ebx + 4]
je 0x5bf3b1
push dword [ebp + 0x10]
push edi
push esi
call fcn.005beae9
add esp, 0xc
test eax, eax
jne 0x5bf9e6
mov eax, dword [ebp + 8]
push edi
push esi
mov ecx, dword [eax + 6]
mov dword [esi + 0x1a], ecx
mov eax, dword [eax + 0xa]
and word [esi + 0x16], 0
and word [esi + 0x26], 0
mov dword [esi + 0x1e], eax
call fcn.005c0714
and dword [ebp + 8], 0
cmp byte [ebx + 3], 0
pop ecx
pop ecx
jbe 0x5bf40a
mov ax, word [ebp + 8]
push edi
push esi
mov word [esi + 0x18], ax
call fcn.005bff90
pop ecx
test eax, eax
pop ecx
jne 0x5bf9e6
inc dword [ebp + 8]
mov word [esi + 0x26], 1
movzx ax, byte [ebx + 3]
cmp word [ebp + 8], ax
jb 0x5bf3dd
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.005c01ad
cmp word [esi + 0x26], 0
pop ecx
pop ecx
jne 0x5bf437
push edi
push esi
call fcn.005c0714
pop ecx
pop ecx
push edi
push esi
call fcn.005c082c
pop ecx
test eax, eax
pop ecx
jne 0x5bf9eb
push 0x2a
push edi
push esi
call fcn.005c02a8
add esp, 0xc
test eax, eax
jne 0x5bf9f0
and dword [ebp + 8], eax
movzx eax, word [ebp + 8]
mov al, byte [eax + ebp - 0x34]
push eax
push edi
push esi
call fcn.005c02a8
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x5bf486
cmp word [ebp + 8], 3
jne 0x5bf47c
push edi
push 0x2bc
call fcn.005c06d0
pop ecx
pop ecx
inc dword [ebp + 8]
cmp word [ebp + 8], 0xa
jb 0x5bf44e
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x5bf9f5
mov al, byte [ebx + 2]
cmp al, 5
je 0x5bfc04
cmp al, 9
je 0x5bfc04
cmp al, 0x14
je 0x5bfc04
cmp al, 0x2d
je 0x5bfc04
cmp al, 0xb
je 0x5bfc04
cmp al, 0x1e
je 0x5bfc04
movzx eax, al
dec eax
dec eax
je 0x5bf542
dec eax
dec eax
je 0x5bf518
push 2
sub eax, 4
push edi
push esi
je 0x5bf9fa
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 6
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 0x15
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 0x39
jmp 0x5bf558
push 2
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 3
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
jmp 0x5bf56a
push 2
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 5
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
mov al, byte [ebx + 0x114]
shr al, 2
and al, 0x3c
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbe2
push 3
push esi
call fcn.005c0943
pop ecx
test al, al
pop ecx
jne 0x5bf5ba
push pe_nt_image_headers32
push esi
call fcn.005c0943
pop ecx
and al, 0x7d
pop ecx
or al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbe2
mov al, byte [ebx + 0x114]
and al, 0x1f
shl al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbe2
cmp byte [ebx + 2], 4
je 0x5bfaa3
and dword [ebp + 8], eax
push 2
push esi
call fcn.005c0943
pop ecx
test ax, ax
pop ecx
jne 0x5bf618
push pe_nt_image_headers32
push esi
call fcn.005c0943
pop ecx
and al, 0x7e
pop ecx
or al, 1
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbe2
mov al, byte [ebp + 8]
mov cl, 4
shl al, 2
sub cl, al
mov al, byte [ebx + 0x112]
shr al, cl
and al, 0x1f
shl al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbe2
inc dword [ebp + 8]
cmp word [ebp + 8], 2
jb 0x5bf5e5
and dword [ebp + 8], eax
mov al, byte [ebp + 8]
mov cl, 4
shl al, 2
sub cl, al
mov al, byte [ebx + 0x113]
shr al, cl
and al, 0x1f
shl al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbea
push 3
push esi
call fcn.005c0943
pop ecx
test ax, ax
pop ecx
jne 0x5bf6ac
push pe_nt_image_headers32
push esi
call fcn.005c0943
pop ecx
and al, 0x7e
pop ecx
or al, 1
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbea
inc dword [ebp + 8]
cmp word [ebp + 8], 2
jb 0x5bf64f
and dword [ebp + 8], 0
push 4
push esi
call fcn.005c0943
pop ecx
test ax, ax
pop ecx
jne 0x5bf6ed
push pe_nt_image_headers32
push esi
call fcn.005c0943
pop ecx
and al, 0x7d
pop ecx
or al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbea
mov al, byte [ebp + 8]
mov cl, 4
shl al, 2
sub cl, al
mov al, byte [ebx + 0x110]
shr al, cl
and al, 0x1f
shl al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbea
inc dword [ebp + 8]
cmp word [ebp + 8], 2
jb 0x5bf6ba
and dword [ebp + 8], eax
push 4
push esi
call fcn.005c0943
pop ecx
test ax, ax
pop ecx
jne 0x5bf757
push pe_nt_image_headers32
push esi
call fcn.005c0943
pop ecx
and al, 0x7d
pop ecx
or al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbea
mov al, byte [ebp + 8]
mov cl, 4
shl al, 2
sub cl, al
mov al, byte [ebx + 0x111]
shr al, cl
and al, 0x1f
shl al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbea
inc dword [ebp + 8]
cmp word [ebp + 8], 2
jb 0x5bf724
movzx eax, word [ebp - 8]
mov cx, word [ebx + 0xc]
mov dword [ebp - 0x18], eax
add eax, ecx
sar eax, 2
and al, 0x3c
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbf2
push 3
push esi
call fcn.005c0943
pop ecx
test ax, ax
pop ecx
je 0x5bf7e3
push pe_nt_image_headers32
push esi
call fcn.005c0943
pop ecx
and al, 0x7d
pop ecx
or al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbf2
mov al, byte [ebp - 8]
add al, byte [ebx + 0xc]
shl al, 2
and al, 0x3c
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbf2
cmp byte [ebx + 2], 2
jne 0x5bf873
movzx eax, word [ebx + 0xe]
sub eax, dword [ebp - 0x18]
cmp eax, 0x13
jle 0x5bf83d
push 4
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbfa
push 0x10
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbfa
jmp 0x5bf873
sar eax, 2
and al, 0x3c
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbfa
mov al, byte [ebx + 0xe]
sub al, byte [ebp - 8]
shl al, 2
and al, 0x3c
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfbfa
push pe_nt_image_headers32
push esi
call fcn.005c0943
mov byte [ebp + 8], al
pop ecx
shr al, 2
pop ecx
and al, 0x3c
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd51
mov al, byte [ebp + 8]
and al, 0xf
shl al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd51
and dword [ebp - 0x10], eax
cmp byte [ebx + 2], 2
jne 0x5bf915
and dword [ebp - 0x14], eax
mov ax, word [ebp - 8]
cmp ax, word [ebx + 0xe]
jae 0x5bf9c7
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call fcn.005c04e4
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x5bfd9e
mov al, byte [ebp + 8]
mov edx, dword [esi + 4]
movzx ecx, word [ebp - 8]
xor al, byte [ebp + 0xc]
inc dword [ebp - 8]
inc dword [ebp - 0x10]
cmp word [ebp - 0x10], 0x14
mov byte [ecx + edx], al
mov al, byte [ebp + 0xc]
mov byte [ebp + 8], al
jne 0x5bf8c2
jmp 0x5bf9be
mov ax, word [ebp - 8]
cmp ax, word [ebx + 0xe]
jae 0x5bf9c7
movzx eax, ax
mov dword [ebp - 0x18], eax
mov al, byte [eax + ebx + 0x10]
xor al, byte [ebp + 8]
mov byte [ebp + 8], al
and al, 0xfb
or al, 8
shr al, 2
push eax
push edi
push esi
call fcn.005c03d5
movzx eax, word [ebx + 0xe]
add esp, 0xc
dec eax
cmp dword [ebp - 0x18], eax
je 0x5bf962
cmp word [ebp - 0x10], 0x13
je 0x5bf962
mov al, byte [ebp + 8]
and al, 0xf
shl al, 2
or al, 2
jmp 0x5bf96c
mov al, byte [ebp + 8]
and al, 0xf
shl al, 2
or al, 3
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x5bfd9e
mov ax, word [ebx + 0xc]
mov ecx, dword [ebp - 0x18]
add ecx, eax
and ecx, 7
cmp cl, 7
je 0x5bf9a4
movzx eax, word [ebx + 0xe]
dec eax
cmp dword [ebp - 0x18], eax
je 0x5bf9a4
cmp word [ebp - 0x10], 0x13
jne 0x5bf9ad
push edi
push esi
call fcn.005c08ca
pop ecx
pop ecx
inc dword [ebp - 0x10]
inc dword [ebp - 8]
cmp word [ebp - 0x10], 0x14
jne 0x5bf915
push edi
push esi
call fcn.005c07e1
pop ecx
pop ecx
mov ax, word [ebp - 8]
cmp ax, word [ebx + 0xe]
je 0x5bfdd7
inc dword [ebp - 0x1c]
cmp word [ebp - 0x1c], 0xf
jb 0x5bf35d
push 8
pop eax
pop edi
pop esi
pop ebx
leave
ret
add eax, 0xa
jmp 0x5bf9e6
add eax, 0x14
jmp 0x5bf9e6
add eax, 0x1e
jmp 0x5bf9e6
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 2
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 0x3a
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
mov al, byte [ebx + 0x10]
shr al, 2
and al, 0x3c
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfdf2
mov al, byte [ebx + 0x10]
and al, 0x1f
shl al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfdf2
and dword [ebp - 0x14], eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call fcn.005c062f
add esp, 0x10
test eax, eax
jne 0x5bfb78
push edi
push esi
call fcn.005c07e1
mov ax, word [ebp - 2]
pop ecx
sub ax, 0xaa55
pop ecx
neg ax
sbb eax, eax
and eax, 5
jmp 0x5bf9e6
mov eax, dword [esi]
and byte [ebp + 0x10], 0
and dword [ebp + 8], 0
mov ax, word [eax + 0xe]
test ax, ax
mov dword [ebp - 0x1c], eax
jbe 0x5bfb5a
movzx eax, word [ebp + 8]
mov ecx, dword [esi]
mov dword [ebp - 0x10], eax
mov bl, byte [eax + ecx + 0x10]
mov al, bl
shr al, 2
and al, 0x3c
add al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfde7
push 0x40
push esi
call fcn.005c0943
pop ecx
mov byte [ebp - 0x18], al
test al, 2
pop ecx
je 0x5bfb03
lea eax, [edi + 1]
push eax
call fcn.005c0923
pop ecx
jmp 0x5bfb24
test al, 1
je 0x5bfb0f
shr al, 2
and al, 0xf
add byte [ebp + 0x10], al
push dword [ebp - 0x18]
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfdf2
mov eax, dword [ebp - 0x10]
movzx ecx, word [ebp - 0x1c]
inc eax
cdq
idiv ecx
shl bl, 2
add al, bl
add al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfdf2
inc dword [ebp + 8]
mov ax, word [ebp + 8]
cmp ax, word [ebp - 0x1c]
jb 0x5bfabd
and byte [ebp + 0x10], 0xf
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call fcn.005c067e
add esp, 0x10
test eax, eax
je 0x5bfb80
add eax, 0x5a
jmp 0x5bf9e6
push edi
push esi
call fcn.005c07e1
mov eax, dword [ebp - 0x22]
pop ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0xc], eax
pop ecx
movzx ax, byte [ebp + 0x10]
test ax, ax
jbe 0x5bfbcb
movzx edi, ax
mov edx, 0x8000
mov al, byte [ebp + 8]
mov cl, byte [ebp + 0xc]
shr word [ebp + 8], 1
shr word [ebp + 0xc], 1
and al, 1
and cl, 1
test al, al
je 0x5bfbc1
or dword [ebp + 0xc], edx
test cl, cl
je 0x5bfbc8
or dword [ebp + 8], edx
dec edi
jne 0x5bfba7
movzx eax, word [ebp + 8]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
mov ecx, dword [esi + 4]
mov dword [ecx], eax
jmp 0x5bfde0
add eax, 0x64
jmp 0x5bf9e6
add eax, 0x32
jmp 0x5bf9e6
add eax, 0x3c
jmp 0x5bf9e6
add eax, 0x1388
jmp 0x5bf9e6
mov eax, dword [esi]
and dword [ebp - 8], 0
movzx eax, byte [eax + 2]
sub eax, 5
je 0x5bfcd9
sub eax, 4
je 0x5bfcd9
dec eax
dec eax
je 0x5bfca3
sub eax, 9
je 0x5bfc66
sub eax, 0xa
je 0x5bfc38
sub eax, 0xf
je 0x5bfc66
jmp 0x5bfd18
push 2
pop ebx
push ebx
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 4
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 3
jmp 0x5bfcc6
push 2
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 4
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 2
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
mov dword [ebp - 8], 8
jmp 0x5bfd18
push 2
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 4
pop ebx
push ebx
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push ebx
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
mov dword [ebp - 8], ebx
jmp 0x5bfd18
push 2
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 4
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd09
push 1
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
je 0x5bfd11
add eax, 0x28
jmp 0x5bf9e6
mov dword [ebp - 8], 3
push pe_nt_image_headers32
push esi
call fcn.005c0943
mov bl, al
pop ecx
shr al, 2
pop ecx
and al, 0x3c
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
jne 0x5bfd51
mov al, bl
and al, 0xf
shl al, 2
push eax
push edi
push esi
call fcn.005c03d5
add esp, 0xc
test eax, eax
je 0x5bfd59
add eax, 0x46
jmp 0x5bf9e6
xor eax, eax
cmp word [ebp - 8], ax
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], eax
jbe 0x5bfdaf
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call fcn.005c04e4
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x5bfd9e
mov eax, dword [ebp + 8]
xor bl, byte [ebp + 0xc]
mov edx, dword [esi + 4]
movzx ecx, ax
inc eax
cmp ax, word [ebp - 8]
mov byte [ecx + edx], bl
mov bl, byte [ebp + 0xc]
mov dword [ebp + 8], eax
jb 0x5bfd67
jmp 0x5bfdaf
push edi
push esi
call fcn.005c07e1
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
jmp 0x5bf9e6
mov eax, dword [esi]
cmp byte [eax + 2], 5
jne 0x5bfdc8
mov eax, dword [esi + 4]
mov cl, byte [eax + 1]
mov byte [eax], cl
mov eax, dword [esi + 4]
mov cl, byte [eax + 2]
mov byte [eax + 1], cl
mov eax, dword [esi]
cmp byte [eax + 2], 9
jne 0x5bfdd7
mov eax, dword [esi + 4]
and byte [eax + 1], 0
push edi
push esi
call fcn.005c07e1
pop ecx
pop ecx
xor eax, eax
jmp 0x5bf9e6
cmp word [ebp + 8], 0
je 0x5bfbe2
add eax, 0x50
jmp 0x5bf9e6