Function at 0x401d50
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d07e7
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4ff0f4]
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
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x6c], ebx
push eax
call fcn.00417f90
mov dword [ebp - 4], ebx
mov eax, 1
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x50]
call fcn.00405840
mov byte [ebp - 4], 2
mov dword [ebp - 0x7c], ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x401ee0
lea eax, [eax + ebx*4]
push eax
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x50]
call fcn.00405670
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
mov esi, dword [ebp - 0x50]
add esi, 0xfffffff0
cmp eax, esi
je 0x401e3f
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x401e32
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x401e32
push eax
call fcn.00409390
add esp, 4
mov dword [ebp - 0x64], eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x401e27
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x10
mov dword [ebp - 0x50], ecx
jmp 0x401e3f
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.00409300
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.00405410
mov esi, dword [ebp - 0x58]
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
dec edx
cmp ebx, edx
jae 0x401eda
push 0x4eac78
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
call fcn.00405720
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
mov esi, dword [ebp - 0x50]
add esi, 0xfffffff0
cmp eax, esi
je 0x401ecb
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x401ebe
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x401ebe
push eax
call fcn.00409390
add esp, 4
mov dword [ebp - 0x64], eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x401eb3
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x10
mov dword [ebp - 0x50], ecx
jmp 0x401ecb
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.00409300
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00405410
mov esi, dword [ebp - 0x58]
inc ebx
jmp 0x401dbb
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.00414730
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
mov esi, dword [ebp - 0x50]
add esi, 0xfffffff0
cmp eax, esi
je 0x401f47
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x401f3a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x401f3a
push eax
call fcn.00409390
add esp, 4
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x401f32
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
mov eax, dword [edx + 4]
call eax
add ebx, 0x10
mov dword [ebp - 0x50], ebx
jmp 0x401f47
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.00409300
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00405410
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx - 0xc]
lea edi, [eax + 4]
lea edx, [ebp - 0x64]
push edx
call fcn.004492a0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x50]
mov edx, dword [eax - 0xc]
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x54], 0xffffffff
lea edi, [ebp - 0x54]
call fcn.00455190
mov eax, dword [ebp - 0x54]
not eax
mov dword [ebp - 0x54], eax
mov edi, dword [ebp - 0x64]
mov ecx, dword [edi]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov edx, dword [edi]
add edx, 4
push edx
call fcn.004ac5e0
add esp, 0xc
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 7
lea esi, [ebp - 0x88]
call fcn.00406c70
push ebx
push ebx
push ebx
push 1
push 0x4eac7c
mov eax, dword [eax + 8]
call eax
mov ebx, eax
mov dword [ebp - 0x74], ebx
test ebx, ebx
je 0x402201
lea esi, [ebp - 0x88]
call fcn.00406d60
push 0
push 0
push 3
push 0
push 0
push 0x53
mov ecx, dword [ebp - 0x5c]
push ecx
push ebx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x68], eax
test eax, eax
je 0x4021f0
push 0x14
lea ecx, [ebp - 0x54]
call fcn.00440490
mov byte [ebp - 4], 8
mov ebx, dword [eax]
lea esi, [ebp - 0x88]
call fcn.00406e50
push 0
push 0x8400f200
push 0
push 0
push 0
mov ecx, dword [ebp - 0x60]
push ecx
push ebx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [eax + 8]
call eax
mov ebx, eax
mov dword [ebp - 0x58], ebx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00405410
test ebx, ebx
je 0x4021d9
push 0x13
lea ecx, [ebp - 0x60]
call fcn.00440490
mov byte [ebp - 4], 9
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.00448560
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x60]
call fcn.00405410
mov eax, dword [ebp - 0x54]
mov edx, dword [eax - 0xc]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], eax
lea esi, [ebp - 0x88]
call fcn.00406f40
push 0xa0000000
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
push ebx
mov eax, dword [eax + 8]
call eax
mov ecx, dword [edi + 4]
mov dword [ebp - 0x60], ecx
mov edi, dword [edi]
lea esi, [ebp - 0x88]
call fcn.00407030
mov edx, dword [ebp - 0x60]
push edx
push edi
push 0xffffffffffffffff
push 0
push ebx
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4021bc
push 0x13
lea ecx, [ebp - 0x58]
call fcn.00412e00
add esp, 4
cmp eax, 0xc8
jne 0x4021b9
push 5
lea ecx, [ebp - 0x58]
call fcn.00412e00
add esp, 4
mov dword [ebp - 0x60], eax
test eax, eax
jle 0x4021b9
xor edi, edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x5c], 0x1000
push edi
push 0x1000
lea ecx, [ebp - 0x4c]
call fcn.00405e20
mov byte [ebp - 4], 0xc
mov ebx, dword [ebp - 0x58]
lea esp, [esp]
or dword [ebp - 0x6c], 2
lea esi, [ebp - 0x88]
call fcn.00407120
lea esi, [eax + 8]
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
push 0
lea ecx, [ebp - 0x4c]
call fcn.00406030
push eax
push ebx
mov eax, dword [esi]
call eax
test eax, eax
je 0x402168
cmp dword [ebp - 0x5c], 0
je 0x402168
mov al, 1
jmp 0x40216a
xor al, al
test byte [ebp - 0x6c], 2
je 0x402174
and dword [ebp - 0x6c], 0xfffffffd
test al, al
je 0x40219e
mov ecx, dword [ebp - 0x5c]
push ecx
push 0
lea ecx, [ebp - 0x4c]
call fcn.00406030
push eax
lea eax, [ebp - 0x30]
call fcn.00405e80
add edi, dword [ebp - 0x5c]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x5c], 0x1000
jmp 0x402130
cmp edi, dword [ebp - 0x60]
je 0x4021ab
lea edi, [ebp - 0x30]
call fcn.00405f90
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4c]
call fcn.00405e50
jmp 0x4021bc
mov ebx, dword [ebp - 0x58]
lea esi, [ebp - 0x88]
call fcn.00407210
push ebx
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00405410
lea esi, [ebp - 0x88]
call fcn.00407210
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [eax + 8]
call edx
mov ebx, dword [ebp - 0x74]
lea esi, [ebp - 0x88]
call fcn.00407210
push ebx
mov eax, dword [eax + 8]
call eax
cmp dword [ebp - 0x1c], 0
je 0x402283
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x402213
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405360
mov byte [ebp - 4], 0xd
push 0x4eac80
lea ecx, [ebp - 0x68]
call fcn.00405360
mov bl, 0xe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x68]
push ecx
push 0x4eac84
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.00449080
add esp, 0x10
mov byte [ebp - 4], 0xf
push eax
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.00406ab0
mov byte [ebp - 4], bl
lea edx, [ebp - 0x94]
push edx
call fcn.00406a30
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x68]
call fcn.00405410
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.00405410
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00405e50
mov byte [ebp - 4], 2
lea edi, [ebp - 0x64]
call fcn.00449350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00405410
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70]
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.004a974c
mov esp, ebp
pop ebp
ret