Function at 0x4757ba
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d82c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x12b0
call fcn.00593eea
mov eax, dword [0x59cfc8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x12a8], esi
call int.00496ac8
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x475815
push 0x80004005
call fcn.0047447a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x12a4], eax
mov dword [ebp - 4], edi
call int.00496ac8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x475844
push 0x80004005
call fcn.0047447a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x12b0], eax
mov byte [ebp - 4], 1
call int.00496ac8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x475874
push 0x80004005
call fcn.0047447a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x129c], eax
lea ecx, [esi + 0x100]
mov bl, 2
mov byte [ebp - 4], bl
mov dword [esi + 0x934], edi
mov dword [esi + 0x904], 1
cmp ecx, edi
jne 0x4758a9
xor eax, eax
jmp 0x4758b7
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4758ae
sub eax, edi
push eax
push ecx
lea ecx, [ebp - 0x129c]
call fcn.00474eaa
mov ecx, dword [ebp - 0x129c]
cmp dword [ecx - 0xc], 0
jne 0x4758df
mov dword [esi + 0x934], 0xffffffff
jmp 0x475e55
push 5
lea edx, [ebp - 0x12a0]
push edx
lea ecx, [ebp - 0x129c]
call fcn.0047507a
mov eax, dword [eax]
push 0x54ef60
push eax
call fcn.00594193
xor ecx, ecx
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x12a0]
sete cl
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
mov edi, ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x475931
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x12b0]
push ecx
lea edx, [ebp - 0x12a4]
push edx
lea ecx, [ebp - 0x129c]
call fcn.004754aa
add esp, 8
push 0
push 0
push 0x54ef5d
push 0
push esi
call dword [0x54e8f0]
mov ebx, eax
mov dword [ebp - 0x12c0], ebx
test ebx, ebx
jne 0x47597a
mov dword [esi + 0x934], 0xfffffffe
jmp 0x475e55
mov ecx, dword [ebp - 0x12a4]
push 0
push 0
push 3
push 0x54ef5d
mov eax, edi
neg eax
push 0
sbb eax, eax
and eax, 0x1bb
push eax
push ecx
push ebx
call dword [0x54e8f4]
mov dword [ebp - 0x12a0], eax
test eax, eax
jne 0x4759c1
push ebx
call dword [0x54e8f8]
mov dword [esi + 0x934], 0xfffffffd
jmp 0x475e55
mov ecx, 0x84400300
test edi, edi
je 0x4759cf
mov ecx, 0x84c03300
mov edx, dword [ebp - 0x12b0]
push 0
push ecx
push 0
push 0
push 0x54ef54
push edx
push 0x54ef50
push eax
call dword [0x54e8e0]
mov edi, eax
mov dword [ebp - 0x12b4], edi
test edi, edi
jne 0x475a1b
mov eax, dword [ebp - 0x12a0]
mov edi, dword [0x54e8f8]
push eax
call edi
push ebx
call edi
mov dword [esi + 0x934], 0xfffffffc
jmp 0x475e55
cmp dword [esi + 0x90c], 0
ja 0x475a2d
cmp dword [esi + 0x908], 0
jbe 0x475a90
mov eax, dword [esi + 0x910]
mov ecx, dword [esi + 0x914]
mov edx, dword [esi + 0x918]
mov ebx, dword [esi + 0x91c]
add edx, eax
adc ebx, ecx
add edx, 0xffffffff
adc ebx, 0xffffffff
push ebx
push edx
mov edx, dword [esi + 0x920]
add edx, eax
mov eax, dword [esi + 0x924]
adc eax, ecx
push eax
push edx
lea ecx, [ebp - 0x114]
push 0x54ef34
push ecx
call fcn.00594b5b
mov ebx, dword [0x54e900]
add esp, 0x18
push 0xa0000000
push 0xffffffffffffffff
lea edx, [ebp - 0x114]
push edx
push edi
call ebx
jmp 0x475a96
mov ebx, dword [0x54e900]
mov eax, dword [ebp - 0x12a4]
push eax
lea ecx, [ebp - 0x294]
push 0x54ef28
push ecx
call fcn.00594b5b
add esp, 0xc
push 0xa0000000
push 0xffffffffffffffff
lea edx, [ebp - 0x294]
push edx
push edi
call ebx
lea eax, [ebp - 0x214]
push 0x54ef1c
push eax
call fcn.00594b5b
add esp, 8
push 0xa0000000
push 0xffffffffffffffff
lea ecx, [ebp - 0x214]
push ecx
push edi
call ebx
lea edx, [ebp - 0x214]
push 0x54ef04
push edx
call fcn.00594b5b
add esp, 8
push 0xa0000000
push 0xffffffffffffffff
lea eax, [ebp - 0x214]
push eax
push edi
call ebx
mov ebx, dword [0x54e904]
push 0
push 0
push 0
push 0
push edi
call ebx
test eax, eax
jne 0x475b71
lea ecx, [ebp - 0x12ac]
push ecx
lea edx, [ebp - 0x1298]
push edx
push 0x1f
push edi
mov dword [ebp - 0x12ac], 4
call dword [0x54e8fc]
or dword [ebp - 0x1298], 0x3380
push 4
lea eax, [ebp - 0x1298]
push eax
push 0x1f
push edi
call dword [0x54e8e4]
push 0
push 0
push 0
push 0
push edi
call ebx
test eax, eax
je 0x475e3a
push 0xff
lea ecx, [ebp - 0x113]
push 0
push ecx
mov byte [ebp - 0x114], 0
call fcn.00594aaa
add esp, 0xc
xor ebx, ebx
push ebx
lea edx, [ebp - 0x12ac]
push edx
lea eax, [ebp - 0x114]
push eax
push 0x13
push edi
mov dword [ebp - 0x12ac], 0x100
call dword [0x54e908]
cmp eax, ebx
je 0x475be2
lea ecx, [ebp - 0x114]
push ecx
call fcn.00594b3a
add esp, 4
cmp eax, 0xc8
jl 0x475bd3
cmp eax, 0xce
jle 0x475be2
mov dword [esi + 0x934], 0xfffffff5
jmp 0x475e3a
push 0xfff
lea edx, [ebp - 0x1293]
push ebx
push edx
mov byte [ebp - 0x1294], bl
call fcn.00594aaa
add esp, 0xc
mov dword [ebp - 0x12bc], ebx
mov dword [ebp - 0x12b8], ebx
lea eax, [ebp - 0x1298]
push eax
mov eax, 0x1000
push eax
lea ecx, [ebp - 0x1294]
push ecx
push edi
mov dword [ebp - 0x1298], 0
call dword [0x54e8ec]
test eax, eax
jne 0x475c41
mov dword [esi + 0x934], 0xfffffffa
jmp 0x475da0
cmp dword [ebp - 0x1298], 0
je 0x475da0
mov edx, dword [esi + 0x940]
push edx
call dword [0x54e248]
mov edx, dword [esi + 0x920]
add edx, dword [esi + 0x910]
mov ebx, dword [esi + 0x924]
adc ebx, dword [esi + 0x914]
mov ecx, dword [esi + 0x944]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
push 0
push ebx
push edx
mov byte [ebp - 4], 4
call eax
mov ecx, edx
mov edx, eax
mov eax, dword [esi + 0x920]
add eax, dword [esi + 0x910]
mov ebx, ecx
mov ecx, dword [esi + 0x924]
adc ecx, dword [esi + 0x914]
mov dword [ebp - 4], 2
cmp edx, eax
jne 0x475cb5
cmp ebx, ecx
je 0x475cd1
mov ecx, dword [esi + 0x940]
push ecx
mov dword [esi + 0x934], 0xfffffff4
call dword [0x54e244]
jmp 0x475da0
mov eax, dword [ebp - 0x1298]
mov ecx, dword [esi + 0x944]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
push eax
lea eax, [ebp - 0x1294]
push eax
mov byte [ebp - 4], 6
call edx
mov eax, dword [ebp - 0x1298]
xor ecx, ecx
add dword [esi + 0x920], eax
mov dword [ebp - 4], 2
adc dword [esi + 0x924], ecx
add dword [ebp - 0x12bc], eax
mov eax, dword [esi + 0x940]
push eax
adc dword [ebp - 0x12b8], ecx
call dword [0x54e244]
mov ecx, dword [ebp - 0x1298]
mov eax, dword [esi + 0x92c]
push ecx
lea edx, [ebp - 0x1294]
push edx
push eax
call fcn.0047442a
mov dword [esi + 0x92c], eax
mov eax, dword [esi + 0x93c]
add esp, 0xc
test eax, eax
je 0x475c09
cmp dword [eax], 0
je 0x475c09
mov dword [esi + 0x934], 0xfffffff6
jmp 0x475da0
xor ebx, ebx
push ebx
push ebx
push ebx
push edi
call dword [0x54e8e8]
mov eax, dword [esi + 0x91c]
mov ecx, dword [esi + 0x918]
cmp eax, ebx
ja 0x475dc0
cmp ecx, ebx
jbe 0x475e30
cmp dword [esi + 0x920], ecx
jne 0x475e24
cmp dword [esi + 0x924], eax
jne 0x475e24
mov eax, dword [esi + 0x930]
cmp eax, ebx
je 0x475e30
cmp dword [esi + 0x92c], eax
je 0x475e30
mov dword [esi + 0x920], ebx
mov dword [esi + 0x924], ebx
mov dword [esi + 0x934], 0xfffffff3
jmp 0x475e3a
mov dword [esi + 0x934], 0xfffffff9
jmp 0x475e3a
mov dword [esi + 0x928], 1
push edi
mov edi, dword [0x54e8f8]
call edi
mov edx, dword [ebp - 0x12a0]
push edx
call edi
mov eax, dword [ebp - 0x12c0]
push eax
call edi
mov eax, dword [ebp - 0x129c]
add eax, 0xfffffff0
mov dword [esi + 0x904], 0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475e85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x12b0]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475eab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x12a4]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475ed4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00593ed7
mov esp, ebp
pop ebp
ret