Function at 0x505601
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
lea edx, [ebp - 8]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x3c], edx
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x44], 0x953ef0
mov dword [ebp - 0x40], 0x95dba6
mov dword [ebp - 0x38], 0x4f157d
mov dword [ebp - 0x34], esp
mov dword [esp], edx
call fcn.0085e721
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x98]
mov dword [ebp - 0x58], 0xffffffff
call fcn.004f8281
test al, al
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x98]
je 0x5056a1
mov eax, dword [ecx + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x140]
mov dword [ebp - 0x64], eax
cmp eax, 0x13
jg 0x505a5e
mov dword [ebp - 0x58], 0xffffffff
call fcn.004f82d1
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx]
mov dword [esp], 0
call dword [eax + 0xc]
mov byte [ebp - 0x60], al
sub esp, 4
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.0085e7b1
movzx eax, byte [ebp - 0x60]
leave
ret
mov dword [ebp - 0x58], 0xffffffff
call fcn.004f8a21
mov dword [ebp - 0x64], eax
cmp eax, 0x18f
jle 0x5057f9
cmp eax, 0x194
je 0x505901
jg 0x505821
cmp eax, 0x191
jne 0x5059c7
mov dword [ebp - 0x58], 0xffffffff
mov ecx, dword [ebp - 0x60]
call fcn.004d7971
mov edx, dword [0xa2c1d0]
mov dword [esp], edx
mov ecx, dword [eax]
call fcn.0042cec1
sub esp, 4
test al, al
je 0x505763
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx + 0x98]
mov ecx, dword [eax + 8]
call fcn.004f2ef1
test al, al
jne 0x505763
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 0x50]
call fcn.004a60b1
mov ecx, dword [ebp - 0x60]
mov edx, dword [eax]
mov dword [ebp - 0x64], edx
call fcn.004d7971
mov edx, eax
mov eax, dword [ebp - 0x60]
mov edx, dword [edx]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], edx
lea edx, [eax + 0x30]
add eax, 0x18
mov dword [esp + 8], edx
movzx edx, word [eax + 0x90]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x64]
call fcn.00486381
sub esp, 0x10
test al, al
jne 0x50567b
mov dword [esp], 0x34
call fcn.00967921
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [esp], 0x982750
mov dword [ebp - 0x58], 3
call fcn.0096dbe1
push ecx
mov dword [esp + 0xc], 0x18
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0xd7
mov dword [esp + 8], eax
mov dword [esp], 0x982735
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x58], 4
call fcn.004176d1
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
sub esp, 0x10
cmp eax, edx
je 0x5057d0
mov dword [esp], eax
call fcn.009676c1
mov dword [esp + 8], 0x8681b0
mov dword [esp + 4], 0xa15b28
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
mov dword [ebp - 0x58], 0xffffffff
call fcn.009682f1
lea esi, [esi]
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx]
mov dword [esp], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x58], 0xffffffff
call eax
mov byte [ebp - 0x60], al
sub esp, 4
jmp 0x505690
mov eax, dword [ebp - 0x64]
cmp eax, 0x1f7
jg 0x5059ba
cmp eax, 0x1f5
jle 0x5059c7
mov dword [ebp - 0x58], 0xffffffff
mov ecx, dword [ebp - 0x60]
call fcn.004d7971
mov edx, dword [0xa2c288]
mov dword [esp], edx
mov ecx, dword [eax]
call fcn.0042ce11
sub esp, 4
mov dword [esp], 0x34
test eax, eax
jle 0x505ba3
call fcn.00967921
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0x98277c
mov dword [esp], eax
mov dword [ebp - 0x58], 9
call fcn.00426371
mov dword [esp + 0xc], 0x1d
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0xe4
mov dword [esp + 8], eax
mov dword [esp], 0x982735
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x58], 0xa
call fcn.004a3f51
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
sub esp, 0x10
cmp eax, edx
je 0x5058d9
mov dword [esp], eax
call fcn.009676c1
mov dword [esp + 8], 0x8681f0
mov dword [esp + 4], 0xa15b34
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
mov dword [ebp - 0x58], 0xffffffff
call fcn.009682f1
lea esi, [esi]
mov dword [ebp - 0x58], 0xffffffff
mov ecx, dword [ebp - 0x60]
call fcn.004d7971
mov edx, dword [0xa2c310]
mov dword [esp], edx
mov ecx, dword [eax]
call fcn.0042ce11
sub esp, 4
mov dword [esp], 0x34
test eax, eax
jne 0x505b1b
call fcn.00967921
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [esp], 0x982766
mov dword [ebp - 0x58], 5
call fcn.0096dbe1
push edx
mov dword [esp + 0xc], 3
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0xda
mov dword [esp + 8], eax
mov dword [esp], 0x982735
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x58], 6
call fcn.004176d1
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
sub esp, 0x10
cmp eax, edx
je 0x505998
mov dword [esp], eax
call fcn.009676c1
mov dword [esp + 8], 0x8681b0
mov dword [esp + 4], 0xa15b28
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
mov dword [ebp - 0x58], 0xffffffff
call fcn.009682f1
cmp dword [ebp - 0x64], 0x1f8
je 0x505d11
mov dword [esp], 0x34
call fcn.00967921
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0x98277c
mov dword [esp], eax
mov dword [ebp - 0x58], 0xf
call fcn.00426371
mov dword [esp + 0xc], 0x16
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0xef
mov dword [esp + 8], eax
mov dword [esp], 0x982735
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x58], 0x10
call fcn.004176d1
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
sub esp, 0x10
cmp eax, edx
je 0x505a3c
mov dword [esp], eax
call fcn.009676c1
mov dword [esp + 8], 0x8681b0
mov dword [esp + 4], 0xa15b28
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
mov dword [ebp - 0x58], 0xffffffff
call fcn.009682f1
mov dword [esp], 0x34
call fcn.00967921
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0x982718
mov dword [esp], eax
mov dword [ebp - 0x58], 1
call fcn.00426371
mov dword [esp + 0xc], 0x17
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0xc5
mov dword [esp + 8], eax
mov dword [esp], 0x982735
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x58], 2
call fcn.004176d1
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
sub esp, 0x10
cmp eax, edx
je 0x505ad9
mov dword [esp], eax
call fcn.009676c1
mov dword [esp + 8], 0x8681b0
mov dword [esp + 4], 0xa15b28
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
mov dword [ebp - 0x58], 0xffffffff
call fcn.009682f1
add ebp, 8
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x58], 0xf
mov dword [ebp - 0x60], eax
ja 0x505c33
mov eax, dword [ebp - 0x58]
jmp dword [eax*4 + 0x9827b0]
call fcn.00967921
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [esp], 0x982766
mov dword [ebp - 0x58], 7
call fcn.0096dbe1
push eax
mov dword [esp + 0xc], 3
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0xdd
mov dword [esp + 8], eax
mov dword [esp], 0x982735
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x58], 8
call fcn.004a3f51
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
sub esp, 0x10
cmp eax, edx
je 0x505b81
mov dword [esp], eax
call fcn.009676c1
mov dword [esp + 8], 0x8681f0
mov dword [esp + 4], 0xa15b34
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
mov dword [ebp - 0x58], 0xffffffff
call fcn.009682f1
call fcn.00967921
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0x98277c
mov dword [esp], eax
mov dword [ebp - 0x58], 0xb
call fcn.00426371
mov dword [esp + 0xc], 0x1d
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0xe7
mov dword [esp + 8], eax
mov dword [esp], 0x982735
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0xc
call fcn.004176d1
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
sub esp, 0x10
cmp eax, edx
je 0x505c11
mov dword [esp], eax
call fcn.009676c1
mov dword [esp + 8], 0x8681b0
mov dword [esp + 4], 0xa15b28
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
mov dword [ebp - 0x58], 0xffffffff
call fcn.009682f1
ud2
mov dword [esp], 0x34
call fcn.00967921
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov dword [esp + 8], 0x1f8
mov dword [esp + 4], 0x98277c
mov dword [esp], eax
mov dword [ebp - 0x58], 0xd
call fcn.00426371
mov dword [esp + 0xc], 0x1d
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0xeb
mov dword [esp + 8], eax
mov dword [esp], 0x982735
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x58], 0xe
call fcn.004a3f51
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
sub esp, 0x10
cmp eax, edx
je 0x505d87
mov dword [esp], eax
call fcn.009676c1
mov dword [esp + 8], 0x8681f0
mov dword [esp + 4], 0xa15b34
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
mov dword [ebp - 0x58], 0xffffffff
call fcn.009682f1
lea esi, [esi]
nop