Function at 0x51cee8
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10033500
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10042170]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x10037550
lea ecx, [ebp - 0x18]
call fcn.0050d108
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0050d398
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51cf53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x51cf5c
mov dword [eax], edi
mov dword [ebp - 0x1c], edi
call dword [0x100351c8]
mov ebx, dword [0x100351f0]
mov dword [ebp - 0x20], eax
jmp 0x51cf78
mov ecx, 3
mov word [ebp - 0x40], cx
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x40]
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx]
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp - 0x3c]
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x38]
mov dword [eax + 8], edi
mov edi, dword [ebp - 0x34]
push ecx
mov ecx, dword [edx + 0x54]
mov dword [eax + 0xc], edi
call ecx
mov edi, eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
push edx
call ebx
test edi, edi
jne 0x51d07d
cmp word [ebp - 0x1c], 0xffff
je 0x51d08d
mov edi, dword [0x100351c8]
call edi
mov ecx, eax
mov eax, dword [ebp + 0xc]
sub ecx, dword [eax]
cmp ecx, dword [eax + 4]
jge 0x51cff6
call edi
sub eax, dword [ebp - 0x20]
cmp eax, 0x2710
jl 0x51cf78
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x58]
push eax
call edx
cmp word [ebp - 0x1c], 0xffff
je 0x51d08d
push 0x10037520
add esi, 0x74
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.0050c708
add esp, 0xc
mov byte [ebp - 4], 5
push 2
push eax
mov ecx, 0x100436dc
call fcn.0051f638
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51d055
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0050d478
mov eax, 0xfffffc16
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x58]
call eax
jmp 0x51d001
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
xor edi, edi
cmp eax, edi
jne 0x51d43e
cmp dword [ebp - 0x24], 0xc8
jne 0x51d43e
cmp dword [esi + 0x28], edi
jne 0x51d31a
push 0x10037510
lea ecx, [ebp + 0xc]
call fcn.0050d108
mov byte [ebp - 4], 0xc
mov eax, dword [esi + 0x20]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
cmp eax, edi
jl 0x51d121
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0050d108
mov byte [ebp - 4], 0xd
push 0x1003750c
push 0x10037428
lea ecx, [ebp - 0x18]
call fcn.0051c6c8
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0050c088
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18]
call fcn.0050ae08
mov eax, dword [esi + 0x20]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
push ecx
push eax
call edx
cmp eax, edi
mov eax, dword [ebp - 0x14]
jne 0x51d2b2
cmp eax, edi
je 0x51d2bd
push eax
lea ecx, [ebp - 0x18]
call fcn.0050d108
mov bl, 0xe
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], edi
jl 0x51d1d2
push 0x10037500
push eax
call fcn.00527a44
add esp, 8
cmp eax, edi
je 0x51d1d2
sub eax, dword [ebp - 0x18]
sar eax, 1
js 0x51d1d2
push 2
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x100436dc
call fcn.0051f638
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x10035210]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18]
call fcn.0050ae08
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0050ae08
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0050d478
mov eax, 0xfffffc13
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x30]
call fcn.0050d108
mov edi, eax
mov byte [ebp - 4], 0xf
push 0x100374f0
lea ecx, [ebp - 0x2c]
call fcn.0050d108
mov byte [ebp - 4], 0x10
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0050c648
add esp, 0xc
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0050c088
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.0050ae08
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.0050ae08
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.0050ae08
lea ecx, [ebp + 0xc]
push ecx
add esi, 0x74
lea edx, [ebp - 0x30]
push esi
push edx
call fcn.0050c648
add esp, 0xc
mov byte [ebp - 4], 0x12
push 2
push eax
mov ecx, 0x100436dc
call fcn.0051f638
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.0050ae08
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x51d275
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18]
call fcn.0050ae08
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0050ae08
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0050d478
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, edi
je 0x51d2bd
push eax
call dword [0x10035210]
push 0x100374dc
lea ecx, [ebp + 0x10]
call fcn.0050d108
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0050c088
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x10]
call fcn.0050ae08
lea edx, [ebp + 0xc]
push edx
add esi, 0x74
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.0050c648
add esp, 0xc
mov byte [ebp - 4], 0x14
push 2
push eax
mov ecx, 0x100436dc
call fcn.0051f638
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x10]
jmp 0x51d199
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edx, [esi + 0x58]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
lea edx, [ebp + 0x10]
cmp eax, edi
jne 0x51d40f
mov eax, dword [esi + 0x20]
mov dword [ebp + 0x10], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
cmp eax, edi
jl 0x51d3e4
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0050d108
mov ebx, eax
mov byte [ebp - 4], 0x15
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
jge 0x51d369
or eax, 0xffffffff
jmp 0x51d384
push 0x100374c8
push eax
call fcn.00527a44
add esp, 8
cmp eax, edi
jne 0x51d380
or eax, 0xffffffff
jmp 0x51d384
sub eax, dword [ebx]
sar eax, 1
cmp eax, edi
setg bl
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0050ae08
mov edx, dword [ebp + 0x10]
test bl, bl
je 0x51d3ce
push edx
call dword [0x10035210]
push 0x10037490
add esi, 0x74
lea eax, [ebp + 0xc]
push esi
push eax
call fcn.0050c708
add esp, 0xc
mov byte [ebp - 4], 0x16
push 2
push eax
mov ecx, 0x100436dc
call fcn.0051f638
jmp 0x51d19e
lea ecx, [esi + 0x68]
push ecx
push edx
mov ecx, esi
call fcn.0051cca8
mov eax, dword [ebp + 0x10]
push eax
call dword [0x10035210]
push 0x10037470
add esi, 0x74
lea ecx, [ebp + 0xc]
push esi
push ecx
call fcn.0050c708
add esp, 0xc
mov byte [ebp - 4], 0x17
push 2
push eax
mov ecx, 0x100436dc
call fcn.0051f638
jmp 0x51d281
push 0x10037454
add esi, 0x74
push esi
push edx
call fcn.0050c708
add esp, 0xc
mov byte [ebp - 4], 0x18
push 2
push eax
mov ecx, 0x100436dc
call fcn.0051f638
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
jmp 0x51d1a5
mov eax, dword [0x1004213c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1004213c
call edx
add eax, 0x10
mov dword [ebp + 0x10], eax
mov bl, 8
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp + 0x10]
push 0x10037430
push ecx
call fcn.0050c408
lea edx, [ebp + 0x10]
push edx
add esi, 0x74
lea eax, [ebp + 0xc]
push esi
push eax
call fcn.0050c648
add esp, 0x18
mov byte [ebp - 4], 9
push 2
push eax
mov ecx, 0x100436dc
call fcn.0051f638
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51d4b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51d4d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0050d478
mov eax, 0xfffffc12
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc