Function at 0x40e5b0
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x42cda7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], ebp
xor ebx, ebx
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x184]
mov ecx, dword [ebx + eax + 0x10]
lea eax, [ebx + eax + 0x10]
cmp ecx, ebp
je 0x40e8a2
mov edx, dword [esi + 0xd80]
mov ecx, dword [esi + 0xd6c]
inc edx
inc ecx
mov dword [esi + 0xd80], edx
mov dword [esi + 0xd6c], ecx
mov dword [eax], ebp
mov ecx, dword [esi + 0x184]
push 1
mov edx, dword [ebx + ecx + 0xc]
push edx
mov eax, dword [ebx + ecx + 8]
lea ecx, [esp + 0x2c]
push eax
call fcn.00403ec0
mov ecx, dword [esi + 0x188]
xor edx, edx
lea edi, [ecx + 0x10]
cmp dword [edi], ebp
je 0x40e647
inc edx
add edi, 0x1c
cmp edx, 0x14
jl 0x40e635
mov edx, 0x13
lea edi, [edx*8]
sub edi, edx
mov edx, dword [eax + 4]
lea ecx, [ecx + edi*4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x18], eax
lea ecx, [esp + 0x24]
call fcn.00403eb0
mov ecx, dword [0x438030]
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0x200]
mov ecx, dword [esi + 0x184]
mov dword [esp + 0xa0], ebp
mov eax, dword [edx + 4]
push eax
mov eax, dword [ebx + ecx + 0x14]
inc eax
lea edx, [eax + eax*4]
lea eax, [esp + 0x18]
shl edx, 1
push edx
push str._d_X__d
push eax
call fcn.0041f627
add esp, 0x10
lea edx, [esp + 0x14]
push 0xff
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00424104
mov eax, dword [esi + 0x184]
add eax, ebx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.00405400
mov ebp, eax
mov eax, dword [esi + 0x190]
mov byte [esp + 0xa0], 1
xor edi, edi
lea ecx, [eax + 0x10]
cmp dword [ecx], 0
je 0x40e715
inc edi
add ecx, 0x20
cmp edi, 0x14
jl 0x40e702
mov edi, 0x13
shl edi, 5
add edi, eax
mov eax, dword [ebp + 4]
mov dword [edi + 4], eax
mov ecx, dword [ebp + 8]
mov dword [edi + 8], ecx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp + 0x14]
mov dword [edi + 0xc], edx
mov eax, dword [ebp + 0x10]
push ecx
lea ecx, [edi + 0x14]
mov dword [edi + 0x10], eax
call fcn.00424438
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0x40]
mov dword [edi + 0x18], edx
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x1c], eax
mov byte [esp + 0xa0], 0
call fcn.00405300
mov ecx, dword [esi + 0x184]
mov edi, dword [esi + 0xd78]
mov ebp, dword [esi + 0xd68]
mov eax, dword [ebx + ecx + 0x14]
lea edx, [ebx + ecx + 0x14]
mov ecx, dword [esi + 0x200]
inc eax
imul eax, dword [ecx + 4]
lea eax, [eax + eax*4]
shl eax, 1
add edi, eax
mov dword [esi + 0xd78], edi
mov eax, dword [edx]
inc eax
imul eax, dword [ecx + 4]
lea eax, [eax + eax*4]
shl eax, 1
add ebp, eax
mov dword [esi + 0xd68], ebp
mov eax, dword [edx]
inc eax
imul eax, dword [ecx + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
lea edx, [eax + edx*2]
mov eax, dword [esi + 0x188]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + eax + 0x18]
mov edx, dword [ecx + eax*4]
inc edx
lea eax, [ecx + eax*4]
mov dword [eax], edx
mov ecx, dword [esi + 0x184]
lea eax, [ebx + ecx]
mov ecx, dword [ebx + ecx + 0x14]
cmp ecx, 3
jne 0x40e88c
mov cl, byte [esi + 0x26c]
test cl, cl
jne 0x40e88c
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add eax, 0x1e
lea edx, [ecx - 0xa]
add ecx, 0x14
push edx
push eax
push 1
push ecx
lea ecx, [esp + 0x70]
call fcn.004051b0
mov edi, dword [esi + 0x194]
xor ecx, ecx
lea edx, [edi + 0x10]
cmp dword [edx], 0
je 0x40e829
inc ecx
add edx, 0x38
cmp ecx, 8
jl 0x40e819
xor ecx, ecx
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [edi + edx*8]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x18], edx
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ecx + 0x24], edx
mov edx, dword [eax + 0x28]
mov dword [ecx + 0x28], edx
mov edx, dword [eax + 0x2c]
mov dword [ecx + 0x2c], edx
mov edx, dword [eax + 0x30]
mov dword [ecx + 0x30], edx
mov eax, dword [eax + 0x34]
mov dword [ecx + 0x34], eax
lea ecx, [esp + 0x60]
call fcn.004051a0
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0042438f
xor ebp, ebp
mov eax, dword [esp + 0x10]
add ebx, 0x2c
add eax, 0x1c
cmp eax, 0x230
mov dword [esp + 0x10], eax
jl 0x40e5dd
mov dword [esp + 0x14], ebp
xor ebx, ebx
mov ecx, dword [esi + 0x198]
lea eax, [ebx + ecx + 0x10]
mov ecx, dword [ebx + ecx + 0x10]
cmp ecx, ebp
je 0x40eaae
mov ecx, dword [esi + 0xd80]
mov edi, dword [esi + 0xd6c]
inc ecx
inc edi
mov dword [esi + 0xd80], ecx
mov dword [esi + 0xd6c], edi
mov dword [eax], ebp
mov edx, dword [esi + 0x198]
push 1
mov eax, dword [ebx + edx + 0xc]
push eax
mov ecx, dword [ebx + edx + 8]
push ecx
lea ecx, [esp + 0x30]
call fcn.00403ec0
mov ecx, dword [esi + 0x188]
xor edx, edx
lea edi, [ecx + 0x10]
cmp dword [edi], 0
je 0x40e92c
inc edx
add edi, 0x1c
cmp edx, 0x14
jl 0x40e919
mov edx, 0x13
lea edi, [edx*8]
sub edi, edx
mov edx, dword [eax + 4]
lea ecx, [ecx + edi*4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x18], eax
lea ecx, [esp + 0x24]
call fcn.00403eb0
mov ecx, dword [0x438030]
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0x200]
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 2
mov eax, dword [edx + 4]
push eax
push 0x32
push str._d_X__d
push ecx
call fcn.0041f627
add esp, 0x10
lea edx, [esp + 0x10]
push 0xff
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00424104
mov eax, dword [esi + 0x198]
add eax, ebx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.00405400
mov ebp, eax
mov eax, dword [esi + 0x190]
mov byte [esp + 0xa0], 3
xor edi, edi
lea ecx, [eax + 0x10]
cmp dword [ecx], 0
je 0x40e9ef
inc edi
add ecx, 0x20
cmp edi, 0x14
jl 0x40e9dc
mov edi, 0x13
shl edi, 5
add edi, eax
mov eax, dword [ebp + 4]
mov dword [edi + 4], eax
mov ecx, dword [ebp + 8]
mov dword [edi + 8], ecx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp + 0x14]
mov dword [edi + 0xc], edx
mov eax, dword [ebp + 0x10]
push ecx
lea ecx, [edi + 0x14]
mov dword [edi + 0x10], eax
call fcn.00424438
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0x40]
mov dword [edi + 0x18], edx
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x1c], eax
mov byte [esp + 0xa0], 2
call fcn.00405300
mov eax, dword [esi + 0x200]
mov edx, dword [esi + 0xd78]
mov edi, dword [esi + 0xd68]
mov dword [esp + 0xa0], 0xffffffff
mov ecx, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 1
add edx, ecx
mov dword [esi + 0xd78], edx
mov ecx, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
shl edx, 1
add edi, edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0xd68], edi
mov ecx, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2]
mov edx, dword [esi + 0x188]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + edx + 0x18]
mov ecx, dword [eax + edx*4]
inc ecx
lea eax, [eax + edx*4]
mov dword [eax], ecx
lea ecx, [esp + 0x10]
call fcn.0042438f
xor ebp, ebp
mov ecx, dword [esp + 0x14]
add ebx, 0x2c
add ecx, 0x1c
cmp ebx, 0xdc
mov dword [esp + 0x14], ecx
jl 0x40e8c1
mov dword [esp + 0x14], ebp
xor ebx, ebx
mov eax, dword [esi + 0x19c]
mov ecx, dword [eax + ebx + 0x10]
lea eax, [eax + ebx + 0x10]
cmp ecx, ebp
je 0x40ecb2
mov edx, dword [esi + 0xd80]
mov ecx, dword [esi + 0xd6c]
inc edx
inc ecx
mov dword [esi + 0xd80], edx
mov dword [esi + 0xd6c], ecx
mov dword [eax], ebp
mov ecx, dword [esi + 0x19c]
push 1
mov edx, dword [ecx + ebx + 0xc]
push edx
mov eax, dword [ecx + ebx + 8]
lea ecx, [esp + 0x2c]
push eax
call fcn.00403ec0
mov ecx, dword [esi + 0x188]
xor edx, edx
lea edi, [ecx + 0x10]
cmp dword [edi], 0
je 0x40eb39
inc edx
add edi, 0x1c
cmp edx, 0x14
jl 0x40eb26
mov edx, 0x13
lea edi, [edx*8]
sub edi, edx
mov edx, dword [eax + 4]
lea ecx, [ecx + edi*4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x18], eax
lea ecx, [esp + 0x24]
call fcn.00403eb0
mov ecx, dword [0x438030]
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0x200]
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 4
mov eax, dword [edx + 4]
push eax
push 0x64
push str._d_X__d
push ecx
call fcn.0041f627
add esp, 0x10
lea edx, [esp + 0x10]
push 0xff
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00424104
mov eax, dword [esi + 0x19c]
add eax, ebx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.00405400
mov ebp, eax
mov eax, dword [esi + 0x190]
mov byte [esp + 0xa0], 5
xor edi, edi
lea ecx, [eax + 0x10]
cmp dword [ecx], 0
je 0x40ebfc
inc edi
add ecx, 0x20
cmp edi, 0x14
jl 0x40ebe9
mov edi, 0x13
shl edi, 5
add edi, eax
mov eax, dword [ebp + 4]
mov dword [edi + 4], eax
mov ecx, dword [ebp + 8]
mov dword [edi + 8], ecx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp + 0x14]
mov dword [edi + 0xc], edx
mov eax, dword [ebp + 0x10]
push ecx
lea ecx, [edi + 0x14]
mov dword [edi + 0x10], eax
call fcn.00424438
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0x40]
mov dword [edi + 0x18], edx
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x1c], eax
mov byte [esp + 0xa0], 4
call fcn.00405300
mov ecx, dword [esi + 0x200]
mov edi, dword [esp + 0x18]
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0xd78]
shl edx, 2
add eax, edx
mov edx, dword [esi + 0xd68]
mov dword [esi + 0xd78], eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
add edx, eax
add edi, eax
mov eax, dword [esi + 0x188]
mov dword [esi + 0xd68], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edi
mov eax, dword [eax + edx + 0x18]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
lea ecx, [esp + 0x10]
call fcn.0042438f
xor ebp, ebp
mov ecx, dword [esp + 0x14]
add ebx, 0x28
add ecx, 0x1c
cmp ebx, 0xc8
mov dword [esp + 0x14], ecx
jl 0x40eace
mov eax, dword [esi + 0xd40]
mov dword [esi + 0x1e0], ebp
cmp eax, ebp
mov dword [esi + 0x1dc], ebp
mov dword [esi + 0x1c8], ebp
mov ebx, 6
je 0x40eecd
mov ecx, dword [esi + 0xd80]
mov eax, dword [esi + 0xd6c]
mov edx, dword [esi + 0xd38]
inc ecx
mov dword [esi + 0xd80], ecx
mov ecx, dword [esi + 0xd3c]
push 1
inc eax
push ecx
push edx
lea ecx, [esp + 0x30]
mov dword [esi + 0xd6c], eax
mov dword [esi + 0xd40], ebp
call fcn.00403ec0
mov ecx, dword [esi + 0x188]
xor edx, edx
lea edi, [ecx + 0x10]
cmp dword [edi], ebp
je 0x40ed47
inc edx
add edi, 0x1c
cmp edx, 0x14
jl 0x40ed35
mov edx, 0x13
lea edi, [edx*8]
sub edi, edx
mov edx, dword [eax + 4]
lea ecx, [ecx + edi*4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x18], eax
lea ecx, [esp + 0x24]
call fcn.00403eb0
mov ecx, dword [0x438030]
mov dword [esp + 0x1c], ecx
mov edx, dword [esi + 0x200]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa0], ebx
mov eax, dword [edx + 4]
push eax
push 0x1f4
push str._d_X__d
push ecx
call fcn.0041f627
add esp, 0x10
lea edx, [esp + 0x1c]
push 0xff
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00424104
mov eax, dword [esi + 0xd3c]
mov ecx, dword [esi + 0xd38]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.00405400
mov ebp, eax
mov eax, dword [esi + 0x190]
mov byte [esp + 0xa0], 7
xor edi, edi
lea ecx, [eax + 0x10]
cmp dword [ecx], 0
je 0x40ee07
inc edi
add ecx, 0x20
cmp edi, 0x14
jl 0x40edf4
mov edi, 0x13
mov edx, dword [ebp + 4]
shl edi, 5
add edi, eax
mov dword [edi + 4], edx
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
lea ecx, [edi + 0x14]
push eax
mov dword [edi + 0x10], edx
call fcn.00424438
mov ecx, dword [ebp + 0x18]
mov byte [esp + 0xa0], bl
mov dword [edi + 0x18], ecx
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x60]
mov dword [edi + 0x1c], edx
call fcn.00405300
mov eax, dword [esi + 0x200]
mov edx, dword [esi + 0xd78]
mov edi, dword [esi + 0xd68]
mov dword [esp + 0xa0], 0xffffffff
mov ecx, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 2
add edx, ecx
mov dword [esi + 0xd78], edx
mov ecx, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
shl edx, 2
add edi, edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0xd68], edi
mov ecx, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
mov edx, dword [esi + 0x188]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0xa4]
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
inc ecx
mov dword [eax], ecx
lea ecx, [esp + 0x1c]
call fcn.0042438f
xor ebp, ebp
mov eax, 0x230
mov edx, dword [esi + 0x18c]
add eax, 0x38
cmp eax, 0x7a8
mov dword [edx + eax - 0x28], ebp
jl 0x40eed2
xor eax, eax
mov ecx, dword [esi + 0x200]
add eax, 4
cmp eax, 0x28
mov dword [ecx + eax - 4], 1
jl 0x40eee8
mov edx, dword [0x438030]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
push 0x4379a0
push ecx
mov dword [esp + 0xac], 8
call fcn.0041f627
add esp, 0xc
lea ecx, [esi + 0x1b4]
push 0x437988
call fcn.00424488
lea edx, [esp + 0x20]
lea ecx, [esi + 0x1b8]
push edx
call fcn.00424438
mov eax, dword [esi + 0x1c4]
mov ecx, dword [esi + 0x1d4]
add eax, ebx
mov dword [esi + 0x1a8], 1
mov dword [esi + 0x1a4], 0x32
mov byte [esi + 0x1bc], 0
lea eax, [eax + eax*4]
cmp ecx, eax
jle 0x40ef83
push ebp
push ebp
mov ecx, esi
call fcn.0040d160
lea ecx, [esp + 0x20]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0042438f
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret