Function at 0x40ad1e
Capabilities:
Check http status code

Disassembly:
push ebp
lea ebp, [esp - 0x3c7c]
mov eax, 0x3c7c
call fcn.0041e050
push 0xffffffffffffffff
push 0x431a74
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4406a0]
xor eax, ebp
mov dword [ebp + 0x3c78], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x3c84]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ebx
push 0xf
pop edi
mov dword [ebp - 4], ebx
mov dword [ebp + 0xa0], edi
mov dword [ebp + 0x9c], ebx
mov byte [ebp + 0x8c], bl
mov dword [ebp + 0x84], edi
mov dword [ebp + 0x80], ebx
mov byte [ebp + 0x70], bl
mov dword [ebp + 0xbc], edi
mov dword [ebp + 0xb8], ebx
mov byte [ebp + 0xa8], bl
mov dword [ebp + 0x4c], edi
mov dword [ebp + 0x48], ebx
mov byte [ebp + 0x38], bl
mov dword [ebp + 0x30], edi
mov dword [ebp + 0x2c], ebx
mov byte [ebp + 0x1c], bl
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x10], ebx
mov byte [ebp], bl
lea eax, [ebp + 0x3c88]
push eax
lea eax, [ebp + 0xc4]
push eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x14], ebx
call fcn.00409d0d
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 7
call fcn.0040439f
push ebx
push 1
lea ecx, [ebp + 0xc4]
mov byte [ebp - 4], 6
call fcn.00403de3
push 8
pop esi
push esi
push str.https:__
push esi
push ebx
lea ecx, [ebp + 0xa8]
call fcn.00408729
test eax, eax
je 0x40ae2f
push 7
pop esi
push esi
push str.http:__
push esi
push ebx
lea ecx, [ebp + 0xa8]
call fcn.00408729
test eax, eax
jne 0x40ae32
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x14]
push 1
inc eax
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xa8]
mov byte [ebp - 0x18], 0x2f
call fcn.004085dd
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ae89
push ebx
push 0x436a4c
lea ecx, [ebp + 0xc4]
mov dword [ebp + 0xd8], edi
mov dword [ebp + 0xd4], ebx
mov byte [ebp + 0xc4], bl
call fcn.004042e8
lea eax, [ebp + 0xc4]
mov byte [ebp - 4], 8
mov dword [ebp - 0x10], 1
jmp 0x40aea9
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0xa8]
call fcn.0040a620
mov dword [ebp - 4], 9
mov dword [ebp - 0x10], 2
push eax
lea ecx, [ebp + 0x8c]
call fcn.0040439f
test byte [ebp - 0x10], 2
je 0x40aeca
and dword [ebp - 0x10], 0xfffffffd
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.00403de3
test byte [ebp - 0x10], 1
mov dword [ebp - 4], 6
je 0x40aee9
and dword [ebp - 0x10], 0xfffffffe
push ebx
push 1
lea ecx, [ebp + 0xc4]
call fcn.00403de3
mov eax, dword [ebp + 0xa8]
cmp esi, 0xffffffff
je 0x40af08
cmp dword [ebp + 0xbc], 0x10
jae 0x40af03
lea eax, [ebp + 0xa8]
lea ecx, [eax + esi]
jmp 0x40af1f
cmp dword [ebp + 0xbc], 0x10
jae 0x40af17
lea eax, [ebp + 0xa8]
mov ecx, dword [ebp + 0xb8]
add ecx, eax
cmp dword [ebp + 0xbc], 0x10
mov eax, dword [ebp + 0xa8]
jae 0x40af34
lea eax, [ebp + 0xa8]
add eax, dword [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp + 0x54]
call fcn.00408bb8
push eax
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 0xa
call fcn.0040439f
push ebx
push 1
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 6
call fcn.00403de3
push ebx
push 0x4386dc
lea ecx, [ebp + 0x8c]
call fcn.004087a6
cmp eax, 0xffffffff
je 0x40af8e
push eax
push ebx
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x8c]
call fcn.0040a620
or dword [ebp - 0x10], 4
mov byte [ebp - 4], 0xb
jmp 0x40afc6
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x8c]
push eax
lea ecx, [ebp + 0xc4]
mov dword [ebp + 0xd8], edi
mov dword [ebp + 0xd4], ebx
mov byte [ebp + 0xc4], bl
call fcn.00404209
or dword [ebp - 0x10], 8
lea eax, [ebp + 0xc4]
mov dword [ebp - 4], 0xc
push eax
lea ecx, [ebp + 0x8c]
call fcn.0040439f
test byte [ebp - 0x10], 8
je 0x40afea
and dword [ebp - 0x10], 0xfffffff7
push ebx
push 1
lea ecx, [ebp + 0xc4]
call fcn.00403de3
test byte [ebp - 0x10], 4
mov dword [ebp - 4], 6
je 0x40b006
and dword [ebp - 0x10], 0xfffffffb
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.00403de3
push ebx
push 0x438594
lea ecx, [ebp + 0x70]
call fcn.004087a6
mov esi, eax
cmp esi, 0xffffffff
je 0x40b037
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x70]
call fcn.0040a620
or dword [ebp - 0x10], 0x10
mov byte [ebp - 4], 0xd
jmp 0x40b06b
push ebx
push 0x436a4c
lea ecx, [ebp + 0xc4]
mov dword [ebp + 0xd8], edi
mov dword [ebp + 0xd4], ebx
mov byte [ebp + 0xc4], bl
call fcn.004042e8
or dword [ebp - 0x10], 0x20
lea eax, [ebp + 0xc4]
mov dword [ebp - 4], 0xe
push eax
lea ecx, [ebp + 0x1c]
call fcn.0040439f
test byte [ebp - 0x10], 0x20
je 0x40b08c
and dword [ebp - 0x10], 0xffffffdf
push ebx
push 1
lea ecx, [ebp + 0xc4]
call fcn.00403de3
test byte [ebp - 0x10], 0x10
mov dword [ebp - 4], 6
je 0x40b0a8
and dword [ebp - 0x10], 0xffffffef
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.00403de3
mov eax, esi
cmp esi, 0xffffffff
jne 0x40b0b5
mov eax, dword [ebp + 0x80]
push eax
push ebx
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x70]
call fcn.0040a620
push eax
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 0xf
call fcn.0040439f
push ebx
push 1
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 6
call fcn.00403de3
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jle 0x40b104
add eax, 0xfffffffd
push eax
push ebx
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0xa8]
call fcn.0040a620
or dword [ebp - 0x10], 0x40
mov byte [ebp - 4], 0x10
jmp 0x40b13b
push ebx
push 0x436a4c
lea ecx, [ebp + 0xc4]
mov dword [ebp + 0xd8], edi
mov dword [ebp + 0xd4], ebx
mov byte [ebp + 0xc4], bl
call fcn.004042e8
or dword [ebp - 0x10], 0x80
lea eax, [ebp + 0xc4]
mov dword [ebp - 4], 0x11
push eax
lea ecx, [ebp + 0x38]
call fcn.0040439f
test byte [ebp - 0x10], 0x80
je 0x40b15f
and dword [ebp - 0x10], 0xffffff7f
push ebx
push 1
lea ecx, [ebp + 0xc4]
call fcn.00403de3
test byte [ebp - 0x10], 0x40
mov dword [ebp - 4], 6
je 0x40b17b
and dword [ebp - 0x10], 0xffffffbf
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.00403de3
push ebx
push 0x4386d8
lea ecx, [ebp + 0x8c]
call fcn.004087a6
mov dword [ebp - 0x14], eax
mov esi, 0x200
cmp eax, 0xffffffff
je 0x40b1b9
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x8c]
call fcn.0040a620
or dword [ebp - 0x10], 0x100
mov byte [ebp - 4], 0x12
jmp 0x40b1ec
push ebx
push 0x436a4c
lea ecx, [ebp + 0xc4]
mov dword [ebp + 0xd8], edi
mov dword [ebp + 0xd4], ebx
mov byte [ebp + 0xc4], bl
call fcn.004042e8
or dword [ebp - 0x10], esi
lea eax, [ebp + 0xc4]
mov dword [ebp - 4], 0x13
push eax
lea ecx, [ebp]
call fcn.0040439f
test dword [ebp - 0x10], esi
je 0x40b20f
and dword [ebp - 0x10], 0xfffffdff
push ebx
push 1
lea ecx, [ebp + 0xc4]
call fcn.00403de3
test dword [ebp - 0x10], 0x100
mov dword [ebp - 4], 6
je 0x40b231
and dword [ebp - 0x10], 0xfffffeff
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.00403de3
cmp dword [ebp - 0x14], 0xffffffff
mov esi, 0x800
je 0x40b25c
push dword [ebp - 0x14]
lea eax, [ebp + 0x54]
push ebx
push eax
lea ecx, [ebp + 0x8c]
call fcn.0040a620
or dword [ebp - 0x10], 0x400
mov byte [ebp - 4], 0x14
jmp 0x40b293
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x8c]
push eax
lea ecx, [ebp + 0xc4]
mov dword [ebp + 0xd8], edi
mov dword [ebp + 0xd4], ebx
mov byte [ebp + 0xc4], bl
call fcn.00404209
or dword [ebp - 0x10], esi
lea eax, [ebp + 0xc4]
mov dword [ebp - 4], 0x15
push eax
lea ecx, [ebp + 0x8c]
call fcn.0040439f
test dword [ebp - 0x10], esi
je 0x40b2b9
and dword [ebp - 0x10], 0xfffff7ff
push ebx
push 1
lea ecx, [ebp + 0xc4]
call fcn.00403de3
test dword [ebp - 0x10], 0x400
mov dword [ebp - 4], 6
je 0x40b2d4
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.00403de3
push 0x3a98
lea eax, [ebp + 0xe0]
push ebx
push eax
call fcn.0041dfc0
mov eax, dword [ebp + 0x70]
add esp, 0xc
push 0x10
pop esi
cmp dword [ebp + 0x84], esi
jae 0x40b2fa
lea eax, [ebp + 0x70]
push eax
call dword [0x452edc]
mov eax, dword [ebp + 0x3c88]
cmp dword [ebp + 0x3c9c], esi
jae 0x40b315
lea eax, [ebp + 0x3c88]
push eax
call dword [0x452edc]
push ebx
push ebx
push ebx
push ebx
push 0x436a4c
call dword [0x452efc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x30], esi
jae 0x40b339
lea eax, [ebp + 0x1c]
push eax
call fcn.0041f690
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x38]
pop ecx
cmp dword [ebp + 0x4c], esi
jae 0x40b34e
lea eax, [ebp + 0x38]
push str.https
push eax
call dword [0x452ff0]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xff800000
add esi, 0x4800000
cmp dword [ebp - 0x14], ebx
je 0x40b457
cmp dword [ebp + 0x84], 0x10
mov eax, dword [ebp + 0x70]
jae 0x40b384
lea eax, [ebp + 0x70]
push ebx
push esi
push 3
push ebx
push ebx
push dword [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call dword [0x453018]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x40b44e
cmp dword [ebp + 0xa0], 0x10
mov ecx, dword [ebp + 0x8c]
jae 0x40b3b7
lea ecx, [ebp + 0x8c]
push ebx
push esi
push ebx
push ebx
push ebx
push ecx
push 0x4386cc
push eax
call dword [0x45305c]
mov esi, eax
cmp esi, ebx
je 0x40b445
push ebx
push ebx
push ebx
push ebx
push esi
call dword [0x452fdc]
push ebx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x3b78]
push eax
push 0x13
push esi
mov dword [ebp - 0x10], 0x100
call dword [0x453074]
test eax, eax
jne 0x40b404
push str.ERROR
jmp 0x40b45e
lea eax, [ebp + 0x3b78]
push eax
call fcn.0041f690
pop ecx
cmp eax, 0xc8
jne 0x40b3fd
cmp dword [ebp - 0x20], ebx
je 0x40b43e
lea eax, [ebp - 0x20]
push eax
push 0x3a97
lea eax, [ebp + 0xe0]
push eax
push esi
call dword [0x452f20]
mov eax, dword [ebp - 0x20]
mov byte [ebp + eax + 0xe0], bl
push esi
call dword [0x452ef8]
push dword [ebp - 0x24]
call dword [0x452ef8]
push dword [ebp - 0x14]
call dword [0x452ef8]
lea eax, [ebp + 0xe0]
push eax
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov ecx, esi
mov byte [esi], bl
call fcn.0040435c
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp]
call fcn.00403de3
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.00403de3
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.00403de3
push ebx
push edi
lea ecx, [ebp + 0xa8]
call fcn.00403de3
push ebx
push edi
lea ecx, [ebp + 0x70]
call fcn.00403de3
push ebx
push edi
lea ecx, [ebp + 0x8c]
call fcn.00403de3
push ebx
push edi
lea ecx, [ebp + 0x3c88]
call fcn.00403de3
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3c78]
xor ecx, ebp
call fcn.0041e03a
add ebp, 0x3c7c
leave
ret