Function at 0x5320be
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10033330
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.0052233e
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.005225ce
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 0x532129
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 0x532132
mov dword [eax], edi
mov dword [ebp - 0x1c], edi
call dword [0x100351c8]
mov ebx, dword [0x100351f0]
mov dword [ebp - 0x20], eax
jmp 0x53214e
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 0x532253
cmp word [ebp - 0x1c], 0xffff
je 0x532263
mov edi, dword [0x100351c8]
call edi
mov ecx, eax
mov eax, dword [ebp + 0xc]
sub ecx, dword [eax]
cmp ecx, dword [eax + 4]
jge 0x5321cc
call edi
sub eax, dword [ebp - 0x20]
cmp eax, 0x2710
jl 0x53214e
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x58]
push eax
call edx
cmp word [ebp - 0x1c], 0xffff
je 0x532263
push 0x10037520
add esi, 0x74
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.0052193e
add esp, 0xc
mov byte [ebp - 4], 5
push 2
push eax
mov ecx, 0x100436dc
call fcn.0053475e
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 0x53222b
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.005226ae
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 0x5321d7
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 0x532604
cmp dword [ebp - 0x24], 0xc8
jne 0x532604
cmp dword [esi + 0x28], edi
jne 0x5324e0
push 0x10037510
lea ecx, [ebp + 0xc]
call fcn.0052233e
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 0x5322f7
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0052233e
mov byte [ebp - 4], 0xd
push 0x1003750c
push 0x10037428
lea ecx, [ebp - 0x18]
call fcn.0053189e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.005212be
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18]
call fcn.0052003e
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 0x532478
cmp eax, edi
je 0x532483
push eax
lea ecx, [ebp - 0x18]
call fcn.0052233e
mov bl, 0xe
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], edi
jl 0x532398
push 0x10037500
push eax
call fcn.0053cb23
add esp, 8
cmp eax, edi
je 0x532398
sub eax, dword [ebp - 0x18]
sar eax, 1
js 0x532398
mov eax, dword [ebp - 0x14]
push eax
call dword [0x10035210]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18]
call fcn.0052003e
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0052003e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005226ae
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 ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0052233e
mov edi, eax
mov byte [ebp - 4], 0xf
push 0x100374f0
lea ecx, [ebp - 0x2c]
call fcn.0052233e
mov byte [ebp - 4], 0x10
push edi
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.0052187e
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.005212be
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.0052003e
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.0052003e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.0052003e
lea eax, [ebp + 0xc]
push eax
add esi, 0x74
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.0052187e
add esp, 0xc
mov byte [ebp - 4], 0x12
push 2
push eax
mov ecx, 0x100436dc
call fcn.0053475e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.0052003e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x53243b
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18]
call fcn.0052003e
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0052003e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005226ae
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 0x532483
push eax
call dword [0x10035210]
push 0x100374dc
lea ecx, [ebp + 0x10]
call fcn.0052233e
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.005212be
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x10]
call fcn.0052003e
lea eax, [ebp + 0xc]
push eax
add esi, 0x74
lea ecx, [ebp + 0x10]
push esi
push ecx
call fcn.0052187e
add esp, 0xc
mov byte [ebp - 4], 0x14
push 2
push eax
mov ecx, 0x100436dc
call fcn.0053475e
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x10]
jmp 0x53235f
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
lea ecx, [esi + 0x58]
push ecx
push eax
call edx
lea edx, [ebp + 0x10]
cmp eax, edi
jne 0x5325d5
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 0x5325aa
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0052233e
mov ebx, eax
mov byte [ebp - 4], 0x15
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
jge 0x53252f
or eax, 0xffffffff
jmp 0x53254a
push 0x100374c8
push eax
call fcn.0053cb23
add esp, 8
cmp eax, edi
jne 0x532546
or eax, 0xffffffff
jmp 0x53254a
sub eax, dword [ebx]
sar eax, 1
cmp eax, edi
setg bl
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0052003e
mov edx, dword [ebp + 0x10]
test bl, bl
je 0x532594
push edx
call dword [0x10035210]
push 0x10037490
add esi, 0x74
lea eax, [ebp + 0xc]
push esi
push eax
call fcn.0052193e
add esp, 0xc
mov byte [ebp - 4], 0x16
push 2
push eax
mov ecx, 0x100436dc
call fcn.0053475e
jmp 0x532364
lea ecx, [esi + 0x68]
push ecx
push edx
mov ecx, esi
call fcn.00531e7e
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.0052193e
add esp, 0xc
mov byte [ebp - 4], 0x17
push 2
push eax
mov ecx, 0x100436dc
call fcn.0053475e
jmp 0x532447
push 0x10037454
add esi, 0x74
push esi
push edx
call fcn.0052193e
add esp, 0xc
mov byte [ebp - 4], 0x18
push 2
push eax
mov ecx, 0x100436dc
call fcn.0053475e
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
jmp 0x53236b
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.0052163e
lea edx, [ebp + 0x10]
push edx
add esi, 0x74
lea eax, [ebp + 0xc]
push esi
push eax
call fcn.0052187e
add esp, 0x18
mov byte [ebp - 4], 9
push 2
push eax
mov ecx, 0x100436dc
call fcn.0053475e
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 0x532677
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 0x53269a
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.005226ae
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