Function at 0x593180
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x593188
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x593874
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5c1764]
mov eax, dword [eax]
mov eax, dword [eax + 0x2770]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 0x7d0
jge 0x593849
mov eax, dword [0x5c1764]
mov eax, dword [eax]
cmp dword [eax + 0x2794], 5
jl 0x593849
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405828
lea eax, [ebp - 8]
call fcn.004056f4
mov edx, eax
mov eax, dword [0x5c1764]
mov eax, dword [eax]
add eax, 0x5c
mov ecx, 2
call fcn.00402dbc
mov eax, dword [0x5c1764]
mov eax, dword [eax]
cmp byte [eax + 0x5e], 1
sete byte [ebp - 0x2e]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
mov al, byte [eax + 0x5f]
mov byte [ebp - 0x2a], al
cmp byte [ebp - 0x2a], 8
jbe 0x59325d
lea edx, [ebp - 0x44]
mov ax, 2
call fcn.005adef0
push dword [ebp - 0x44]
push 0x59388c
push dword [ebp - 8]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040555c
mov edx, dword [ebp - 0x40]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
mov eax, dword [eax + 0x2770]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x593849
cmp byte [ebp - 0x2a], 0
jne 0x593267
mov byte [ebp - 0x2a], 0xff
cmp byte [ebp - 0x2a], 8
jne 0x593271
mov byte [ebp - 0x2a], 0
lea edx, [ebp - 0x2c]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
add eax, 0x60
mov ecx, 2
call fcn.00402dbc
cmp word [ebp - 0x2c], 0x64
jbe 0x5932cd
lea edx, [ebp - 0x4c]
mov ax, 2
call fcn.005adef0
push dword [ebp - 0x4c]
push 0x59388c
push dword [ebp - 8]
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040555c
mov edx, dword [ebp - 0x48]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
mov eax, dword [eax + 0x2770]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x593849
movzx edx, word [ebp - 0x2c]
lea eax, [ebp - 0xc]
call fcn.00405828
lea eax, [ebp - 0xc]
call fcn.004056f4
mov edx, eax
movzx ecx, word [ebp - 0x2c]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
add eax, 0x62
call fcn.00402dbc
mov edx, dword [ebp - 0xc]
mov eax, 0x593898
call fcn.004057e0
test eax, eax
jne 0x593345
lea edx, [ebp - 0x54]
mov ax, 2
call fcn.005adef0
push dword [ebp - 0x54]
push 0x59388c
push dword [ebp - 8]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.0040555c
mov edx, dword [ebp - 0x50]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
mov eax, dword [eax + 0x2770]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x593849
mov dl, 1
mov eax, dword [0x4c00c0]
call fcn.004c1088
mov dword [ebp - 0x34], eax
xor edx, edx
push ebp
push 0x593759
push dword fs:[edx]
mov dword fs:[edx], esp
jmp 0x5933d2
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x593898
call fcn.004057e0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004056fc
mov edx, dword [ebp - 0xc]
mov eax, 0x593898
call fcn.004057e0
mov ecx, eax
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.0040573c
mov eax, dword [ebp - 0x10]
call fcn.0040549c
dec eax
jle 0x5933c5
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x5933c5
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 7
jg 0x5933e3
mov edx, dword [ebp - 0xc]
mov eax, 0x593898
call fcn.004057e0
test eax, eax
jg 0x593364
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x593435
lea edx, [ebp - 0x5c]
mov ax, 2
call fcn.005adef0
push dword [ebp - 0x5c]
push 0x59388c
push dword [ebp - 8]
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.0040555c
mov edx, dword [ebp - 0x58]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
mov eax, dword [eax + 0x2770]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x593849
lea eax, [ebp - 0x1c]
call fcn.004051cc
mov byte [ebp - 0x29], 0
mov eax, dword [0x5c1058]
mov eax, dword [eax]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x59374f
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], 0
mov eax, dword [0x5c1058]
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
call fcn.004c02f0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x13], 2
je 0x593743
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x277c]
test eax, eax
je 0x593743
mov edx, dword [0x5c1764]
mov edx, dword [edx]
cmp edx, dword [ebp - 4]
je 0x593743
cmp byte [ebp - 0x2e], 0
je 0x5934be
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x276c]
mov ecx, dword [ebp - 4]
cmp dl, byte [ecx + 0x276d]
jae 0x593743
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x593743
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x277c]
mov edx, dword [ebp - 0x24]
call fcn.004c02f0
mov esi, eax
cmp byte [ebp - 0x2a], 0xff
je 0x5934fa
mov al, byte [esi + 0x10]
cmp al, byte [ebp - 0x2a]
jne 0x593737
mov byte [ebp - 0x2d], 1
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x59353d
inc ebx
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x60]
mov edx, dword [esi]
call fcn.004057e0
test eax, eax
jne 0x593537
mov byte [ebp - 0x2d], 0
jmp 0x59353d
inc dword [ebp - 0x28]
dec ebx
jne 0x593515
cmp byte [ebp - 0x2d], 0
je 0x593737
push dword [ebp - 8]
lea eax, [ebp - 0x64]
mov dl, byte [esi + 0x10]
call fcn.004053b4
push dword [ebp - 0x64]
lea edx, [ebp - 0x68]
mov eax, dword [esi + 8]
call fcn.005add38
push dword [ebp - 0x68]
push dword [esi + 4]
mov eax, dword [ebp - 4]
push dword [eax + 0x2790]
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040555c
mov eax, dword [0x5c1764]
mov eax, dword [eax]
test byte [eax + 0x13], 1
je 0x593622
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.0040549c
lea edx, [ebp - 0x6c]
call fcn.005adef0
push dword [ebp - 0x6c]
push 0x5938a4
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.0040555c
mov eax, dword [ebp - 0x1c]
call fcn.0040549c
cmp eax, 0x320
jle 0x59365f
lea ecx, [ebp - 0x18]
mov dl, 2
mov eax, dword [ebp - 0x1c]
call fcn.004dfa88
lea eax, [ebp - 0x1c]
call fcn.004051cc
mov eax, dword [ebp - 0x18]
call fcn.0040549c
lea edx, [ebp - 0x74]
call fcn.005adef0
push dword [ebp - 0x74]
push 0x5938b0
push dword [ebp - 0x18]
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.0040555c
mov edx, dword [ebp - 0x70]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
mov eax, dword [eax + 0x2770]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x59365f
mov eax, dword [ebp - 0x14]
call fcn.0040549c
lea edx, [ebp - 0x7c]
call fcn.005adef0
push dword [ebp - 0x7c]
push 0x5938a4
push dword [ebp - 0x14]
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.0040555c
mov edx, dword [ebp - 0x78]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
mov eax, dword [eax + 0x2770]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc byte [ebp - 0x29]
cmp byte [ebp - 0x29], 0xc8
jb 0x593737
mov eax, dword [ebp - 0x34]
call fcn.004042b8
mov eax, dword [0x5c1764]
mov eax, dword [eax]
test byte [eax + 0x13], 1
je 0x5936e5
mov eax, dword [ebp - 0x1c]
call fcn.0040549c
test eax, eax
jle 0x5936e5
lea ecx, [ebp - 0x18]
mov dl, 2
mov eax, dword [ebp - 0x1c]
call fcn.004dfa88
lea eax, [ebp - 0x1c]
call fcn.004051cc
mov eax, dword [ebp - 0x18]
call fcn.0040549c
lea edx, [ebp - 0x84]
call fcn.005adef0
push dword [ebp - 0x84]
push 0x5938b0
push dword [ebp - 0x18]
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.0040555c
mov edx, dword [ebp - 0x80]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
mov eax, dword [eax + 0x2770]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea edx, [ebp - 0x8c]
mov ax, 2
call fcn.005adef0
push dword [ebp - 0x8c]
push 0x59388c
push dword [ebp - 8]
lea eax, [ebp - 0x88]
mov edx, 3
call fcn.0040555c
mov edx, dword [ebp - 0x88]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
mov eax, dword [eax + 0x2770]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x593849
inc dword [ebp - 0x24]
dec dword [ebp - 0x3c]
jne 0x5934d5
inc dword [ebp - 0x20]
dec dword [ebp - 0x38]
jne 0x59345f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x593763
mov eax, dword [ebp - 0x34]
call fcn.004042b8
xor eax, eax
push ebp
push 0x5937fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5c1764]
mov eax, dword [eax]
test byte [eax + 0x13], 1
je 0x5937f0
mov eax, dword [ebp - 0x1c]
call fcn.0040549c
test eax, eax
jle 0x5937f0
lea ecx, [ebp - 0x18]
mov dl, 2
mov eax, dword [ebp - 0x1c]
call fcn.004dfa88
lea eax, [ebp - 0x1c]
call fcn.004051cc
mov eax, dword [ebp - 0x18]
call fcn.0040549c
lea edx, [ebp - 0x94]
call fcn.005adef0
push dword [ebp - 0x94]
push 0x5938b0
push dword [ebp - 0x18]
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.0040555c
mov edx, dword [ebp - 0x90]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
mov eax, dword [eax + 0x2770]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x593804
lea edx, [ebp - 0x9c]
mov ax, 2
call fcn.005adef0
push dword [ebp - 0x9c]
push 0x59388c
push dword [ebp - 8]
lea eax, [ebp - 0x98]
mov edx, 3
call fcn.0040555c
mov edx, dword [ebp - 0x98]
mov eax, dword [0x5c1764]
mov eax, dword [eax]
mov eax, dword [eax + 0x2770]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59387b
lea eax, [ebp - 0x9c]
mov edx, 0x18
call fcn.004051f0
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.004051f0
ret