Function at 0x5094b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 1]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x49
jne 0x509584
mov edx, dword [ebp + 0x18]
mov al, byte [edx + 0xda]
mov byte [ebp - 0x24], al
cmp byte [ebp - 0x24], 1
je 0x5094ed
cmp byte [ebp - 0x24], 2
je 0x509521
cmp byte [ebp - 0x24], 4
je 0x509553
jmp 0x50957f
mov ecx, dword [ebp + 0xc]
and ecx, 0x80
mov edx, dword [ebp + 0x10]
and edx, 0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x2c]
je 0x50951f
mov ecx, dword [ebp + 0xc]
or ecx, 0xffffff00
mov edx, dword [ebp + 0x10]
or edx, 0xffffffff
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
jmp 0x50957f
mov eax, dword [ebp + 0xc]
and eax, 0x8000
mov ecx, dword [ebp + 0x10]
and ecx, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x38]
or edx, dword [ebp - 0x34]
je 0x509551
mov eax, dword [ebp + 0xc]
or eax, 0xffff0000
mov ecx, dword [ebp + 0x10]
or ecx, 0xffffffff
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
jmp 0x50957f
mov edx, dword [ebp + 0xc]
and edx, 0x80000000
mov eax, dword [ebp + 0x10]
and eax, 0
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x40]
or ecx, dword [ebp - 0x3c]
je 0x50957f
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
or eax, 0xffffffff
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
jmp 0x509f45
cmp dword [ebp - 0x10], 0xc
je 0x5095a6
cmp dword [ebp - 0x10], 0xd
je 0x5095a6
cmp dword [ebp - 0x10], 0xe
je 0x5095a6
cmp dword [ebp - 0x10], 0xf
je 0x5095a6
cmp dword [ebp - 0x10], 0x48
jne 0x50965c
mov ecx, dword [ebp + 0x14]
mov dl, byte [ecx]
mov byte [ebp - 0x28], dl
cmp byte [ebp - 0x28], 0x11
je 0x5095c5
cmp byte [ebp - 0x28], 0x12
je 0x5095f7
cmp byte [ebp - 0x28], 0x13
je 0x50962b
jmp 0x509657
mov eax, dword [ebp + 0xc]
and eax, 0x80
mov ecx, dword [ebp + 0x10]
and ecx, 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x48]
or edx, dword [ebp - 0x44]
je 0x5095f5
mov eax, dword [ebp + 0xc]
or eax, 0xffffff00
mov ecx, dword [ebp + 0x10]
or ecx, 0xffffffff
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
jmp 0x509657
mov edx, dword [ebp + 0xc]
and edx, 0x8000
mov eax, dword [ebp + 0x10]
and eax, 0
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x50]
or ecx, dword [ebp - 0x4c]
je 0x509629
mov edx, dword [ebp + 0xc]
or edx, 0xffff0000
mov eax, dword [ebp + 0x10]
or eax, 0xffffffff
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
jmp 0x509657
mov ecx, dword [ebp + 0xc]
and ecx, 0x80000000
mov edx, dword [ebp + 0x10]
and edx, 0
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x58]
or eax, dword [ebp - 0x54]
je 0x509657
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
or edx, 0xffffffff
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
jmp 0x509f45
cmp dword [ebp - 0x10], 0x10
jne 0x5097f9
cmp dword [ebp + 0x10], 0
ja 0x509676
cmp dword [ebp + 0xc], 8
jb 0x5097f4
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00409670
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x19db
ja 0x5096c5
cmp dword [ebp - 0x14], 0x19db
je 0x509759
mov ecx, dword [ebp - 0x14]
sub ecx, 0x230
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x11
ja case.0x5096e1.1
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x50a094]
jmp dword [eax*4 + 0x50a070]
mov ecx, dword [ebp - 0x14]
sub ecx, 0x19dd
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x2e
ja case.0x5096e1.1
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x50a0e8]
jmp dword [eax*4 + 0x50a0a8]
jmp 0x5097de
mov dword [ebp - 8], 0x231
jmp 0x5097de
mov dword [ebp - 8], 0x233
jmp 0x5097de
mov dword [ebp - 8], 0x235
jmp 0x5097de
mov dword [ebp - 8], 0x237
jmp 0x5097de
mov dword [ebp - 8], 0x23a
jmp 0x5097de
mov dword [ebp - 8], 0x23c
jmp 0x5097de
mov dword [ebp - 8], 0x240
jmp 0x5097de
mov dword [ebp - 8], 0x242
jmp 0x5097de
mov dword [ebp - 8], 0x19de
jmp 0x5097de
mov dword [ebp - 8], 0x19dc
jmp 0x5097de
mov dword [ebp - 8], 0x1a0c
jmp 0x5097de
mov dword [ebp - 8], 0x1a0a
jmp 0x5097de
mov dword [ebp - 8], 0x19e2
jmp 0x5097de
mov dword [ebp - 8], 0x19e0
jmp 0x5097de
mov dword [ebp - 8], 0x19f8
jmp 0x5097de
mov dword [ebp - 8], 0x19f6
jmp 0x5097de
mov dword [ebp - 8], 0x19fc
jmp 0x5097de
mov dword [ebp - 8], 0x19fa
jmp 0x5097de
mov dword [ebp - 8], 0x1a08
jmp 0x5097de
mov dword [ebp - 8], 0x1a06
jmp 0x5097de
mov dword [ebp - 8], 0x1a00
jmp 0x5097de
mov dword [ebp - 8], 0x19fe
jmp 0x5097de
mov dword [ebp - 8], 0x1a04
jmp 0x5097de
mov dword [ebp - 8], 0x1a02
cmp dword [ebp - 8], 0
je 0x5097f4
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00409660
add esp, 8
jmp 0x509f45
cmp dword [ebp - 0x10], 0x11
jne 0x509945
cmp dword [ebp + 0x10], 0
ja 0x509813
cmp dword [ebp + 0xc], 0x20
jb 0x509940
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00409670
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 0xcc5
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x2a
ja case.0x509845.1
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x50a174]
jmp dword [eax*4 + 0x50a118]
jmp 0x50992a
mov dword [ebp - 0xc], 0xcd0
jmp 0x50992a
mov dword [ebp - 0xc], 0xcd2
jmp 0x50992a
mov dword [ebp - 0xc], 0xcde
jmp 0x50992a
mov dword [ebp - 0xc], 0xce0
jmp 0x50992a
mov dword [ebp - 0xc], 0xce6
jmp 0x50992a
mov dword [ebp - 0xc], 0xce8
jmp 0x50992a
mov dword [ebp - 0xc], 0xcee
jmp 0x50992a
mov dword [ebp - 0xc], 0xcf0
jmp 0x50992a
mov dword [ebp - 0xc], 0xcc6
jmp 0x50992a
mov dword [ebp - 0xc], 0xcc8
jmp 0x50992a
mov dword [ebp - 0xc], 0xcd4
jmp 0x50992a
mov dword [ebp - 0xc], 0xcd6
jmp 0x50992a
mov dword [ebp - 0xc], 0xcca
jmp 0x50992a
mov dword [ebp - 0xc], 0xccc
jmp 0x50992a
mov dword [ebp - 0xc], 0xcce
jmp 0x50992a
mov dword [ebp - 0xc], 0xcd8
jmp 0x50992a
mov dword [ebp - 0xc], 0xcda
jmp 0x50992a
mov dword [ebp - 0xc], 0xcdc
jmp 0x50992a
mov dword [ebp - 0xc], 0xce2
jmp 0x50992a
mov dword [ebp - 0xc], 0xce4
jmp 0x50992a
mov dword [ebp - 0xc], 0xcea
jmp 0x50992a
mov dword [ebp - 0xc], 0xcec
cmp dword [ebp - 0xc], 0
je 0x509940
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00409660
add esp, 8
jmp 0x509f45
cmp dword [ebp - 0x10], 0x12
jne 0x509f45
cmp dword [ebp + 0x10], 0
ja 0x509983
jb 0x50995d
cmp dword [ebp + 0xc], 8
jae 0x509983
mov eax, dword [ebp + 0xc]
and eax, 3
mov ecx, dword [ebp + 0x10]
and ecx, 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x60], 3
jne 0x509f45
cmp dword [ebp - 0x5c], 0
jne 0x509f45
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
call fcn.00409670
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, 0x1845
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x194
ja case.0x5099b7.1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x50a380]
jmp dword [edx*4 + 0x50a1a0]
mov dword [ebp - 4], 0x1844
jmp 0x509f2f
mov dword [ebp - 4], 0x1846
jmp 0x509f2f
mov dword [ebp - 4], 0x1848
jmp 0x509f2f
mov dword [ebp - 4], 0x184a
jmp 0x509f2f
mov dword [ebp - 4], 0x184c
jmp 0x509f2f
mov dword [ebp - 4], 0x184e
jmp 0x509f2f
mov dword [ebp - 4], 0x1850
jmp 0x509f2f
mov dword [ebp - 4], 0x1852
jmp 0x509f2f
mov dword [ebp - 4], 0x1854
jmp 0x509f2f
mov dword [ebp - 4], 0x1856
jmp 0x509f2f
mov dword [ebp - 4], 0x1858
jmp 0x509f2f
mov dword [ebp - 4], 0x185a
jmp 0x509f2f
mov dword [ebp - 4], 0x185c
jmp 0x509f2f
mov dword [ebp - 4], 0x185e
jmp 0x509f2f
mov dword [ebp - 4], 0x1860
jmp 0x509f2f
mov dword [ebp - 4], 0x1862
jmp 0x509f2f
mov dword [ebp - 4], 0x1864
jmp 0x509f2f
mov dword [ebp - 4], 0x1866
jmp 0x509f2f
mov dword [ebp - 4], 0x1868
jmp 0x509f2f
mov dword [ebp - 4], 0x186a
jmp 0x509f2f
mov dword [ebp - 4], 0x186c
jmp 0x509f2f
mov dword [ebp - 4], 0x186e
jmp 0x509f2f
mov dword [ebp - 4], 0x1870
jmp 0x509f2f
mov dword [ebp - 4], 0x1872
jmp 0x509f2f
mov dword [ebp - 4], 0x1874
jmp 0x509f2f
mov dword [ebp - 4], 0x1876
jmp 0x509f2f
mov dword [ebp - 4], 0x1878
jmp 0x509f2f
mov dword [ebp - 4], 0x187a
jmp 0x509f2f
mov dword [ebp - 4], 0x187c
jmp 0x509f2f
mov dword [ebp - 4], 0x187e
jmp 0x509f2f
mov dword [ebp - 4], 0x1928
jmp 0x509f2f
mov dword [ebp - 4], 0x192a
jmp 0x509f2f
mov dword [ebp - 4], 0x192c
jmp 0x509f2f
mov dword [ebp - 4], 0x192e
jmp 0x509f2f
mov dword [ebp - 4], 0x1930
jmp 0x509f2f
mov dword [ebp - 4], 0x1932
jmp 0x509f2f
mov dword [ebp - 4], 0x1934
jmp 0x509f2f
mov dword [ebp - 4], 0x1936
jmp 0x509f2f
mov dword [ebp - 4], 0x1938
jmp 0x509f2f
mov dword [ebp - 4], 0x193a
jmp 0x509f2f
mov dword [ebp - 4], 0x193c
jmp 0x509f2f
mov dword [ebp - 4], 0x193e
jmp 0x509f2f
mov dword [ebp - 4], 0x1940
jmp 0x509f2f
mov dword [ebp - 4], 0x1942
jmp 0x509f2f
mov dword [ebp - 4], 0x1944
jmp 0x509f2f
mov dword [ebp - 4], 0x1946
jmp 0x509f2f
mov dword [ebp - 4], 0x1948
jmp 0x509f2f
mov dword [ebp - 4], 0x194a
jmp 0x509f2f
mov dword [ebp - 4], 0x194c
jmp 0x509f2f
mov dword [ebp - 4], 0x194e
jmp 0x509f2f
mov dword [ebp - 4], 0x1950
jmp 0x509f2f
mov dword [ebp - 4], 0x1952
jmp 0x509f2f
mov dword [ebp - 4], 0x1954
jmp 0x509f2f
mov dword [ebp - 4], 0x1956
jmp 0x509f2f
mov dword [ebp - 4], 0x1958
jmp 0x509f2f
mov dword [ebp - 4], 0x195a
jmp 0x509f2f
mov dword [ebp - 4], 0x195c
jmp 0x509f2f
mov dword [ebp - 4], 0x195e
jmp 0x509f2f
mov dword [ebp - 4], 0x1960
jmp 0x509f2f
mov dword [ebp - 4], 0x1962
jmp 0x509f2f
mov dword [ebp - 4], 0x1964
jmp 0x509f2f
mov dword [ebp - 4], 0x1966
jmp 0x509f2f
mov dword [ebp - 4], 0x1968
jmp 0x509f2f
mov dword [ebp - 4], 0x196a
jmp 0x509f2f
mov dword [ebp - 4], 0x196c
jmp 0x509f2f
mov dword [ebp - 4], 0x196e
jmp 0x509f2f
mov dword [ebp - 4], 0x1970
jmp 0x509f2f
mov dword [ebp - 4], 0x1972
jmp 0x509f2f
mov dword [ebp - 4], 0x1974
jmp 0x509f2f
mov dword [ebp - 4], 0x1976
jmp 0x509f2f
mov dword [ebp - 4], 0x1978
jmp 0x509f2f
mov dword [ebp - 4], 0x197a
jmp 0x509f2f
mov dword [ebp - 4], 0x197c
jmp 0x509f2f
mov dword [ebp - 4], 0x197e
jmp 0x509f2f
mov dword [ebp - 4], 0x1980
jmp 0x509f2f
mov dword [ebp - 4], 0x1982
jmp 0x509f2f
mov dword [ebp - 4], 0x1984
jmp 0x509f2f
mov dword [ebp - 4], 0x1986
jmp 0x509f2f
mov dword [ebp - 4], 0x1988
jmp 0x509f2f
mov dword [ebp - 4], 0x198a
jmp 0x509f2f
mov dword [ebp - 4], 0x198c
jmp 0x509f2f
mov dword [ebp - 4], 0x198e
jmp 0x509f2f
mov dword [ebp - 4], 0x1990
jmp 0x509f2f
mov dword [ebp - 4], 0x1992
jmp 0x509f2f
mov dword [ebp - 4], 0x1994
jmp 0x509f2f
mov dword [ebp - 4], 0x1996
jmp 0x509f2f
mov dword [ebp - 4], 0x1998
jmp 0x509f2f
mov dword [ebp - 4], 0x199a
jmp 0x509f2f
mov dword [ebp - 4], 0x199c
jmp 0x509f2f
mov dword [ebp - 4], 0x199e
jmp 0x509f2f
mov dword [ebp - 4], 0x19a0
jmp 0x509f2f
mov dword [ebp - 4], 0x19a2
jmp 0x509f2f
mov dword [ebp - 4], 0x19a4
jmp 0x509f2f
mov dword [ebp - 4], 0x19a6
jmp 0x509f2f
mov dword [ebp - 4], 0x19a8
jmp 0x509f2f
mov dword [ebp - 4], 0x19aa
jmp 0x509f2f
mov dword [ebp - 4], 0x19ac
jmp 0x509f2f
mov dword [ebp - 4], 0x19ae
jmp 0x509f2f
mov dword [ebp - 4], 0x19b0
jmp 0x509f2f
mov dword [ebp - 4], 0x19b2
jmp 0x509f2f
mov dword [ebp - 4], 0x19b4
jmp 0x509f2f
mov dword [ebp - 4], 0x19b6
jmp 0x509f2f
mov dword [ebp - 4], 0x19b8
jmp 0x509f2f
mov dword [ebp - 4], 0x19ba
jmp 0x509f2f
mov dword [ebp - 4], 0x19bc
jmp 0x509f2f
mov dword [ebp - 4], 0x19be
jmp 0x509f2f
mov dword [ebp - 4], 0x19c0
jmp 0x509f2f
mov dword [ebp - 4], 0x19c2
jmp 0x509f2f
mov dword [ebp - 4], 0x19c4
jmp 0x509f2f
mov dword [ebp - 4], 0x19c6
jmp 0x509f2f
mov dword [ebp - 4], 0x19c8
jmp 0x509f2f
mov dword [ebp - 4], 0x19ca
jmp 0x509f2f
mov dword [ebp - 4], 0x19cc
jmp 0x509f2f
mov dword [ebp - 4], 0x19ce
jmp 0x509f2f
mov dword [ebp - 4], 0x19d0
jmp 0x509f2f
mov dword [ebp - 4], 0x19d2
jmp 0x509f2f
mov dword [ebp - 4], 0x19d4
jmp 0x509f2f
mov dword [ebp - 4], 0x19d6
jmp 0x509f2f
mov dword [ebp - 4], 0x19d8
jmp 0x509f2f
mov dword [ebp - 4], 0x19da
cmp dword [ebp - 4], 0
je 0x509f45
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00409660
add esp, 8
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x39
ja case.0x509f68.1
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x50a530]
jmp dword [edx*4 + 0x50a518]
mov eax, dword [ebp + 0xc]
shr eax, 4
add eax, 0x7a
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00409420
add esp, 8
jmp 0x50a06a
mov edx, dword [ebp + 0xc]
shr edx, 4
add edx, 0x9a
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00409420
add esp, 8
jmp 0x50a06a
mov ecx, dword [ebp + 0xc]
shr ecx, 4
add ecx, 0xba
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00409420
add esp, 8
jmp 0x50a06a
mov eax, dword [ebp + 0xc]
and eax, 0x80
mov ecx, dword [ebp + 0x10]
and ecx, 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x68]
or edx, dword [ebp - 0x64]
je 0x509ff6
mov eax, dword [ebp + 0xc]
or eax, 0xffffff00
mov ecx, dword [ebp + 0x10]
or ecx, 0xffffffff
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
jmp case.0x509f68.1
mov edx, dword [ebp + 0xc]
and edx, 0x80000000
mov eax, dword [ebp + 0x10]
and eax, 0
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x70]
or ecx, dword [ebp - 0x6c]
je case.0x509f68.1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
or eax, 0xffffffff
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00409490
add esp, 0xc
cmp dword [ebp - 0x10], 0x2b
je 0x50a050
cmp dword [ebp - 0x10], 0x2c
je 0x50a050
cmp dword [ebp - 0x10], 0x2d
je 0x50a050
cmp dword [ebp - 0x10], 0x2e
jne 0x50a06a
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x6c]
movzx eax, byte [edx + 0x62003c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00409420
add esp, 8
mov esp, ebp
pop ebp
ret